<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:media="http://search.yahoo.com/mrss/"><channel><title><![CDATA[Tech-Com]]></title><description><![CDATA[A site devoted to the Tech, unRAID, Severs & Linux]]></description><link>https://tech-com.co.uk/</link><image><url>https://tech-com.co.uk/favicon.png</url><title>Tech-Com</title><link>https://tech-com.co.uk/</link></image><generator>Ghost 5.69</generator><lastBuildDate>Mon, 20 Apr 2026 22:45:46 GMT</lastBuildDate><atom:link href="https://tech-com.co.uk/rss/" rel="self" type="application/rss+xml"/><ttl>60</ttl><item><title><![CDATA[Super DAS]]></title><description><![CDATA[32 x HDD, 6 x Optical Drives.]]></description><link>https://tech-com.co.uk/super-das-2/</link><guid isPermaLink="false">664cca0f12f59e000159a092</guid><category><![CDATA[Hardware]]></category><category><![CDATA[unRAID]]></category><dc:creator><![CDATA[Mr Jay]]></dc:creator><pubDate>Wed, 22 May 2024 11:05:19 GMT</pubDate><media:content url="https://tech-com.co.uk/content/images/2024/05/20240521_142452-3.jpg" medium="image"/><content:encoded><![CDATA[<img src="https://tech-com.co.uk/content/images/2024/05/20240521_142452-3.jpg" alt="Super DAS"><p></p><p>As usual i&apos;ll explain why I constructed this tower and thought process. During my ongoing power saving observations I noticed both DAS units were drawing more power than they should have been for the number of disks in them, this is to be expected naturally as there will be loses in the conversion and cable resistance of power from the mains. I&apos;m using relatively high powered PSUs in 800watt range for a lower powered job, their efficiency drops off at the lower power ranges, I was burning almost 40 watts more per DAS than I needed, thats enough for another four drives per unit at least! Smaller rated PSUs are available but many aren&apos;t modular and it&apos;s another cost. This lead me to the thought of powering all the disks from one PSU which should put the average power consumption well within the PSUs efficient range. I had a brief look online for cases that would allow me to max out as many HDDs as possible, of course the easiest thing to do would be to buy a large HDD caddy plus rack, needless to say an extremely expensive business!</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tech-com.co.uk/content/images/2024/05/A5EM_131790012174302987ILciK1MpE4.jpeg" class="kg-image" alt="Super DAS" loading="lazy" width="668" height="605" srcset="https://tech-com.co.uk/content/images/size/w600/2024/05/A5EM_131790012174302987ILciK1MpE4.jpeg 600w, https://tech-com.co.uk/content/images/2024/05/A5EM_131790012174302987ILciK1MpE4.jpeg 668w"><figcaption><span style="white-space: pre-wrap;">These can easily go for &#xA3;2500 bare and are LOUD!</span></figcaption></figure><p>Another consideration I had was my old ARM machine (automated DVD ripper), while it works perfectly, the 1 min boot up process wasn&apos;t ideal lol, first world problems. I wanted something that was always ready plus it was yet another stack taking up space and wasn&apos;t power efficient. The original plan was always to add optical drives to the DAS units then run ARM in a VM/Container. </p><p>The last consideration was space, why go horizontally when I can go vertically? It then occurred to me why not stack two of the DAS units, bolt them together, and have one PSU powering the whole lot? This is what i decided to do!</p><p>Materials/Cost list...</p><ul><li>2 x Corsair Obsidian 750d - &#xA3;50 (roughly)</li><li>1 x 20 Pack M6 (6mm) x 12 mm nut/bolt set - &#xA3;6</li><li>1 x Corsair AX850 PSU - &#xA3;100 (it was bought for a gaming system in 2003) YMMV</li><li>1 x LSI 9201-16e SAS HBA card - &#xA3;50</li><li>2 x HP 487738-001 24-Port PCI Express x8 3Gb SAS Expander - &#xA3;10 each</li><li>2 x Mini SAS26P SFF-8088 to SFF-8088 External Cable - &#xA3;20 each</li><li>1 x 24 Pin PSU tester - &#xA3;5</li><li>10 x SATA to 4 SATA Splitter power cable 45cm - Two pack &#xA3;10</li><li>10 x 1 metre mini SAS 36P SFF-8087 to 4 SATA - &#xA3;9 each</li><li>2 x Molex to 5 x 3 Pin connector for fans - &#xA3;9 each</li><li>1 x Fan PVM Y splitter cable -&#xA3;3</li><li>2 x 60cm 4-pin Molex extension cable - &#xA3;6 each</li><li>2 x PCIe Riser, 3 in 1 1x to 16x PCI-E Riser Board - &#xA3;30 for six pack</li><li>4 x 140mm Corsair Red LED fans - &#xA3;25 pack of two</li><li>4 x 140mm Corsair Blue LED fans - &#xA3;25 pack of two</li><li>2 x 120mm Corsair White LED fans - &#xA3;28 pack of three</li><li>2 x Akasa PCI Slot Bracket for Mounting One/Two 120mm Fans&#xA0;- &#xA3;6</li><li>2 x I/O Shield Replacement Backplates - &#xA3;3 pack of two</li><li>12 x Corsair HDD upgrade cages, case comes with two - &#xA3;10 each</li></ul><p>Above is a list of everything required plus bare costs, I already had pretty much everything I needed already cases, fans, disks, disk cages from the other DAS units etc so my expenditure for this project was minimal. SAS cards and SAS cables plus the Molex extensions was all I needed. This just gives a rough idea if you wanted to build something similar. Total cost excluding drives &#xA3;767, way, way less than a bare metal 32 chassis would cost you! More adaptable and configurable, with slightly reduced convenience due to no hot swap trays bit a lot quieter than the jet fans they put in these chassis. Ambient noise is about the same as a small PC on idle. </p><p>If you read my previous articles on building the DAS units you&apos;ll see I used 8088 to SATA cables connected to 2 x 16e LSI HBA cards on Ultron. If I continued like this I would need more SAS-8088 to SATA cables for all the HDDs possible plus the optical drives, a total of eight would be required with an additional two for the stacks of 3 x optical drives. Apart from being cable heavy, 2 x 16e HBA cards only gives me 32 possible SATA connections, another HBA would be needed! The number of HBAs required was starting to get a little silly plus slot heavy using up three out eight of my precious PCIE slots on Ultron. Thankfully my friends at IBRACORP had a better suggestion...use a SAS Expander!<br></p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2024/05/275838_-468405-002-hp-24-bay-sas-expander-card-6g-sas-sata-3g-pcie-x8.jpeg" class="kg-image" alt="Super DAS" loading="lazy" width="2000" height="1443" srcset="https://tech-com.co.uk/content/images/size/w600/2024/05/275838_-468405-002-hp-24-bay-sas-expander-card-6g-sas-sata-3g-pcie-x8.jpeg 600w, https://tech-com.co.uk/content/images/size/w1000/2024/05/275838_-468405-002-hp-24-bay-sas-expander-card-6g-sas-sata-3g-pcie-x8.jpeg 1000w, https://tech-com.co.uk/content/images/size/w1600/2024/05/275838_-468405-002-hp-24-bay-sas-expander-card-6g-sas-sata-3g-pcie-x8.jpeg 1600w, https://tech-com.co.uk/content/images/2024/05/275838_-468405-002-hp-24-bay-sas-expander-card-6g-sas-sata-3g-pcie-x8.jpeg 2000w" sizes="(min-width: 720px) 720px"></figure><p><br>Whats is a SAS expander? A SAS expander will allow you split the ports of your HBA card even further, in my case 24 drives per 8088 connector on the HBA! Each cable can support four lanes of 12G, 6G, or 3G, and the standard maximum transfer speed for hard drives is around 135MB/s. This means that it will take many hard drives to saturate the bandwidth of a single cable. SSDs, on the other hand, are much faster and can saturate the bandwidth of a single cable with fewer drives. I choose the HP 24 port model as it gives me plenty of drive options (it will actually support 36 drives) runs at about 11 watts and is stupidly cheap on eBay coming at &#xA3;10-&#xA3;15! I bought two of these, one for primary service and one as a spare. These cards were produced over a decade ago specifically for use in HP systems so they&apos;re getting old now hence the spare. In the end I ended up using both as it simplified the number of cables running between the two cases and halved the bandwidth requirements on one card, not a major issue give HDD speeds. I&apos;ll pick up another two cards as spares in the future. It&apos;s important to upgrade the firmware to the latest version, the cards are driver less, once powered and connected to your HBA use the command  <code>lsscsi -g | grep HP</code> which will return the FW version, 2.10 being the latest and probably last ever revision. Instructions on updating the firmware <a href="https://serverfault.com/questions/631574/how-to-upgrade-the-firmware-of-hp-sas-expander-card-without-smart-array-controll?ref=tech-com.co.uk" rel="noreferrer">here</a>. The card has two ports you can use to internally (one system) link up to a HBA card, these can also be used for SATA drives increasing the possible number to 36. As my DAS is a separate/external unit i&apos;ll be using the external port. <strong>If you&apos;re buying one of these get the green PCB version not the yellow, the yellow can&apos;t be upgraded.</strong></p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2024/05/Screenshot-2024-05-22-at-12.02.17.png" class="kg-image" alt="Super DAS" loading="lazy" width="747" height="153" srcset="https://tech-com.co.uk/content/images/size/w600/2024/05/Screenshot-2024-05-22-at-12.02.17.png 600w, https://tech-com.co.uk/content/images/2024/05/Screenshot-2024-05-22-at-12.02.17.png 747w" sizes="(min-width: 720px) 720px"></figure><p>In an HP system they&apos;re normally powered by the PCI interface and rely on passive cooling provided by the HP enclosure. As we&apos;re using these in a non HP environment we&apos;ll have to cool and power the device without a motherboard, It&apos;s actually very easy to do! Thankfully the crypto mining industry has provided PCIE power adapters that many enthusiasts use in their mining rigs normally used with GPUs. I found a pack of six on Amazon for &#xA3;30, these have a MOLEX interface which was important for me, covered later in this article. </p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2024/05/71QIwpn4WPL._AC_SX569_.jpg" class="kg-image" alt="Super DAS" loading="lazy" width="569" height="462"></figure><p>As for cooling, I purchased a three pack Corsair 120mm white LED fans and mounted them below the SAS expanders using Akasa PCI slot brackets. This keeps the expander cool as they come with passive heatsinks only. Heatsink is on the underside of the card as normal so mount the fan beneath directing air on to the card.</p><figure class="kg-card kg-gallery-card kg-width-wide"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2024/05/20230321_114336.jpg" width="2000" height="1500" loading="lazy" alt="Super DAS" srcset="https://tech-com.co.uk/content/images/size/w600/2024/05/20230321_114336.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2024/05/20230321_114336.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2024/05/20230321_114336.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2024/05/20230321_114336.jpg 2400w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2024/05/71-t4VrA2xL._AC_SL1500_.jpg" width="1500" height="962" loading="lazy" alt="Super DAS" srcset="https://tech-com.co.uk/content/images/size/w600/2024/05/71-t4VrA2xL._AC_SL1500_.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2024/05/71-t4VrA2xL._AC_SL1500_.jpg 1000w, https://tech-com.co.uk/content/images/2024/05/71-t4VrA2xL._AC_SL1500_.jpg 1500w" sizes="(min-width: 720px) 720px"></div></div></div></figure><p>One critical aspect of this build is the PSU, as I&apos;m using only one, I need to power as many drives as possible plus the fans and expander cards. My old Corsair AX850 Gold PSU was recycled from DAS One as it had 5 x Peripheral/SATA outputs, 4 x would be used to power the HDDs/Optical Drives with 1 x used to power the expander cards and fans via MOLEX. As you may have worked out already, normally the standard SATA cable only comes with 4 x SATA outputs. I need 8 x per cable so the purchase of SATA to SATA splitters was required. It&apos;s extremely important to only use the cables supplied by your PSU manufacturer and good quality splitter cables. Not all the PSU cables have the same internal arrangement...DON&apos;T MIX N&apos;MATCH from different manufacturers! As a general rule, and depending on the power draw of your drives, 10 x drives per PSU SATA cable should be okay. I&apos;ll be using 8 HDDs per cable plus one or two optical drives powered by the same cable. I prefer doing it this way instead of powering the drives from MOLEX which can be a very dodgy thing to do, they have a habit of going on fire if you don&apos;t use good cabling! I&apos;d rather not take the risk as old saying goes &quot;<em>MOLEX to SATA...loose your data!</em>&quot; <a href="https://www.youtube.com/watch?v=TataDaUNEFc&amp;ref=tech-com.co.uk" rel="noreferrer">See this link for determining good cables if you must.</a></p><p>Moving on to building the stack, the Obsidian cases would have to be modified as they were not designed to be stacked with most of the work required on the upper case. As you know previous articles, the Obsidian case I used for DAS Two was a wreck bought from eBay for next to nothing, this was the natural choice chopping!  I started by cutting off the plastic legs at the rear before removing the front legs. On the Obsidian case range, the front legs are actually part of the front shroud so a smooth level cut is needed otherwise it will look terrible, cosmetics aren&apos;t really a consideration, functionality over form is.......but still. I purchased a small battery powered <a href="https://www.amazon.co.uk/gp/product/B0BWQYSJXP/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&amp;psc=1&amp;ref=tech-com.co.uk" rel="noreferrer">Dremel kit for the cutting and rounding off jobs</a>. Remember to grind off any sharp areas!</p><figure class="kg-card kg-gallery-card kg-width-wide kg-card-hascaption"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2024/05/20240119_092211.jpg" width="2000" height="1500" loading="lazy" alt="Super DAS" srcset="https://tech-com.co.uk/content/images/size/w600/2024/05/20240119_092211.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2024/05/20240119_092211.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2024/05/20240119_092211.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2024/05/20240119_092211.jpg 2400w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2024/05/20240521_220536.jpg" width="2000" height="1500" loading="lazy" alt="Super DAS" srcset="https://tech-com.co.uk/content/images/size/w600/2024/05/20240521_220536.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2024/05/20240521_220536.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2024/05/20240521_220536.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2024/05/20240521_220536.jpg 2400w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2024/05/20240521_220545.jpg" width="2000" height="1500" loading="lazy" alt="Super DAS" srcset="https://tech-com.co.uk/content/images/size/w600/2024/05/20240521_220545.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2024/05/20240521_220545.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2024/05/20240521_220545.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2024/05/20240521_220545.jpg 2400w" sizes="(min-width: 720px) 720px"></div></div></div><figcaption><p><span style="white-space: pre-wrap;">1. Rear legs before chopping 2. Forward legs chopped off front shroud 3. How the shroud looked perviously </span></p></figcaption></figure><p>Once chopped and the edges smoothed, I placed one on top of the other to start drilling holes for the bolts. Tape the cases together using duct tape for this part to ensure the holes match up. It was originally intended to use 8 x bolts spaced evenly around the top/base of the case, alas this wasn&apos;t possible, while there was plenty of space on the left side of the case, the right hand side is very limited and access for drilling was a nightmare! I ended up taking the laissez-faire approach drilling/bolting where it was easiest. Next, a cable channel was cut in the front/right side of the tower. I did this using the Dremel tool, make damn sure the edges are smooth, if not it will tear the power/data cables to shreds as this part of the case is metal. in retrospect I should have drilled the cable channel in the more towards the centre as some of the power cables are a wee bit tight. Tighten up the bolts and we&apos;re now ready to install all the gear. </p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tech-com.co.uk/content/images/2024/05/20240119_120335-1.jpg" class="kg-image" alt="Super DAS" loading="lazy" width="2000" height="1500" srcset="https://tech-com.co.uk/content/images/size/w600/2024/05/20240119_120335-1.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2024/05/20240119_120335-1.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2024/05/20240119_120335-1.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2024/05/20240119_120335-1.jpg 2400w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Bolt holes drilled along with cable channel in the bottom left of the image</span></figcaption></figure><figure class="kg-card kg-gallery-card kg-width-wide kg-card-hascaption"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2024/05/20240521_220347.jpg" width="2000" height="1500" loading="lazy" alt="Super DAS" srcset="https://tech-com.co.uk/content/images/size/w600/2024/05/20240521_220347.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2024/05/20240521_220347.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2024/05/20240521_220347.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2024/05/20240521_220347.jpg 2400w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2024/05/20240521_220355.jpg" width="2000" height="1500" loading="lazy" alt="Super DAS" srcset="https://tech-com.co.uk/content/images/size/w600/2024/05/20240521_220355.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2024/05/20240521_220355.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2024/05/20240521_220355.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2024/05/20240521_220355.jpg 2400w" sizes="(min-width: 720px) 720px"></div></div></div><figcaption><p><span style="white-space: pre-wrap;">Nut/Bolts added</span></p></figcaption></figure><p>Okay so now it&apos;s time to add the gear. I have the PSU installed in the upper case as this is closet to the middle of the tower, best place for cable length. Install the expander cards in the PCI slots along with the PCI MOLEX adapters and add the 120mm fan plus brackets underneath. Fan layout is as follows...</p><p>Upper Case Section</p><ul><li>2 x 140mm Corsair Red LED fans - Extract</li><li>2 x 140mm Corsair Blue LED fans at the case front - Intake</li><li>1 x 140mm Corsair Red LED fan rear of the case - Extract</li><li>1 x 120mm Corsair White LED fan cooling the expander</li></ul><p>Lower Case Section</p><ul><li>2 x 140mm Corsair Blue LED fans at the case front - Intake</li><li>1 x 140mm Corsair Red LED fan rear of the case - Extract</li><li>1 x 120mm Corsair White LED fan cooling the expander</li></ul><figure class="kg-card kg-gallery-card kg-width-wide kg-card-hascaption"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2024/05/20240128_131314.jpg" width="2000" height="2667" loading="lazy" alt="Super DAS" srcset="https://tech-com.co.uk/content/images/size/w600/2024/05/20240128_131314.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2024/05/20240128_131314.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2024/05/20240128_131314.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2024/05/20240128_131314.jpg 2400w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2024/05/20240516_141807-1.jpg" width="2000" height="1500" loading="lazy" alt="Super DAS" srcset="https://tech-com.co.uk/content/images/size/w600/2024/05/20240516_141807-1.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2024/05/20240516_141807-1.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2024/05/20240516_141807-1.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2024/05/20240516_141807-1.jpg 2400w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2024/05/20240516_141751-1.jpg" width="2000" height="1500" loading="lazy" alt="Super DAS" srcset="https://tech-com.co.uk/content/images/size/w600/2024/05/20240516_141751-1.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2024/05/20240516_141751-1.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2024/05/20240516_141751-1.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2024/05/20240516_141751-1.jpg 2400w" sizes="(min-width: 720px) 720px"></div></div></div><figcaption><p><span style="white-space: pre-wrap;">Fan arrangement, this is from a previous DAS incarnation, exactly the same layout.</span></p></figcaption></figure><p>The lower case is exactly the same layout minus to two top red fans extracting. Depending on where you cut the cable channel, it&apos;s possible to add fans to the top of the Lower case in a similar fashion as the Upper case pushing air upwards. I haven&apos;t done this as yet as I&apos;m not convinced its required. As there&apos;s no motherboard, theres going to be a gap between the MOLEX PCI board and the case. You may want add some thick non conductive packing here such as sticky foam strips. I haven&apos;t done this yet but it is planned.</p><p>Cabling wise we&apos;ll start with the Upper case. Connect the MOLEX Peripheral cable to the PSU then to the Upper case expander PCI board and use a MOLEX to fan splitter to connect up the fans. As there&apos;s six fans in this section you&apos;ll need to use a Y Splitter for two of them, I choose to put the rear and PCI fan on this splitter. Add two SATA peripheral cables to the PSU, then 2 x SATA to 4 x SATA splitters on each, this will be enough for 16 drives. Now add the Mini SAS 36P SFF-8087 to 4 SATA cables connecting the sas expander card to the drives. I found the easiest option is to build a stack of 8 x drives in each of cages, attach the power/data cables then slide the cages into the trackways and screw into place. Do the forward stack first then rear stack. Be careful when installing the drives in the Upper section, make sure the drive sleds are secure and the cages are screwed together. If you drop a drive or the whole stack from this height it&apos;s not going to be good!</p><figure class="kg-card kg-gallery-card kg-width-wide"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2024/05/61k4UttF5qL._SL1500_.jpg" width="1500" height="1500" loading="lazy" alt="Super DAS" srcset="https://tech-com.co.uk/content/images/size/w600/2024/05/61k4UttF5qL._SL1500_.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2024/05/61k4UttF5qL._SL1500_.jpg 1000w, https://tech-com.co.uk/content/images/2024/05/61k4UttF5qL._SL1500_.jpg 1500w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2024/05/61a8BZv-vDL._AC_SL1500_.jpg" width="1474" height="1156" loading="lazy" alt="Super DAS" srcset="https://tech-com.co.uk/content/images/size/w600/2024/05/61a8BZv-vDL._AC_SL1500_.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2024/05/61a8BZv-vDL._AC_SL1500_.jpg 1000w, https://tech-com.co.uk/content/images/2024/05/61a8BZv-vDL._AC_SL1500_.jpg 1474w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2024/05/61pLBUDhl7L._AC_SL1500_.jpg" width="1356" height="1266" loading="lazy" alt="Super DAS" srcset="https://tech-com.co.uk/content/images/size/w600/2024/05/61pLBUDhl7L._AC_SL1500_.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2024/05/61pLBUDhl7L._AC_SL1500_.jpg 1000w, https://tech-com.co.uk/content/images/2024/05/61pLBUDhl7L._AC_SL1500_.jpg 1356w" sizes="(min-width: 720px) 720px"></div></div></div></figure><p></p><p>Run two SATA Peripheral cables down the cable channel to the Lower case and run down both MOLEX extension cables. Connect up everything exactly the same as above. There&apos;s only 4 x fans in this section so only 1 x MOLEX 5 x fan splitter required.</p><p>As for the optical drives, simply add some more SATA breakout cables for power and connect up to expander by using the spare 8087 to SATA cables. I have SATA power coming from the rear HDD stack as these are backup drives which are not spun up 24/7 and NOT part of the array. All my array drives/working (archive/download/media cache) drives are in the forward stacks in the Upper &amp; Lower sections primarily as there&apos;s better cooling available and these drives are mostly on 24/7.</p><p>Don&apos;t forget to install the blank I/O shield as it will improve airflow. Lower case PSU area is empty, I&apos;ve sealed the rear off using black duct tape on my build as PSU blank plates don&apos;t seem to be a thin? Lastly, install the 24 pin power cable to the PSU adding the PSU tester to the end. This will let you turn the PSU on using the switch at the rear as there&apos;s no motherboard in the DAS. It&apos;s now time to connect the 2 x Mini SAS26P SFF-8088 to SFF-8088 external cables between your expanders and your HBA card in the main system.</p><p>Turn the PSU on and start Unraid (or other linux system)! </p><p>Open up an SSH connection and run <code>lsscsi -g</code> </p><p>All going well everything should be detected.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tech-com.co.uk/content/images/2024/05/Screenshot-2024-05-21-at-23.16.09.png" class="kg-image" alt="Super DAS" loading="lazy" width="662" height="719" srcset="https://tech-com.co.uk/content/images/size/w600/2024/05/Screenshot-2024-05-21-at-23.16.09.png 600w, https://tech-com.co.uk/content/images/2024/05/Screenshot-2024-05-21-at-23.16.09.png 662w"><figcaption><span style="white-space: pre-wrap;">Cool eh? For the bean counters I&apos;m not using 32 HDDs...yet :-)</span></figcaption></figure><p>You&apos;ll notice at the very top of the list are two SSDs. These are on a separate HBA internal card on Ultron (another article on that later) which is designed for SSD speeds, don&apos;t be tempted to use SSDs on these HP expanders as they&apos;re not fast enough, it&apos;s a waste!</p><p>The optical drive use will be covered in another blog post.</p><figure class="kg-card kg-gallery-card kg-width-wide kg-card-hascaption"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2024/05/20240516_141751.jpg" width="2000" height="1500" loading="lazy" alt="Super DAS" srcset="https://tech-com.co.uk/content/images/size/w600/2024/05/20240516_141751.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2024/05/20240516_141751.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2024/05/20240516_141751.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2024/05/20240516_141751.jpg 2400w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2024/05/20240516_141807.jpg" width="2000" height="1500" loading="lazy" alt="Super DAS" srcset="https://tech-com.co.uk/content/images/size/w600/2024/05/20240516_141807.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2024/05/20240516_141807.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2024/05/20240516_141807.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2024/05/20240516_141807.jpg 2400w" sizes="(min-width: 720px) 720px"></div></div></div><figcaption><p><span style="white-space: pre-wrap;">1. Upper section &amp; 2. Lower Section many drives have been added since these pics were taken including cable routing</span></p></figcaption></figure><p></p><p>Some notes on this build....</p><ol><li>The Super DAS in my case is located in the attic and stands proud between two narrowish cross beams which will prevent it from tipping over if accidentally knocked. </li><li>Filled out with multiple drives it&apos;s <strong>HEAVY</strong>..beware! </li><li>As mentioned earlier its possible to install fans on the top of the Lower case.</li><li>Rear stack drives will always be hotter than drives in the forward stack, it is recommend to put heavy use drives in the forward stack.</li><li>Optical drives are an option obviously, you could add more HDDs in the 5,25 bay using a caddy.</li><li>The rear stack is capable of 4 x 3 drive cages/12 drives if desired! I&apos;ve went with 8 x drives per stack as it&apos;s easier cabling wise.</li><li>DVD-RW are drives purely for ripping DVDs en-masse, you could add Blu-Rays if you wanted. No experience with writing disks in this setup, no reason why you couldn&apos;t. </li><li>It&apos;s possible to add another PSU to the Lower case for even more drives!</li><li>There&apos;s space for two PCI SAS expanders/120mm fans per case.</li><li>Obsidian case comes with 4 x SSD trays down the right hand side, with enough power available and appropriate expander you could add SSDs. I use Ultron for hosting SSDs as there&apos;s plenty of space in it&apos;s case with no expensive expander required.</li><li>All the original front I/O connectors are still present coiled up and stowed out of the way for future use if needed.</li></ol>]]></content:encoded></item><item><title><![CDATA[Tasmota Wifi Bulbs]]></title><description><![CDATA[<p>While ordering some more PIRs for the attic plus a manual switch from <a href="https://www.mylocalbytes.com/?ref=tech-com.co.uk">Localbytes</a> I decided to purchase some wifi bulbs to try them out on a whim, plus I got free postage :-)</p><figure class="kg-card kg-gallery-card kg-width-wide"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/09/20220921_172216.jpg" width="2000" height="2667" loading="lazy" alt srcset="https://tech-com.co.uk/content/images/size/w600/2022/09/20220921_172216.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/09/20220921_172216.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/09/20220921_172216.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/09/20220921_172216.jpg 2400w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/09/20220921_172206.jpg" width="2000" height="2667" loading="lazy" alt srcset="https://tech-com.co.uk/content/images/size/w600/2022/09/20220921_172206.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/09/20220921_172206.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/09/20220921_172206.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/09/20220921_172206.jpg 2400w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/09/20220921_172200.jpg" width="2000" height="2667" loading="lazy" alt srcset="https://tech-com.co.uk/content/images/size/w600/2022/09/20220921_172200.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/09/20220921_172200.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/09/20220921_172200.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/09/20220921_172200.jpg 2400w" sizes="(min-width: 720px) 720px"></div></div><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/09/20220921_172156.jpg" width="2000" height="2667" loading="lazy" alt srcset="https://tech-com.co.uk/content/images/size/w600/2022/09/20220921_172156.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/09/20220921_172156.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/09/20220921_172156.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/09/20220921_172156.jpg 2400w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/09/20220921_172151.jpg" width="2000" height="2667" loading="lazy" alt srcset="https://tech-com.co.uk/content/images/size/w600/2022/09/20220921_172151.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/09/20220921_172151.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/09/20220921_172151.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/09/20220921_172151.jpg 2400w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/09/20220921_172144.jpg" width="2000" height="2667" loading="lazy" alt srcset="https://tech-com.co.uk/content/images/size/w600/2022/09/20220921_172144.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/09/20220921_172144.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/09/20220921_172144.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/09/20220921_172144.jpg 2400w" sizes="(min-width: 720px) 720px"></div></div></div></figure><p><br>Smart lighting isn&apos;t something I was into as yet, mainly because the lights are</p>]]></description><link>https://tech-com.co.uk/tasmota-wifi-bulbs/</link><guid isPermaLink="false">632b402c83e8920001bd2b65</guid><dc:creator><![CDATA[Mr Jay]]></dc:creator><pubDate>Wed, 21 Sep 2022 17:16:57 GMT</pubDate><media:content url="https://tech-com.co.uk/content/images/2022/09/20220921_175637.jpg" medium="image"/><content:encoded><![CDATA[<img src="https://tech-com.co.uk/content/images/2022/09/20220921_175637.jpg" alt="Tasmota Wifi Bulbs"><p>While ordering some more PIRs for the attic plus a manual switch from <a href="https://www.mylocalbytes.com/?ref=tech-com.co.uk">Localbytes</a> I decided to purchase some wifi bulbs to try them out on a whim, plus I got free postage :-)</p><figure class="kg-card kg-gallery-card kg-width-wide"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/09/20220921_172216.jpg" width="2000" height="2667" loading="lazy" alt="Tasmota Wifi Bulbs" srcset="https://tech-com.co.uk/content/images/size/w600/2022/09/20220921_172216.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/09/20220921_172216.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/09/20220921_172216.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/09/20220921_172216.jpg 2400w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/09/20220921_172206.jpg" width="2000" height="2667" loading="lazy" alt="Tasmota Wifi Bulbs" srcset="https://tech-com.co.uk/content/images/size/w600/2022/09/20220921_172206.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/09/20220921_172206.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/09/20220921_172206.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/09/20220921_172206.jpg 2400w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/09/20220921_172200.jpg" width="2000" height="2667" loading="lazy" alt="Tasmota Wifi Bulbs" srcset="https://tech-com.co.uk/content/images/size/w600/2022/09/20220921_172200.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/09/20220921_172200.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/09/20220921_172200.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/09/20220921_172200.jpg 2400w" sizes="(min-width: 720px) 720px"></div></div><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/09/20220921_172156.jpg" width="2000" height="2667" loading="lazy" alt="Tasmota Wifi Bulbs" srcset="https://tech-com.co.uk/content/images/size/w600/2022/09/20220921_172156.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/09/20220921_172156.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/09/20220921_172156.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/09/20220921_172156.jpg 2400w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/09/20220921_172151.jpg" width="2000" height="2667" loading="lazy" alt="Tasmota Wifi Bulbs" srcset="https://tech-com.co.uk/content/images/size/w600/2022/09/20220921_172151.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/09/20220921_172151.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/09/20220921_172151.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/09/20220921_172151.jpg 2400w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/09/20220921_172144.jpg" width="2000" height="2667" loading="lazy" alt="Tasmota Wifi Bulbs" srcset="https://tech-com.co.uk/content/images/size/w600/2022/09/20220921_172144.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/09/20220921_172144.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/09/20220921_172144.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/09/20220921_172144.jpg 2400w" sizes="(min-width: 720px) 720px"></div></div></div></figure><p><br>Smart lighting isn&apos;t something I was into as yet, mainly because the lights are hardly used here for various reasons...that&apos;s changed now after trying these little things out! Needless to say I&apos;m rather impressed. They come in either E27 or B22 (converters for smaller sockets are available on Amazon) fittings at &#xA3;12.00 and draw 9 watts. Installation was a breeze, plug it in and turn it on! Connect to the bulb via wifi and enter the HA/MQTT details same as the Tasmota Smart Plugs....nothing else required! The bulbs colour and temperature settings are instantly accessible just by clicking on the dashboard icon. There&apos;s even some built in effects.<br><br></p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/09/xzsdsd.PNG" class="kg-image" alt="Tasmota Wifi Bulbs" loading="lazy" width="408" height="239"></figure><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/09/dsdsds.PNG" class="kg-image" alt="Tasmota Wifi Bulbs" loading="lazy" width="430" height="759"></figure><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/09/Capture.PNG" class="kg-image" alt="Tasmota Wifi Bulbs" loading="lazy" width="399" height="517"></figure><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tech-com.co.uk/content/images/2022/09/efedfdef.PNG" class="kg-image" alt="Tasmota Wifi Bulbs" loading="lazy" width="456" height="749"><figcaption>Bulbs admin page</figcaption></figure>]]></content:encoded></item><item><title><![CDATA[Home Assistant - Zigbee]]></title><description><![CDATA[<p></p><p>In this post I&apos;ll briefly cover the installation of my Zigbee network in HA which is only the beginning. For years I was always dreaming of the possibility of temperature sensors in each room, wireless and done cheaply. Zigbee as been around for a long time but I&</p>]]></description><link>https://tech-com.co.uk/home/</link><guid isPermaLink="false">62e0198d0444d10001710a36</guid><dc:creator><![CDATA[Mr Jay]]></dc:creator><pubDate>Tue, 26 Jul 2022 19:16:33 GMT</pubDate><media:content url="https://tech-com.co.uk/content/images/2022/07/temp.PNG" medium="image"/><content:encoded><![CDATA[<img src="https://tech-com.co.uk/content/images/2022/07/temp.PNG" alt="Home Assistant - Zigbee"><p></p><p>In this post I&apos;ll briefly cover the installation of my Zigbee network in HA which is only the beginning. For years I was always dreaming of the possibility of temperature sensors in each room, wireless and done cheaply. Zigbee as been around for a long time but I&apos;ve been a late adopter due to not being as seamless as I would have liked in previous years. Now another issue with Zigbee, as a wireless protocol, and in this house is the terrible attenuation caused by the limestone walls. Zigbee will require routers throughout the property which usually come in the form of light bulbs or switches. Neither was an acceptable solution in this place due to lack of neutral wire and that main lights are rarely used. It should be noted Zigbee works on the 2.4Ghz range which is the same as WiFi operating frequencies...roughly WiFi Ch 6. I had to put the WiFi channels on 1 &amp; 13 see <a href="https://www.metageek.com/training/resources/zigbee-wifi-coexistence/?ref=tech-com.co.uk">here</a> for more info. &#xA0;Thankfully Sonoff have come out with a range of exceptionally cheap and very good coordinators/routers/sensors.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tech-com.co.uk/content/images/2022/07/ZigBee-Channels.png" class="kg-image" alt="Home Assistant - Zigbee" loading="lazy" width="693" height="123" srcset="https://tech-com.co.uk/content/images/size/w600/2022/07/ZigBee-Channels.png 600w, https://tech-com.co.uk/content/images/2022/07/ZigBee-Channels.png 693w"><figcaption>WiFi rear image, Zigbee channels in the red</figcaption></figure><p><br><br>Coordinator/Router<br><br>For every installation you&apos;ll need a Coordinator attached to Home Assistant which is usually via USB. The best they have so far is the 3.0 USB Dongle which can be used as a Coordinator or Router simply by flashing the firmware. It is highly configurable and will also do +20db plus other options if so required. I bought four of them, one as a Coordinator and three routers, Coordinator is plug n play with HA using the ZHA integration. The other three were flashed into router mode using PTIO firmware <a href="https://www.youtube.com/watch?v=4S_c_m6z-RY&amp;t=673s&amp;ref=tech-com.co.uk">(see digblurs YT video)</a>. Seen has HA runs in a VM on Ultron all I had to do was plug it in via a USB cable and pass it through to the VM. I bought a long extension cable to run it into the apex of the attic. Added the ZHA integration in HA...that was it.<br><br>Now had the challenge of getting a Zigbee signal downstairs on the ground floor, the first floor wasn&apos;t really an issue as the ceilings are all plaster work and so getting a signal from the attic wasn&apos;t too hard. The ground floor is another matter though and also which ever router was down there would need a strong signal to get through the walls, basically the same issue as the WiFi APs. This is where these dongles are great with the option of the increased signal capability.<br><br></p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/07/tq7zaw0keun71.webp" class="kg-image" alt="Home Assistant - Zigbee" loading="lazy" width="800" height="526" srcset="https://tech-com.co.uk/content/images/size/w600/2022/07/tq7zaw0keun71.webp 600w, https://tech-com.co.uk/content/images/2022/07/tq7zaw0keun71.webp 800w" sizes="(min-width: 720px) 720px"></figure><p>The solution was to place one in a USB wall plug (charging port in the upwards direction) on the first floor, one almost vertically beneath it on the ground floor and one additional router in the kitchen where there&apos;s a few sensors.</p><p></p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tech-com.co.uk/content/images/2022/07/New_Bitmap_Image.jpg" class="kg-image" alt="Home Assistant - Zigbee" loading="lazy" width="1057" height="492" srcset="https://tech-com.co.uk/content/images/size/w600/2022/07/New_Bitmap_Image.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/07/New_Bitmap_Image.jpg 1000w, https://tech-com.co.uk/content/images/2022/07/New_Bitmap_Image.jpg 1057w" sizes="(min-width: 720px) 720px"><figcaption>A crude depiction of the house/router layout, note since this was made the proposed router was installed</figcaption></figure><figure class="kg-card kg-gallery-card kg-width-wide"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/07/20220613_131802-1.jpg" width="2000" height="2667" loading="lazy" alt="Home Assistant - Zigbee" srcset="https://tech-com.co.uk/content/images/size/w600/2022/07/20220613_131802-1.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/07/20220613_131802-1.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/07/20220613_131802-1.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/07/20220613_131802-1.jpg 2400w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/07/20220726_190612.jpg" width="2000" height="2667" loading="lazy" alt="Home Assistant - Zigbee" srcset="https://tech-com.co.uk/content/images/size/w600/2022/07/20220726_190612.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/07/20220726_190612.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/07/20220726_190612.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/07/20220726_190612.jpg 2400w" sizes="(min-width: 720px) 720px"></div></div></div></figure><p><br><br><strong>Sensors</strong><br><br>I purchased 12 x Sonoff Thermometers, one for each room which gives both humidity and temperature readings. 5 x Sonoff Door Sensors, two for the front and rear doors plus three for the fridge/freezer doors which are routinely being left open! Additionally 3 x Sonoff PIR sensors for the attic which would control a bank of LEDs set on a automation timer with HA. Once the routers were in place installation is simple, place the sensor into pairing mode and scan for new devices via the android HA app with ZHA integration. Once discovered..name them...it&apos;s that simple.</p><figure class="kg-card kg-gallery-card kg-width-wide"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/07/sonoff-snzb-02-sonde-de-temperature-et-d-humidite-zigbee-compatible-zigate-conbee2-et-homey-1.jpg" width="800" height="800" loading="lazy" alt="Home Assistant - Zigbee" srcset="https://tech-com.co.uk/content/images/size/w600/2022/07/sonoff-snzb-02-sonde-de-temperature-et-d-humidite-zigbee-compatible-zigate-conbee2-et-homey-1.jpg 600w, https://tech-com.co.uk/content/images/2022/07/sonoff-snzb-02-sonde-de-temperature-et-d-humidite-zigbee-compatible-zigate-conbee2-et-homey-1.jpg 800w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/07/sonoff-zigbee-30-doorwindow-sensor-1.jpg" width="800" height="800" loading="lazy" alt="Home Assistant - Zigbee" srcset="https://tech-com.co.uk/content/images/size/w600/2022/07/sonoff-zigbee-30-doorwindow-sensor-1.jpg 600w, https://tech-com.co.uk/content/images/2022/07/sonoff-zigbee-30-doorwindow-sensor-1.jpg 800w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/07/SON-KIE-PIR-ZB_1-768x768-1.jpg" width="768" height="768" loading="lazy" alt="Home Assistant - Zigbee" srcset="https://tech-com.co.uk/content/images/size/w600/2022/07/SON-KIE-PIR-ZB_1-768x768-1.jpg 600w, https://tech-com.co.uk/content/images/2022/07/SON-KIE-PIR-ZB_1-768x768-1.jpg 768w" sizes="(min-width: 720px) 720px"></div></div><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/07/20220608_124705-1.jpg" width="2000" height="1500" loading="lazy" alt="Home Assistant - Zigbee" srcset="https://tech-com.co.uk/content/images/size/w600/2022/07/20220608_124705-1.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/07/20220608_124705-1.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/07/20220608_124705-1.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/07/20220608_124705-1.jpg 2400w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/07/20220726_194830.jpg" width="2000" height="2667" loading="lazy" alt="Home Assistant - Zigbee" srcset="https://tech-com.co.uk/content/images/size/w600/2022/07/20220726_194830.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/07/20220726_194830.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/07/20220726_194830.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/07/20220726_194830.jpg 2400w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/07/20220726_194852.jpg" width="2000" height="2667" loading="lazy" alt="Home Assistant - Zigbee" srcset="https://tech-com.co.uk/content/images/size/w600/2022/07/20220726_194852.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/07/20220726_194852.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/07/20220726_194852.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/07/20220726_194852.jpg 2400w" sizes="(min-width: 720px) 720px"></div></div></div></figure><p><br><br><strong>Home Assistant</strong></p><p>Thankfully due to the simple nature of these devices there&apos;s not that much to do in HA. I currently have a page for Temp/Humidity and one for Doors plus a few are tied with automations. <br></p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/07/temp-one.PNG" class="kg-image" alt="Home Assistant - Zigbee" loading="lazy" width="821" height="1117" srcset="https://tech-com.co.uk/content/images/size/w600/2022/07/temp-one.PNG 600w, https://tech-com.co.uk/content/images/2022/07/temp-one.PNG 821w" sizes="(min-width: 720px) 720px"></figure><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tech-com.co.uk/content/images/2022/07/temp-two.PNG" class="kg-image" alt="Home Assistant - Zigbee" loading="lazy" width="826" height="808" srcset="https://tech-com.co.uk/content/images/size/w600/2022/07/temp-two.PNG 600w, https://tech-com.co.uk/content/images/2022/07/temp-two.PNG 826w" sizes="(min-width: 720px) 720px"><figcaption>Front Door lower right is a Ring device</figcaption></figure><p><br>As I mentioned earlier I have 3 x PIR sensors for the attic which control banks of LED lights set on a 10 minute timer, 5 x Door sensors for the house&apos;s doors and also the fridge/freezer. If any one door is opened for a predetermined time and within specific hours, HA will send notifications to any of the Android clients or even my Discord channel. Monitoring pages are a simple case of adding some entities or mini graph cards. Below is an example of the code for the mini graphs (the dual line graphs) which can be obtained via <a href="https://hacs.xyz/?ref=tech-com.co.uk">HACS.</a><br></p><!--kg-card-begin: markdown--><pre><code class="language-javascript">type: custom:mini-graph-card
entities:
  - entity: sensor.back_bedroom_thermometer_temperature
    show_state: true
    show_graph: false
  - entity: sensor.back_bedroom_thermometer_humidity
    show_state: true
    show_graph: false
  - entity: sensor.back_bedroom_thermometer_temperature
    color: green
    show_state: false
    name: Temperature
  - entity: sensor.back_bedroom_thermometer_humidity
    color: orange
    show_state: false
    name: Humidity
name: Rear Bedroom
hours_to_show: 24
points_per_hour: 30
show:
  name: true
  legend: true
  icon: false
  labels: true


</code></pre>
<!--kg-card-end: markdown--><p><strong>Automations</strong></p><p>For the attic lights it&apos;s a breeze, just select the motion activated light from the blueprints and pick the activation device, then pick the smart switch the lights are connected too. For the door sensors its simply a &quot;Call Service&quot; once the trigger has be activated, which in this case is one of the sensors being opened for more than 5 minutes with a specific time period. Fridge/freezer is all day for obvious reasons where as the front and rear doors are during the hours of darkness.<br></p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/07/Screenshot_20220726-200859_PhotoSync.jpg" class="kg-image" alt="Home Assistant - Zigbee" loading="lazy" width="1094" height="1730" srcset="https://tech-com.co.uk/content/images/size/w600/2022/07/Screenshot_20220726-200859_PhotoSync.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/07/Screenshot_20220726-200859_PhotoSync.jpg 1000w, https://tech-com.co.uk/content/images/2022/07/Screenshot_20220726-200859_PhotoSync.jpg 1094w" sizes="(min-width: 720px) 720px"></figure><p>Equipment List eBay</p><!--kg-card-begin: markdown--><ul>
<li>4 x Sonoff USB 3.O Dongles &#xA3;16 each</li>
<li>12 x Sonoff Termometers &#xA3;9 each</li>
<li>5 x Sonoff Door Sensors &#xA3;9 each</li>
<li>3 x Sonoff PIR Senors &#xA3;9 each</li>
</ul>
<!--kg-card-end: markdown-->]]></content:encoded></item><item><title><![CDATA[DAS Two]]></title><description><![CDATA[<p></p><p>I recently decided it was time to start building DAS Two as I&apos;ve been collecting parts over the last few months on the cheap from eBay. At this time I don&apos;t have any new disks to add to the array however I split the current 16</p>]]></description><link>https://tech-com.co.uk/das-two/</link><guid isPermaLink="false">62dfdc410444d10001710908</guid><category><![CDATA[Hardware]]></category><category><![CDATA[unRAID]]></category><dc:creator><![CDATA[Mr Jay]]></dc:creator><pubDate>Tue, 26 Jul 2022 13:23:11 GMT</pubDate><media:content url="https://tech-com.co.uk/content/images/2022/07/20220726_124801.jpg" medium="image"/><content:encoded><![CDATA[<img src="https://tech-com.co.uk/content/images/2022/07/20220726_124801.jpg" alt="DAS Two"><p></p><p>I recently decided it was time to start building DAS Two as I&apos;ve been collecting parts over the last few months on the cheap from eBay. At this time I don&apos;t have any new disks to add to the array however I split the current 16 disks between the two DAS units. Why am I doing this? Well the aft stack in DAS One runs about 5C hotter than the front stack of drives, I still haven&apos;t got round making fan towers for the after stack, and given it&apos;s the summer, I can easily fix that issue.</p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/07/20220725_085103-1.jpg" class="kg-image" alt="DAS Two" loading="lazy" width="2000" height="2667" srcset="https://tech-com.co.uk/content/images/size/w600/2022/07/20220725_085103-1.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/07/20220725_085103-1.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/07/20220725_085103-1.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/07/20220725_085103-1.jpg 2400w" sizes="(min-width: 720px) 720px"></figure><p><br>Back in May I came across another Corsair Obsidian 750d case on eBay for &#xA3;30, it was mostly complete but had a 5.25 plate missing and also missing dust filters. Given these case&apos;s are getting old I wanted to snap up another one to match DAS One. Once delivered it also turned out the the forward plastic face plate was broken, easily fixed with some Gorilla Glue! For the build would need another PSU, Corsair LED fans to match DAS One plus a Molex fan splitter. I also picked up another LSI 16e card for &#xA3;50 although it won&apos;t needed at this time. No additional SAS-SATA cables were required as I just took two for the aft stack out of DAS One.<br><br>PSU in the form of an RM850 was sourced off eBay for just &#xA3;47 and also a 750d Airlifter kit for &#xA3;25, everything else came from Amazon. Assembly was exactly the same as <a href="https://tech-com.co.uk/das-one/">DAS One.</a> </p><ol><li>1 x Corsair RM850 850 Watt 80 PLUS Gold &#xA0;&#xA3;47</li><li>1 x Corsair 750d Airfliter Kit &#xA3;25</li><li>1 x Corsair Obsidian 750d case &#xA3;30</li><li>1 x 24 Pin PSU tester &#xA3;5</li><li>2 x SATA to 4 SATA Splitter power cable &#xA3;10 (not used atm)</li><li>1 x Molex to 5 x 3 Pin connector for fans &#xA3;10</li><li>2 x 140mm Corsair Red LED fans &#xA3;32</li><li>2 x 140mm Corsair Blue LED fans &#xA3;22</li></ol><p></p><figure class="kg-card kg-gallery-card kg-width-wide"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/07/20220725_085120.jpg" width="2000" height="1500" loading="lazy" alt="DAS Two" srcset="https://tech-com.co.uk/content/images/size/w600/2022/07/20220725_085120.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/07/20220725_085120.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/07/20220725_085120.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/07/20220725_085120.jpg 2400w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/07/20220726_103325.jpg" width="2000" height="1500" loading="lazy" alt="DAS Two" srcset="https://tech-com.co.uk/content/images/size/w600/2022/07/20220726_103325.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/07/20220726_103325.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/07/20220726_103325.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/07/20220726_103325.jpg 2400w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/07/20220726_101250.jpg" width="2000" height="1500" loading="lazy" alt="DAS Two" srcset="https://tech-com.co.uk/content/images/size/w600/2022/07/20220726_101250.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/07/20220726_101250.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/07/20220726_101250.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/07/20220726_101250.jpg 2400w" sizes="(min-width: 720px) 720px"></div></div></div></figure><p></p><p>Okay so I now have 8 disks per DAS, over the coming year I&apos;ll slowly start to replace the 6TB Reds in DAS One with 18Tb drives, the old drives will then be moved in DAS Two acting as back up drives for all data either in the same array or in a backup cache pool...maybe even a second array as apparently that may be on the horizon in the future! This will mean I&apos;ll need to install the other LSI 16e card in Ultron and source to more SAS-SATA cables. When it comes to that time I plan on installing SAS PCI SFF-8087 to SFF 8088 connector boards in the each of the DAS units because as it stands the units can be unplugged but will have long non-removable cables stick out the rear. The connector boards will allow removable SAS cables between the units and Ultron as internally the drives will be connected to the PCI boards. Not strictly a necessity but nice if I need to shift things about.</p><p></p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tech-com.co.uk/content/images/2022/07/20220726_125157.jpg" class="kg-image" alt="DAS Two" loading="lazy" width="2000" height="1500" srcset="https://tech-com.co.uk/content/images/size/w600/2022/07/20220726_125157.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/07/20220726_125157.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/07/20220726_125157.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/07/20220726_125157.jpg 2400w" sizes="(min-width: 720px) 720px"><figcaption>One stack of 8 drives although 9 is possible in the forward stack and 12 in the rear with extra cages!</figcaption></figure><p></p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/07/20220726_124801-1.jpg" class="kg-image" alt="DAS Two" loading="lazy" width="2000" height="1500" srcset="https://tech-com.co.uk/content/images/size/w600/2022/07/20220726_124801-1.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/07/20220726_124801-1.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/07/20220726_124801-1.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/07/20220726_124801-1.jpg 2400w" sizes="(min-width: 720px) 720px"></figure><p><br>I&apos;ve been unable to find replacement 5.25 faceplates, as you can see from the above picture one needs a serious clean, so I was wondering what could be done? Installing fan controllers was one option but wouldn&apos;t really add that much to the build. I then had the idea of installing some Optical drives for a disk ripping ARM VM! Essentially it will be the same setup as my <a href="https://tech-com.co.uk/a-r-m/">ARM Machine</a> but virtualized, as when ARM is out on loan I&apos;m back to manual disk rips. I&apos;ll need more SAS-SATA cables for this so I&apos;ll probably wait until do the PCI SAS connector mod.</p><figure class="kg-card kg-gallery-card kg-width-wide kg-card-hascaption"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/07/11-995-075-03.webp" width="640" height="480" loading="lazy" alt="DAS Two" srcset="https://tech-com.co.uk/content/images/size/w600/2022/07/11-995-075-03.webp 600w, https://tech-com.co.uk/content/images/2022/07/11-995-075-03.webp 640w"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/07/3430a295c60629a4-1.jpg" width="1100" height="1100" loading="lazy" alt="DAS Two" srcset="https://tech-com.co.uk/content/images/size/w600/2022/07/3430a295c60629a4-1.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/07/3430a295c60629a4-1.jpg 1000w, https://tech-com.co.uk/content/images/2022/07/3430a295c60629a4-1.jpg 1100w" sizes="(min-width: 720px) 720px"></div></div><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/07/new-sff-8088-to-sff-8088-mini-sas-cable-6m-6-metre-external-48901-p.jpg" width="1200" height="800" loading="lazy" alt="DAS Two" srcset="https://tech-com.co.uk/content/images/size/w600/2022/07/new-sff-8088-to-sff-8088-mini-sas-cable-6m-6-metre-external-48901-p.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/07/new-sff-8088-to-sff-8088-mini-sas-cable-6m-6-metre-external-48901-p.jpg 1000w, https://tech-com.co.uk/content/images/2022/07/new-sff-8088-to-sff-8088-mini-sas-cable-6m-6-metre-external-48901-p.jpg 1200w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/07/Free-Shipping-Internal-Mini-SAS-SFF-8087-to-4x-7Pin-SATA-3-0-Forward-Breakout-Cable.jpg" width="800" height="667" loading="lazy" alt="DAS Two" srcset="https://tech-com.co.uk/content/images/size/w600/2022/07/Free-Shipping-Internal-Mini-SAS-SFF-8087-to-4x-7Pin-SATA-3-0-Forward-Breakout-Cable.jpg 600w, https://tech-com.co.uk/content/images/2022/07/Free-Shipping-Internal-Mini-SAS-SFF-8087-to-4x-7Pin-SATA-3-0-Forward-Breakout-Cable.jpg 800w" sizes="(min-width: 720px) 720px"></div></div></div><figcaption>Fan controller, SFF 8088-8087 PCI Board, 8088 cable, 8087 to SATA cable</figcaption></figure>]]></content:encoded></item><item><title><![CDATA[Home Assistant - Energy Dashboard - Part 2]]></title><description><![CDATA[<p></p><p>In this part we&apos;ll look how to add standing charges to the total cost and how to correct readings from device that only outputs wH.<br><br><br><strong>Meross Plug Energy Correction</strong></p><p>So as I said in Part 1, the Meross plugs I have don&apos;t output a kWh reading,</p>]]></description><link>https://tech-com.co.uk/home-assistant-energy-dashboard-part-2/</link><guid isPermaLink="false">6286c3ee7f539100015901bc</guid><category><![CDATA[Software]]></category><dc:creator><![CDATA[Mr Jay]]></dc:creator><pubDate>Thu, 19 May 2022 23:30:27 GMT</pubDate><media:content url="https://tech-com.co.uk/content/images/2022/05/hgjbgngbn.PNG" medium="image"/><content:encoded><![CDATA[<img src="https://tech-com.co.uk/content/images/2022/05/hgjbgngbn.PNG" alt="Home Assistant - Energy Dashboard - Part 2"><p></p><p>In this part we&apos;ll look how to add standing charges to the total cost and how to correct readings from device that only outputs wH.<br><br><br><strong>Meross Plug Energy Correction</strong></p><p>So as I said in Part 1, the Meross plugs I have don&apos;t output a kWh reading, only in wH. All we have to do is create a bank of template sensors for each one and divide the reading 1000 which will result in the kWh reading. These plugs don&apos;t have a ENERGY Yesterday sensor built in either, it&apos;s possible to get HA to calculate it if you wish. I haven&apos;t bothered as they&apos;ll all be replaced for Tasomata plugs in the coming weeks.</p><figure class="kg-card kg-gallery-card kg-width-wide"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/eefef.PNG" width="682" height="490" loading="lazy" alt="Home Assistant - Energy Dashboard - Part 2" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/eefef.PNG 600w, https://tech-com.co.uk/content/images/2022/05/eefef.PNG 682w"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/grrgr.PNG" width="428" height="470" loading="lazy" alt="Home Assistant - Energy Dashboard - Part 2"></div></div></div></figure><p>The wh reading is named <code>sensor.attic_auxiliary_energy</code>, &#xA0;we then use the template sensor named <code>attic_auxiliary_energy_kwh</code> to perform the division sum, do this for each device.</p><pre><code class="language-javascript">## Meross Plug Kilowatt Correction from wH

      - platform: template
        sensors:
          attic_auxiliary_energy_kwh:
                friendly_name: &quot;Attic Auxiliary Energy&quot;
                unit_of_measurement: &apos;kWh&apos;
                value_template: &quot;{{ (states(&apos;sensor.attic_auxiliary_energy&apos;) | float / 1000) }}&quot;

      - platform: template
        sensors:
          port_lamp_energy_kwh:
                friendly_name: &quot;Port Lamp Energy&quot;
                unit_of_measurement: &apos;kWh&apos;
                value_template: &quot;{{ (states(&apos;sensor.port_lamp_energy&apos;) | float / 1000) }}&quot;</code></pre><p></p><p></p><p><strong>Total Cost Card</strong></p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/05/rerfere.PNG" class="kg-image" alt="Home Assistant - Energy Dashboard - Part 2" loading="lazy" width="461" height="340"></figure><p>First of all we want to create a template sensor for the standing charge which in my case is &#xA3;0.25 (due to double in the coming months!).<br></p><pre><code class="language-javascript">      - platform: template
        sensors:
          price_standing_charge_daily:
                friendly_name: &quot;Price Standing Charge Daily&quot;
                icon_template: mdi:currency-gbp
                unit_of_measurement: &apos;&#xA3;&apos;
                value_template: &quot;0.2500&quot;</code></pre><p>Now we want to sum together the total costs for previous day, daily, weekly and monthly. In my case I already know what the totals are for my equipment which is divided up between the Server Gear &amp; Battle-Station as we set these up in Part 1. </p><p>Time to create another bank of four template sensors!<br><br>For the previous day and today figure we just add the standing charge sensor to the already totalled sensors for both sets of equipment. Weekly and Monthly are slightly different as we need to multiply the daily charge by 7 &amp; 28 respectively, then add the totalled sensors for both sets of equipment.</p><pre><code class="language-javascript">## Cost Senors
## Totals for energy card

      - platform: template
        sensors:
          total_cost_yesterday:
                friendly_name: &quot;Total Cost Yesterday&quot;
                icon_template: mdi:currency-gbp
                value_template: &quot;{{ (states(&apos;sensor.cost_server_devices_yesterday_power&apos;) | float +
                                                        states(&apos;sensor.cost_monitored_devices_yesterday_power&apos;) | float +
                                                        states(&apos;sensor.price_standing_charge_daily&apos;) | float) | round(2)  }}&quot;


      - platform: template
        sensors:
          total_cost_daily:
                friendly_name: &quot;Total Cost Daily&quot;
                icon_template: mdi:currency-gbp
                value_template: &quot;{{ (states(&apos;sensor.cost_server_devices_daily_power&apos;) | float +
                                                        states(&apos;sensor.cost_monitored_devices_daily_power&apos;) | float +
                                                        states(&apos;sensor.price_standing_charge_daily&apos;) | float) | round(2)  }}&quot;


      - platform: template
        sensors:
          total_cost_weekly:
                friendly_name: &quot;Total Cost Weekly&quot;
                icon_template: mdi:currency-gbp
                value_template: &quot;{{ (states(&apos;sensor.price_standing_charge_daily&apos;) | float * 7 +
                                                        states(&apos;sensor.cost_monitored_devices_weekly_power&apos;) | float +
                                                        states(&apos;sensor.cost_server_devices_weekly_power&apos;) | float) | round(2)  }}&quot;



      - platform: template
        sensors:
          total_cost_monthly:
                friendly_name: &quot;Total Cost Monthly&quot;
                icon_template: mdi:currency-gbp
                value_template: &quot;{{ (states(&apos;sensor.price_standing_charge_daily&apos;) | float * 28 +
                                                        states(&apos;sensor.cost_monitored_devices_monthly_power&apos;) | float +
                                                        states(&apos;sensor.cost_server_devices_monthly_power&apos;) | float) | round(2)  }}&quot;</code></pre><p>Remember to check the .yaml as we did before in the Developer tools before rebooting HA!<br><br>The next part is easy, create a new entity card on the dashboard and add the new totalled template sensors to it. This can be done in the GUI as it&apos;s a simple table card and you can use the sensors &quot;friendly name&quot;.<br></p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/05/erfefefef.PNG" class="kg-image" alt="Home Assistant - Energy Dashboard - Part 2" loading="lazy" width="1008" height="840" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/erfefefef.PNG 600w, https://tech-com.co.uk/content/images/size/w1000/2022/05/erfefefef.PNG 1000w, https://tech-com.co.uk/content/images/2022/05/erfefefef.PNG 1008w" sizes="(min-width: 720px) 720px"></figure><p></p><p><strong>Not Included Card</strong></p><p>This card exists purely for keeping an eye on some low powered devices. It is not included in the total cost card mainly because there&apos;s hardly any usage . Like the total cost card above it&apos;s a simple entity card with the plugs kHw usage, which we made at the start of this tutorial, and the current wattage. As you can see it&apos;s barley measurable, note this is for a 24hr period.</p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/05/wwewewe.PNG" class="kg-image" alt="Home Assistant - Energy Dashboard - Part 2" loading="lazy" width="508" height="585"></figure><p><br>After publishing I&apos;ve been made aware this is the legacy method of making templates, they still work and will continue to work for sometime yet I would imagine. Post 3 will probably detail how to convert the current templates to the new method.</p>]]></content:encoded></item><item><title><![CDATA[Home Assistant - Mobile App]]></title><description><![CDATA[The Companion App for mobiles]]></description><link>https://tech-com.co.uk/home-assistant-mobile-app/</link><guid isPermaLink="false">62831b847587fb00015bec40</guid><category><![CDATA[Hardware]]></category><category><![CDATA[Software]]></category><dc:creator><![CDATA[Mr Jay]]></dc:creator><pubDate>Wed, 18 May 2022 16:22:47 GMT</pubDate><media:content url="https://tech-com.co.uk/content/images/2022/05/mobile.png" medium="image"/><content:encoded><![CDATA[<img src="https://tech-com.co.uk/content/images/2022/05/mobile.png" alt="Home Assistant - Mobile App"><p>One of the key aspects with Home Assistant is the ability for remote control &amp; monitoring, the mobile apps make this a breeze for both Android &amp; iOS devices. They also include a variety of sensors native to the app from monitoring the device itself such as, but not limited too...</p><ul><li>Battery Charge</li><li>Charging State</li><li>Battery Temp</li><li>WiFi details</li><li>IP address</li><li>Geo Location</li><li>Storage</li></ul><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/05/mobileapps-1.PNG" class="kg-image" alt="Home Assistant - Mobile App" loading="lazy" width="815" height="1060" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/mobileapps-1.PNG 600w, https://tech-com.co.uk/content/images/2022/05/mobileapps-1.PNG 815w" sizes="(min-width: 720px) 720px"></figure><p>If your using tablets as remote control terminals, the inbuilt sensors are great for checking on the devices charging state etc. It comes into it&apos;s own really with the geo location options as you can tie this in with HA&apos;s automations so that when HA detects your device at home, it can activate anything you wish from lights, boilers, thermostats...you name it! </p><p>You can also configure HA via the app for installing/pairing other devices, VS Code is out though along with Node-Red, much better to use a desktop system for the real magic.</p><p>So what if you want to use the device outside of your LAN? Personally I use <a href="https://tailscale.com/?ref=tech-com.co.uk">Tailscale</a> zero config VPN on my mobile devices which enables access to all my subnets/VLANs and also VPN subnets in the other properties. This isn&apos;t built into HA, it runs in a container on Ultron and so isn&apos;t the solution for everyone. HA offers a built in <a href="https://www.nabucasa.com/?ref=tech-com.co.uk">Cloud</a> service which is paid and will allow you to use HA with Alexa or Google home. It&apos;s also possible to use a reverse proxy, while I do have one that&apos;s heavily protected by Fail2Ban, it&apos;s not a secure as a private VPN. Over the next few weeks I&apos;ll be withdrawing most of my services on my RVP for Tailscale access only. You could be a complete amateur and forward the admin port to HA...DO NOT DO THIS! Your asking to get hacked then they can turn off/on whatever they want, there isn&apos;t any brute force protection at all!</p><p></p><figure class="kg-card kg-gallery-card kg-width-wide"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/Screenshot_20220518-170258_Home-Assistant.jpg" width="1080" height="2220" loading="lazy" alt="Home Assistant - Mobile App" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/Screenshot_20220518-170258_Home-Assistant.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/05/Screenshot_20220518-170258_Home-Assistant.jpg 1000w, https://tech-com.co.uk/content/images/2022/05/Screenshot_20220518-170258_Home-Assistant.jpg 1080w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/Screenshot_20220518-170314_Home-Assistant.jpg" width="1080" height="2220" loading="lazy" alt="Home Assistant - Mobile App" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/Screenshot_20220518-170314_Home-Assistant.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/05/Screenshot_20220518-170314_Home-Assistant.jpg 1000w, https://tech-com.co.uk/content/images/2022/05/Screenshot_20220518-170314_Home-Assistant.jpg 1080w" sizes="(min-width: 720px) 720px"></div></div></div></figure><p>To set it up simply download the app and login, that&apos;s pretty much it. Using a desktop device head into Settings - Mobile App then select the device, here it will display all the sensors available. You may find some appear to be missing, their not, by default the Companion App doesn&apos;t enable everything it finds...you need to enable them. Using the app go into Settings and scroll down, you&apos;ll see a section called Companion App, this is where you can enable sensors, change device name, NFC tags, themes...all sorts. Once you enable the disabled sensors they will be available to add to the dashboard.</p>]]></content:encoded></item><item><title><![CDATA[Printer Upgrade]]></title><description><![CDATA[New Printer time and good riddance to Epson!]]></description><link>https://tech-com.co.uk/brother-printer/</link><guid isPermaLink="false">625a30cde9c74a00012c4a64</guid><category><![CDATA[Hardware]]></category><dc:creator><![CDATA[Mr Jay]]></dc:creator><pubDate>Wed, 18 May 2022 14:06:17 GMT</pubDate><media:content url="https://tech-com.co.uk/content/images/2022/05/printer2.png" medium="image"/><content:encoded><![CDATA[<img src="https://tech-com.co.uk/content/images/2022/05/printer2.png" alt="Printer Upgrade"><p></p><p>Since 1998 I&apos;ve always used Epson printers until this year. Printer models I have owned since 1998...</p><p>Epson Stylus 640 - Parallel Port only, good machine but had to move with the times.</p><p>Epson Stylus 830u - Junk! Leaked ink everywhere after a few months</p><p>Epson Stylus R240 - Still around somewhere, fairly reliable</p><p>Epson Stylus PX810FW - Someone binned it due to blocked heads...don&apos;t ask! </p><p>Epson Stylus PX830FWD - Still around but has dead/leaking print heads</p><p>Epson Expression Premium XP-830 - The final straw</p><p></p><figure class="kg-card kg-gallery-card kg-width-wide kg-card-hascaption"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/Epson_Stylus_Color_640.jpg" width="600" height="600" loading="lazy" alt="Printer Upgrade" srcset="https://tech-com.co.uk/content/images/2022/05/Epson_Stylus_Color_640.jpg 600w"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/890f59ed007a02459a3ea47745d20cf4.jpg" width="500" height="438" loading="lazy" alt="Printer Upgrade"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/epson-stylus-photo-r240.jpg" width="566" height="425" loading="lazy" alt="Printer Upgrade"></div></div><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/a810_fca-cor-on_690x460.jpg" width="690" height="460" loading="lazy" alt="Printer Upgrade" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/a810_fca-cor-on_690x460.jpg 600w, https://tech-com.co.uk/content/images/2022/05/a810_fca-cor-on_690x460.jpg 690w"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/epson-stylus-photo-px830fwd-multifunktionsgeraet-tinte-4in1-usblanwlanduplexadf-druckerkopiererscannerfax.jpg" width="1000" height="586" loading="lazy" alt="Printer Upgrade" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/epson-stylus-photo-px830fwd-multifunktionsgeraet-tinte-4in1-usblanwlanduplexadf-druckerkopiererscannerfax.jpg 600w, https://tech-com.co.uk/content/images/2022/05/epson-stylus-photo-px830fwd-multifunktionsgeraet-tinte-4in1-usblanwlanduplexadf-druckerkopiererscannerfax.jpg 1000w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/xp830_fca-cos-on_690x460.jpg" width="690" height="460" loading="lazy" alt="Printer Upgrade" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/xp830_fca-cos-on_690x460.jpg 600w, https://tech-com.co.uk/content/images/2022/05/xp830_fca-cos-on_690x460.jpg 690w"></div></div></div><figcaption>The timeline of devices</figcaption></figure><p>Why was this the final year of Epson use? Well when I desperately needed to print something recently in black &amp; white, the XP-830 wouldn&apos;t allow it as despite there being PLENTY of black ink, someone had used up one of the colours the week previous. As it turns out Epson gives you a few days grace between running out of one colour before it locks up! I&apos;m not putting up with anti-consumer crap...so that was it, Epson and I are finished! On to eBay it went!<br><br>It just so happens I was looking for an upgrade anyway in the form of an AIO device that could scan/print/copy in A3. I also needed a device that could scan to FTP/SMB network folders without the use of a PC, it just makes things easier for those that struggle with operating tech lol. I also started using Paperless which is an awesome little project for electronic document management. Having the network scan option is great as I just need to load the ADF up, one set of documents/multiple pages at a time, scan to the folder then Paperless takes over which will categorize the scans according to heuristic learning/ set of instructions. Check out Paperless <a href="https://github.com/jonaswinkler/paperless-ng?ref=tech-com.co.uk">here</a>.</p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/05/dashboard.png" class="kg-image" alt="Printer Upgrade" loading="lazy" width="1479" height="871" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/dashboard.png 600w, https://tech-com.co.uk/content/images/size/w1000/2022/05/dashboard.png 1000w, https://tech-com.co.uk/content/images/2022/05/dashboard.png 1479w" sizes="(min-width: 720px) 720px"></figure><p>None of the mainstream big names had such a device in an acceptable price range plus I was intending on fitting a continuous ink system, usually that meant performing invasive surgery/ permanent modification on the unit. I then decided to check out the second hand market, specially brother printers as they are in wide spread use in industry and are regularly swapped out/upgraded just like other enterprise hardware. I had used Brother units in my line of work before and while the software GUI leaves a lot to be desired, the functionality/features are excellent....On to ebay I went in search for such a unit!</p><p></p><h1 id="mfc-j5335dw">MFC-J5335DW</h1><p></p><p>I came across an MFC-J5335DW going for &#xA3;70 which had all the features I wanted, seen as the previous Epson was sold for slightly more than &#xA3;70 it was cost neutral...sweet! Anyway I bought the thing only to discover next day, after reading the manual, that Brother were a bit creative with their descriptions. As it turns out it is indeed an A3 printer but only an A4 scanner...feck! No big problem as it was more or less a straight swap for a better machine without Epson&apos;s BS firmware. So off I went in search again...I then discovered that the J5335DW has a bigger brother in the form of the J6530DW! Both from the same generation and take the exact same cartridges, always good for redundancy! Back on to eBay only to find one minutes later for &#xA3;140...snapped that up instantly as they retail for a few times that.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tech-com.co.uk/content/images/2022/05/fee_786_587_png.png" class="kg-image" alt="Printer Upgrade" loading="lazy" width="786" height="587" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/fee_786_587_png.png 600w, https://tech-com.co.uk/content/images/2022/05/fee_786_587_png.png 786w" sizes="(min-width: 720px) 720px"><figcaption>MFC-J5335DW</figcaption></figure><p>A few days later the J5335DW arrives from ParcelForce. The seller had put the printer inside of a large, tight fitting plastic container, excellent idea. Unfortunately ParcelForce had kicked the thing all the way up from down south resulting in the plastic container smashed in one side, the printer though was okay after a few test scan/prints...or so I thought. A week later my sister came down to use the thing were she discovered the ADF on the unit wasn&apos;t working! Not surprised after ParcelForce had given it a good seeing too. It could have been that way before shipped, no idea. </p><p></p><figure class="kg-card kg-gallery-card kg-width-wide"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/20220217_151517.jpg" width="2000" height="1500" loading="lazy" alt="Printer Upgrade" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/20220217_151517.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/05/20220217_151517.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/05/20220217_151517.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/05/20220217_151517.jpg 2400w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/20220217_151508.jpg" width="2000" height="1500" loading="lazy" alt="Printer Upgrade" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/20220217_151508.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/05/20220217_151508.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/05/20220217_151508.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/05/20220217_151508.jpg 2400w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/20220217_151821.jpg" width="2000" height="1500" loading="lazy" alt="Printer Upgrade" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/20220217_151821.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/05/20220217_151821.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/05/20220217_151821.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/05/20220217_151821.jpg 2400w" sizes="(min-width: 720px) 720px"></div></div><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/20220217_152050.jpg" width="2000" height="1500" loading="lazy" alt="Printer Upgrade" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/20220217_152050.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/05/20220217_152050.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/05/20220217_152050.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/05/20220217_152050.jpg 2400w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/20220313_175459.jpg" width="2000" height="1500" loading="lazy" alt="Printer Upgrade" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/20220313_175459.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/05/20220313_175459.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/05/20220313_175459.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/05/20220313_175459.jpg 2400w" sizes="(min-width: 720px) 720px"></div></div></div></figure><p></p><p>I didn&apos;t want the hassle of returning it which would have been almost a 3rd of what I paid for the unit...it was surgery time. Pulled the plastic panel off to reveal the gears to see what was going on, the issue was instantly visible.</p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/05/COG1.PNG" class="kg-image" alt="Printer Upgrade" loading="lazy" width="1246" height="737" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/COG1.PNG 600w, https://tech-com.co.uk/content/images/size/w1000/2022/05/COG1.PNG 1000w, https://tech-com.co.uk/content/images/2022/05/COG1.PNG 1246w" sizes="(min-width: 720px) 720px"></figure><ul><li>Red Arrow - Electric Motor</li><li>Blue Arrow - &#xA0;Drive Cog</li><li>Pink Arrow - Transmission Arm with Helical Gear</li><li>Green Arrow - Document Pull Roller Gear</li></ul><p>Right so the way it works is this...</p><ul><li>Motor engages</li><li>Motor turns the drive cog </li><li>Drive cog forces the helical gear in the opposite direction</li><li>Transmission Arm is pushed in the down direction by the opposing rotation</li><li>Helical gear engages with the Document Puller Gear drawing in the page</li></ul><p></p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tech-com.co.uk/content/images/2022/05/20220316_002745.jpg" class="kg-image" alt="Printer Upgrade" loading="lazy" width="2000" height="2667" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/20220316_002745.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/05/20220316_002745.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/05/20220316_002745.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/05/20220316_002745.jpg 2400w" sizes="(min-width: 720px) 720px"><figcaption>Gears misaligned</figcaption></figure><p>Why does it work like is? I assume it&apos;s so that if you need to pull jammed docs out in the opposite direction, that force isn&apos;t send back to the motor. I also means if it jams, the motor will instantly disengage. The issue was the Helical and Puller gear would not engage due to being slightly misaligned, they both had flanges which stood proud of the teeth preventing them engaging if not aligned properly. To fix the issue I tried a few things such as trying to reduce the clearances/play in the bearings by inserting thin metal plates or wrapping wire round the bearing, nothing really worked, it was hit and miss. Then I thought well all I need to do is hold that arm down for the gear teeth to stay in contact. The solution....a chopped down piece of Stadler eraser lol, it had enough rigidity to wedge itself in there and absorb a small amount of feedback plus it was easily removed if required. I had it scanning piles of blank paper for hours testing it out.....not a single hiccup, ADF has functioned perfectly in the months since.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tech-com.co.uk/content/images/2022/05/20220415_152458-1.jpg" class="kg-image" alt="Printer Upgrade" loading="lazy" width="2000" height="2870" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/20220415_152458-1.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/05/20220415_152458-1.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/05/20220415_152458-1.jpg 1600w, https://tech-com.co.uk/content/images/2022/05/20220415_152458-1.jpg 2019w" sizes="(min-width: 720px) 720px"><figcaption>Cheers Stadler</figcaption></figure><p></p><h1 id="mfc-j6530dw">MFC-J6530DW</h1><p></p><p>Arrived without any issues and performing well, does lovely pictures in full A3 glory. I bought a CIS system for fitting once the current carts run out...post to follow! Another post to follow when the CIS is fitted.</p><figure class="kg-card kg-gallery-card kg-width-wide"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/800_60aa2a6ce8576.webp" width="800" height="800" loading="lazy" alt="Printer Upgrade" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/800_60aa2a6ce8576.webp 600w, https://tech-com.co.uk/content/images/2022/05/800_60aa2a6ce8576.webp 800w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/20220518_060837.jpg" width="2000" height="1500" loading="lazy" alt="Printer Upgrade" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/20220518_060837.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/05/20220518_060837.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/05/20220518_060837.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/05/20220518_060837.jpg 2400w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/20220314_231838.jpg" width="2000" height="1500" loading="lazy" alt="Printer Upgrade" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/20220314_231838.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/05/20220314_231838.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/05/20220314_231838.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/05/20220314_231838.jpg 2400w" sizes="(min-width: 720px) 720px"></div></div></div></figure><p></p><h1 id="specs">Specs</h1><p></p><p>Both printers have the same features available including a highly configurable Web UI for setting up the network scan options.</p><p><a href="https://www.brother.co.uk/printers/inkjet-printers/mfc-j5335dw?ref=tech-com.co.uk#specifications">MFC-J5335DW Specs</a></p><p><a href="https://www.brother-usa.com/products/mfcj6535dw?ref=tech-com.co.uk#specification">MFC-J6535DW Specs</a></p><ul><li>Print from - Facebook, Dropbox, Dropbox for Business, OneDrive, EVERNOTE, OneNote, Box, Box for Business, Flickr, Google Drive, Google Apps for Work</li><li>Scan to - Microsoft Office, Scan to Searchable PDF, Easy scan to Email, Scan to Mobile App, Scan to SharePoint (via Control Center 4 only)</li></ul><p></p><h1 id="home-assistant">Home Assistant</h1><p></p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/05/dgfhfh.PNG" class="kg-image" alt="Printer Upgrade" loading="lazy" width="1019" height="526" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/dgfhfh.PNG 600w, https://tech-com.co.uk/content/images/size/w1000/2022/05/dgfhfh.PNG 1000w, https://tech-com.co.uk/content/images/2022/05/dgfhfh.PNG 1019w" sizes="(min-width: 720px) 720px"></figure><p>There&apos;s rather good HA integration for Brother devices enabling monitoring of ink levels and such. Just install the integration and add the printers IP.<br><br></p>]]></content:encoded></item><item><title><![CDATA[Home Assistant - Energy Dashboard - Part 1]]></title><description><![CDATA[In this we part we'll look at replicating the energy dashboard I use for Home Assistant]]></description><link>https://tech-com.co.uk/home-assistant-energy-dashboard/</link><guid isPermaLink="false">62830d887587fb00015bebac</guid><category><![CDATA[Software]]></category><dc:creator><![CDATA[Mr Jay]]></dc:creator><pubDate>Wed, 18 May 2022 13:55:32 GMT</pubDate><media:content url="https://tech-com.co.uk/content/images/2022/05/Untitled.png" medium="image"/><content:encoded><![CDATA[<img src="https://tech-com.co.uk/content/images/2022/05/Untitled.png" alt="Home Assistant - Energy Dashboard - Part 1"><p></p><p>Now we&apos;re going to build a dashboard just like mine for energy monitoring. A new Energy tab was introduced to HA last year which is more designed for utility monitoring electrical mains, gas, solar panels. I&apos;m not setup for that as yet although it will be an option in the future. It can do individual devices but it&apos;s a bit rudimentary for my likes. I wanted a dashboard that I could look at the current draw in Watts and calculate the devices usage/cost in kWh/&#xA3; for daily, weekly, monthly and the previous day. This will give me reasonably accurate figures to plan my energy usage around plus the ability to turn on/off devices. I should note this is give me a rough idea of the costs, it&apos;s never going to be 100%.</p><p>As an example we&apos;ll use the server gear in the attic as it runs off two plugs but this can be adapted for as many devices as you want, just change the names of the sensors! We&apos;ll need a few things to start with which can be obtained from the HACS plugin that we installed in the last post, install these!</p><ul><li><a href="https://github.com/benct/lovelace-multiple-entity-row?ref=tech-com.co.uk">Multiple entity row</a></li><li><a href="https://github.com/kalkih/mini-graph-card?ref=tech-com.co.uk">Mini graph card</a></li><li><a href="https://github.com/RomRider/apexcharts-card?ref=tech-com.co.uk">ApexCharts Card</a></li></ul><figure class="kg-card kg-gallery-card kg-width-wide kg-card-hascaption"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/Capture2.PNG" width="527" height="354" loading="lazy" alt="Home Assistant - Energy Dashboard - Part 1"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/Capture3-1.PNG" width="525" height="269" loading="lazy" alt="Home Assistant - Energy Dashboard - Part 1"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/Capture-3.PNG" width="530" height="547" loading="lazy" alt="Home Assistant - Energy Dashboard - Part 1"></div></div></div><figcaption>Examples of the above cards</figcaption></figure><p></p><h1 id="tasmota-sensors">Tasmota Sensors</h1><p></p><p>Okay so there&apos;s a few of the smart plugs sensors we will be concentrating on apart from the outlet on/off function.</p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/05/fdgre3e.PNG" class="kg-image" alt="Home Assistant - Energy Dashboard - Part 1" loading="lazy" width="274" height="462"></figure><ul><li>ENERGY Power in Watts - For current power draw</li><li>ENERGY Today - For usage &amp; cost calculations, daily/weekly/monthly etc are all based off this....it&apos;s an important one!</li><li>ENERGY Yesterday - Same as above but only for the previous day</li></ul><p>These sensors will all have a unique names based upon the name you have given the device in HA. For example..</p><ul><li>ENERGY Power (w)- <code>sensor.ultron_energy_power</code></li><li>ENERGY Today (kWh)- <code>sensor.ultron_energy_today</code></li><li>ENERGY Yesterday (kWh)- <code>sensor.ultron_energy_yesterday</code></li></ul><p></p><h1 id="ha-configurationyaml">HA Configuration.yaml</h1><p></p><p>You&apos;ll need to use the VS Studio Code plugin or other file editor for this part, Studio Code is the preferred option as it&apos;s runs inside HA and features syntax highlighting. I&apos;ve you haven&apos;t already installed it then do so via Settings - Add-Ons - Add-On Store. Once installed and started it will show up on the left hand side bar, open it up and select the configuration.yaml. This file is where we tell HA what to do with the data from the sensors and how to turn those readings into a monetary value for example. </p><p></p><p><strong>Utility Meters</strong></p><p>This function allows HA to track cumulative usage for what ever the input sensor value is, for example, if I wanted to know what the weekly, monthly, yearly reading in kWh usage was for Ultron I would setup a meter to track usage for each of those time periods based upon the ENERGY Today sensor value from the plug named <code>sensor.ultron_energy_today</code></p><pre><code class="language-javascript"> # Utility Meters
    
    utility_meter:
        ultron_energy_daily:
          source: sensor.ultron_energy_today
          cycle: daily
        ultron_energy_weekly:
          source: sensor.ultron_energy_today
          cycle: weekly
        ultron_energy_monthly:
          source: sensor.ultron_energy_today
          cycle: monthly
        ultron_energy_yearly:
          source: sensor.ultron_energy_today
          cycle: yearly</code></pre><p>As you can see the first line features the entity <code>ultron_energy_daily</code> The plug sensor already tracks the daily value however I put it in for ease when it came to easy to remember names in the dashboard cards. HA will automatically sum the usage for the cycle period specified. I created a bank of these for each plug I wanted to monitor, all eight of them. I haven&apos;t listed them all here as there&apos;s too many, see below...</p><pre><code class="language-javascript"> # Utility Meters
    
    ultron_energy_daily:
      source: sensor.ultron_energy_today
      cycle: daily
    ultron_energy_weekly:
      source: sensor.ultron_energy_today
      cycle: weekly
    ultron_energy_monthly:
      source: sensor.ultron_energy_today
      cycle: monthly
    ultron_energy_yearly:
      source: sensor.ultron_energy_today
      cycle: yearly

    das_one_energy_daily:
      source: sensor.das_one_energy_today
      cycle: daily
    das_one_energy_weekly:
      source: sensor.das_one_energy_today
      cycle: weekly
    das_one_energy_monthly:
      source: sensor.das_one_energy_today
      cycle: monthly
    das_one_energy_yearly:
      source: sensor.das_one_energy_today
      cycle: yearly
      </code></pre><p>Note there&apos;s no utility meter value for yesterday because the plug natively tracks that. It&apos;s important to pay attention to indentation in the YAML, also all similar entities must be under one heading, e.g. all Utility Meters MUST be under <code>utility_meter:</code> and like wise all sensors must be under <code>sensor:</code> Go ahead and create the same in your configurations.yaml for all the cycles you want changing the name and sensor value as appropriate....remember to keep it simple! It will take a few hours for HA to start populating the utility meters with data but we can go on to the next stage.</p><p></p><p><strong>Energy Consumption Card</strong></p><p></p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/05/Capture2-1.PNG" class="kg-image" alt="Home Assistant - Energy Dashboard - Part 1" loading="lazy" width="527" height="354"></figure><p>The above dashboard card uses the <a href="https://github.com/benct/lovelace-multiple-entity-row?ref=tech-com.co.uk">Multiple entity row</a> which we installed earlier. We can use the utility meters to give the value for Ultron &amp; DAS One for each of the cycles you can see above. As you&apos;ll notice we also have a row totalling the energy usage and it&apos;s projected cost, where do we get these values from you may ask? Well that&apos;s where Template Sensors come in!</p><p></p><p><strong>Template Sensors</strong></p><p>This part concerns entities known as template sensors which derive their values from other data such as our Utility Meters. I&apos;m using them to sum the value of the utility meters for both devices (plugs), all four time periods/cycles &amp; the cost. We need to create another section in the configurations.yaml called <code>sensors:</code> and give our new sensors a name, friendly name (used for the GUI), a unit of measurement, icon to represent it and finally the sum itself. The four sensors will be named...</p><ul><li><code>server_usage_yesterday_power</code></li><li><code>server_usage_daily_power</code></li><li><code>server_usage_weekly_power</code></li><li><code>server_usage_monthly_power</code></li></ul><pre><code class="language-javascript">sensor:
      - platform: template
        sensors:
          server_usage_yesterday_power:
                friendly_name: &quot;Server Usage Yesterday&quot;
                unit_of_measurement: &apos;kWh&apos;
                icon_template: mdi:speedometer
                value_template: &quot;{{ (states(&apos;sensor.das_one_energy_yesterday&apos;) | float + 
                                                        states(&apos;sensor.ultron_energy_yesterday&apos;) | float) | round(2) }}&quot;
      
      - platform: template
        sensors:
          server_usage_daily_power:
                friendly_name: &quot;Server Usage Daily&quot;
                unit_of_measurement: &apos;kWh&apos;
                icon_template: mdi:speedometer
                value_template: &quot;{{ (states(&apos;sensor.das_one_energy_today&apos;) | float + 
                                                        states(&apos;sensor.ultron_energy_today&apos;) | float) | round(2) }}&quot;

      - platform: template
        sensors:
          server_usage_weekly_power:
                friendly_name: &quot;Server Usage Weekley&quot;
                unit_of_measurement: &apos;kWh&apos;
                icon_template: mdi:speedometer
                value_template: &quot;{{ (states(&apos;sensor.das_one_energy_weekly&apos;) | float + 
                                                        states(&apos;sensor.ultron_energy_weekly&apos;) | float) | round(2) }}&quot;

      - platform: template
        sensors:
          server_usage_monthly_power:
                friendly_name: &quot;Server Usage Monthly&quot;
                unit_of_measurement: &apos;kWh&apos;
                icon_template: mdi:speedometer
                value_template: &quot;{{ (states(&apos;sensor.das_one_energy_monthly&apos;) | float + 
                                                        states(&apos;sensor.ultron_energy_monthly&apos;) | float) | round(2) }}&quot;</code></pre><p>Okay so this gives four new sensors we can use in our totals row</p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/05/gfreere.PNG" class="kg-image" alt="Home Assistant - Energy Dashboard - Part 1" loading="lazy" width="503" height="83"></figure><p>So how do we get the cost for the energy? Simple, more template sensors! We&apos;re going to create another sensor called <code>price_per_kwh</code> which has the value <code>value_template: &quot;0.1875&quot;</code> indicating the price in pence (Pound Sterling). This makes things easier in the future if the cost changes as we can change the value here which will filter though the other calculations.</p><ul><li><code>price_per_kWh</code></li></ul><pre><code class="language-javascript">## Tariff

      - platform: template
        sensors:
          price_per_kwh:
                friendly_name: &quot;Price per kWh&quot;
                icon_template: mdi:currency-gbp
                unit_of_measurement: &apos;&#xA3;&apos;
                value_template: &quot;0.1875&quot;
</code></pre><p>Now we need to create another four sensors just like we did above for the kWh totals that we can use to multiply total kWh values with the <code>price_per_kWh</code> variable which will then give us the cost for each cycle...</p><ul><li><code>cost_server_devices_yesterday_power</code></li><li><code>cost_server_devices_daily_power</code></li><li><code>cost_server_devices_weekly_power</code></li><li><code>cost_server_devices_monthly_power</code><br></li></ul><pre><code class="language-javascript">## Cost Sensors
      - platform: template
        sensors:
          cost_server_devices_yesterday_power:
                friendly_name: &quot;Server Cost Yesterday&quot;
                icon_template: mdi:currency-gbp
                unit_of_measurement: &apos;&#xA3;&apos;
                value_template: &quot;{{ (states(&apos;sensor.server_usage_yesterday_power&apos;) | float *
                                                        states(&apos;sensor.price_per_kwh&apos;) | float) | round(2)  }}&quot;


      - platform: template
        sensors:
          cost_server_devices_daily_power:
                friendly_name: &quot;Server Cost Daily&quot;
                icon_template: mdi:currency-gbp
                unit_of_measurement: &apos;&#xA3;&apos;
                value_template: &quot;{{ (states(&apos;sensor.server_usage_daily_power&apos;) | float *
                                                        states(&apos;sensor.price_per_kwh&apos;) | float) | round(2)  }}&quot;



      - platform: template
        sensors:
          cost_server_devices_weekly_power:
                friendly_name: &quot;Server Cost Weekly&quot;
                icon_template: mdi:currency-gbp
                unit_of_measurement: &apos;&#xA3;&apos;
                value_template: &quot;{{ (states(&apos;sensor.server_usage_weekly_power&apos;) | float *
                                                        states(&apos;sensor.price_per_kwh&apos;) | float) | round(2)  }}&quot;
                                                        

      - platform: template
        sensors:
          cost_server_devices_monthly_power:
                friendly_name: &quot;Sever Cost Monthly&quot;
                icon_template: mdi:currency-gbp
                unit_of_measurement: &apos;&#xA3;&apos;
                value_template: &quot;{{ (states(&apos;sensor.server_usage_monthly_power&apos;) | float *
                                                        states(&apos;sensor.price_per_kwh&apos;) | float) | round(2)  }}&quot;</code></pre><p>Worth noting that HA always places <code>unit_of_measurement</code> as a suffix which isn&apos;t ideal when dealing with monetary values, you can delete this part if you wish or remove the symbol.</p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/05/Capture-1.PNG" class="kg-image" alt="Home Assistant - Energy Dashboard - Part 1" loading="lazy" width="529" height="66"></figure><p>Now we have all the outputs we need to make energy consumption card as seen earlier on. HA will need to be restarted, but before we do the Yaml needs to be checked for errors. Luckily HA comes with with a built in checker which will alert you if something doesn&apos;t look right. You need to fix this otherwise it may not boot! Head into Developer Tools - YAML - Check Configuration. Hopefully all is well and you should get a config valid message, if not go back and check everything!</p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/05/32432432.PNG" class="kg-image" alt="Home Assistant - Energy Dashboard - Part 1" loading="lazy" width="1741" height="766" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/32432432.PNG 600w, https://tech-com.co.uk/content/images/size/w1000/2022/05/32432432.PNG 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/05/32432432.PNG 1600w, https://tech-com.co.uk/content/images/2022/05/32432432.PNG 1741w" sizes="(min-width: 720px) 720px"></figure><p>Go ahead and restart HA and wait for it to boot. Head into the Overview tab and edit the dashboard, little icon on the top left. Now we want to set up the energy consumption card and click Add Card - Entities - Show Code Editor, this can&apos;t be done in the GUI.</p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/05/34343.PNG" class="kg-image" alt="Home Assistant - Energy Dashboard - Part 1" loading="lazy" width="1203" height="873" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/34343.PNG 600w, https://tech-com.co.uk/content/images/size/w1000/2022/05/34343.PNG 1000w, https://tech-com.co.uk/content/images/2022/05/34343.PNG 1203w" sizes="(min-width: 720px) 720px"></figure><p>Enter this into the code section swapping the entity names out for yours and hit save! Voila! </p><pre><code class="language-javascript">type: entities
title: Energy Consumption Server Gear
entities:
  - entity: sensor.ultron_energy_monthly
    type: custom:multiple-entity-row
    name: Ultron
    state_header: Monthly
    icon: mdi:gauge
    entities:
      - entity: sensor.ultron_energy_yesterday
        name: Yesterday
      - entity: sensor.ultron_energy_daily
        name: Today
      - entity: sensor.ultron_energy_weekly
        name: Weekly
  - entity: sensor.das_one_energy_monthly
    type: custom:multiple-entity-row
    name: Das One + Aux
    state_header: Monthly
    icon: mdi:gauge
    entities:
      - entity: sensor.das_one_energy_yesterday
        name: Yesterday
      - entity: sensor.das_one_energy_daily
        name: Today
      - entity: sensor.das_one_energy_weekly
        name: Weekly
  - entity: sensor.server_usage_monthly_power
    type: custom:multiple-entity-row
    name: Total
    state_header: Monthly
    icon: mdi:gauge
    entities:
      - entity: sensor.server_usage_yesterday_power
        name: Yesterday
      - entity: sensor.server_usage_daily_power
        name: Today
      - entity: sensor.server_usage_weekly_power
        name: Weekly
  - entity: sensor.cost_server_devices_monthly_power
    type: custom:multiple-entity-row
    name: Cost
    state_header: Monthly
    icon: mdi:currency-gbp
    entities:
      - entity: sensor.cost_server_devices_yesterday_power
        name: Yesterday
      - entity: sensor.cost_server_devices_daily_power
        name: Today
      - entity: sensor.cost_server_devices_weekly_power
        name: Weekly</code></pre><p></p><p><strong>Wattage Pie-Chart</strong></p><figure class="kg-card kg-gallery-card kg-width-wide"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/grrgg.PNG" width="498" height="513" loading="lazy" alt="Home Assistant - Energy Dashboard - Part 1"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/grgrgrg.PNG" width="497" height="457" loading="lazy" alt="Home Assistant - Energy Dashboard - Part 1"></div></div></div></figure><p>This is a really easy one, no coding required in the Yaml although it does require you to have installed <a href="https://github.com/RomRider/apexcharts-card?ref=tech-com.co.uk">ApexCharts Card</a> from HACS. It&apos;s purpose is to provide with an idea of what&apos;s drawing power at that current time. It can be added from in the same manner we did for the energy consumption card through editing the dashboard. Select Custom: ApexCharts Card and enter the following in the code editor adjusting sensor names out for your own...</p><pre><code class="language-javascript">type: custom:apexcharts-card
chart_type: pie
header:
  show: true
  title: kWh Today
  show_states: true
  colorize_states: true
series:
  - entity: sensor.monitor5_energy_today
    name: Monitor5
  - entity: sensor.monitor6_energy_today_2
    name: Monitor6
  - entity: sensor.tv1_plug_energy_today_2
    name: TV1
  - entity: sensor.tv2_plug_energy_today
    name: TV2
  - entity: sensor.tv3_plug_energy_today
    name: TV3
  - entity: sensor.optimus_energy_today
    name: Optimus
  - entity: sensor.primary_multiplug_energy_kwh
    name: Primary Multiplug
  - entity: sensor.secondary_multiplug_energy_kwh
    name: Secondary Multiplug
</code></pre><p> </p><p>Watts Hourly Bar Graph</p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/05/Capture3.PNG" class="kg-image" alt="Home Assistant - Energy Dashboard - Part 1" loading="lazy" width="525" height="269"></figure><p>I use this for quick comparison between what my equipment is drawing a both locations, it&apos;s not strictly needed as I also have Pie Chart&apos;s that cover both values. This will require the creation of another two template sensors which will total all the wattage readings (ENERGY Power) for that group.</p><ul><li><code>server_usage_current_wattage</code></li><li><code>monitored_devices_current_wattage</code></li></ul><pre><code class="language-javascript">      - platform: template
        sensors:
          server_usage_current_wattage:
                friendly_name: &quot;Server Usage Current Wattage&quot;
                unit_of_measurement: &apos;W&apos;
                icon_template: mdi:speedometer
                value_template: &quot;{{ (states(&apos;sensor.das_one_energy_power&apos;) | float + 
                                                        states(&apos;sensor.ultron_energy_power&apos;) | float) | round(2) }}&quot;

      - platform: template
        sensors:
          monitored_devices_current_wattage:
                friendly_name: &quot;Monitored Devices Current Wattage&quot;
                unit_of_measurement: &apos;W&apos;
                icon_template: mdi:speedometer
                value_template: &quot;{{ (states(&apos;sensor.monitor5_energy_power&apos;) | float + 
                                                        states(&apos;sensor.monitor6_energy_power_2&apos;) | float +
                                                        states(&apos;sensor.optimus_energy_power&apos;) | float + 
                                                        states(&apos;sensor.tv1_plug_energy_power&apos;) | float + 
                                                        states(&apos;sensor.tv2_plug_energy_power&apos;) | float +
                                                        states(&apos;sensor.tv3_plug_energy_power&apos;) | float +
                                                        states(&apos;sensor.primary_multiplug_power&apos;) | float +
                                                        states(&apos;sensor.secondary_multiplug_power&apos;) | float) | round(2) }}&quot;</code></pre><p>Check your Yaml again and reboot. You&apos;ll need the <a href="https://github.com/kalkih/mini-graph-card?ref=tech-com.co.uk">Mini graph card</a> for this one. Add the same way as we did for the others and place this code into it...<br></p><pre><code class="language-javascript">type: custom:mini-graph-card
icon: mdi:flash
entities:
  - entity: sensor.monitored_devices_current_wattage
    name: Battlestation
    color: green
  - entity: sensor.server_usage_current_wattage
    name: Server Gear
name: Watts Hourly
points_per_hour: 1
hours_to_show: 24
aggregate_func: avg
show:
  graph: bar
  extrema: true
</code></pre><p>This is my energy dashboard below along with Battle-Station control board. It&apos;s a combination of everything we have implemented in this part, there are a few things that aren&apos;t covered such as the &quot;Total Cost Including Standing Charge&quot; card and the &quot;Not Included in Cost&quot; card, this will be covered in another part (as their currently in flux) along with how to turn the wH readings the Meross plugs give to kWh.</p><p>Here&apos;s my full <a href="https://github.com/MrJay84/homeassistant/blob/main/configuration.yaml?ref=tech-com.co.uk">.yaml</a> for reference, personal stuff redacted of course.</p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/05/45435yt-1.PNG" class="kg-image" alt="Home Assistant - Energy Dashboard - Part 1" loading="lazy" width="797" height="1750" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/45435yt-1.PNG 600w, https://tech-com.co.uk/content/images/2022/05/45435yt-1.PNG 797w" sizes="(min-width: 720px) 720px"></figure><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/05/676767-1.PNG" class="kg-image" alt="Home Assistant - Energy Dashboard - Part 1" loading="lazy" width="817" height="1347" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/676767-1.PNG 600w, https://tech-com.co.uk/content/images/2022/05/676767-1.PNG 817w" sizes="(min-width: 720px) 720px"></figure>]]></content:encoded></item><item><title><![CDATA[Home Assistant - Energy Monitoring Hardware]]></title><description><![CDATA[<p></p><p>This post will detail the hardware I&apos;ve chosen for energy monitoring, remote control and basic cost analysis of all my tech gear running as, given the MESS the arse clowns we call &quot;leaders&quot; are making of the world, electricity is becoming expensive. Firstly a little bit</p>]]></description><link>https://tech-com.co.uk/home-assistant/</link><guid isPermaLink="false">6282a20c7587fb00015be674</guid><category><![CDATA[Hardware]]></category><category><![CDATA[Software]]></category><dc:creator><![CDATA[Mr Jay]]></dc:creator><pubDate>Wed, 18 May 2022 06:52:20 GMT</pubDate><media:content url="https://tech-com.co.uk/content/images/2022/05/blue_hero-1.webp" medium="image"/><content:encoded><![CDATA[<img src="https://tech-com.co.uk/content/images/2022/05/blue_hero-1.webp" alt="Home Assistant - Energy Monitoring Hardware"><p></p><p>This post will detail the hardware I&apos;ve chosen for energy monitoring, remote control and basic cost analysis of all my tech gear running as, given the MESS the arse clowns we call &quot;leaders&quot; are making of the world, electricity is becoming expensive. Firstly a little bit of history to explain the choices I made regarding hardware.</p><p></p><h1 id="lightwave-rf">LightWave RF</h1><p></p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/05/LightwaveRF-900x600.jpg" class="kg-image" alt="Home Assistant - Energy Monitoring Hardware" loading="lazy" width="900" height="600" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/LightwaveRF-900x600.jpg 600w, https://tech-com.co.uk/content/images/2022/05/LightwaveRF-900x600.jpg 900w" sizes="(min-width: 720px) 720px"></figure><p>Back in 2012, I was an early adopter of the LightWave range of remote control devices. At this time I was really only interested in remote control and spent a good three figured sum on In-Wall Outlets and Dimmer switches. It wasn&apos;t a great success as the Hub/Network Bridge required was buggy and required access to the Cloud. Additionally, some of the outlets would jam in the off position requiring a complete power cycle of the ring main that particular outlet was on. The Android app was buggy, commands were slow and very often it would turn off neighbouring LightWave devices! Reliability improved over the years but some outlets still jam, they have been left in situ as I can&apos;t be arsed replacing them at this time.</p><p></p><h1 id="meross">Meross</h1><p></p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/05/Meross-MSS210-Mini-Smart-WiFi-UK-Plug-Socket-Compatible-with-Amazon-Alexa-Google-Assistant-iOS-and.jpg" class="kg-image" alt="Home Assistant - Energy Monitoring Hardware" loading="lazy" width="692" height="305" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/Meross-MSS210-Mini-Smart-WiFi-UK-Plug-Socket-Compatible-with-Amazon-Alexa-Google-Assistant-iOS-and.jpg 600w, https://tech-com.co.uk/content/images/2022/05/Meross-MSS210-Mini-Smart-WiFi-UK-Plug-Socket-Compatible-with-Amazon-Alexa-Google-Assistant-iOS-and.jpg 692w"></figure><p>In 2019 I purchased a range of Meross MSS310 smart WiFi plugs to enable remote on/off of the many screens at the battle-station. I wanted WiFi as the wireless protocol as I don&apos;t want yet another bespoke HUB just to use them with. Three of the screens were Samsung TVs so one had to get creative with the remote or they would all respond, the auxiliary screens were manual only. &#xA0;They did feature energy monitoring but only a very basic sensor package, an additional correction would be needed in HA as the plugs measured Watt Hours (wH) not Kilo Watt Hours (kWh). I was planning on buying more but it seems that model was discontinued in it&apos;s UK form. Another drawback was the width, they would not allow neighbouring plugs to be inserted on a multi-gang. These have been kept for low powered lamps and such. </p><p></p><h1 id="tasmota-smart-plugs">Tasmota Smart Plugs</h1><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/05/20220429_191200.jpg" class="kg-image" alt="Home Assistant - Energy Monitoring Hardware" loading="lazy" width="2000" height="1500" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/20220429_191200.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/05/20220429_191200.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/05/20220429_191200.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/05/20220429_191200.jpg 2400w" sizes="(min-width: 720px) 720px"></figure><p>The tool of choice was some UK smart WiFi plugs pre-flashed with Tasmota available <a href="https://www.mylocalbytes.com/products/smart-plug-pm?variant=41600621510847&amp;ref=tech-com.co.uk">here</a>, again I wanted WiFi as the comms protocol given I now have excellent coverage for the entire property. <a href="https://tasmota.github.io/docs/?ref=tech-com.co.uk">Tasmota</a> is an open source firmware for ESP chipset devices offering a wide variety of control options using MQTT, Web UI, HTTP or serial plus OTA firmware upgrades. Designed to fit into the standard outlet profile, there&apos;s no trouble placing a few side by side in a multi-gang. Why not In-wall versions? Two reasons.....can&apos;t be bothered installing them and easy removal/upgrade if required. Integration is seamless with HA and provides a good number of sensors for HA to work with such as seen in the image below. </p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/05/rgggg-1.PNG" class="kg-image" alt="Home Assistant - Energy Monitoring Hardware" loading="lazy" width="669" height="779" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/rgggg-1.PNG 600w, https://tech-com.co.uk/content/images/2022/05/rgggg-1.PNG 669w"></figure><p>I bought 8 of these devices for the Battle-Station and Server Gear divided up between equipment differently depending on the device. I&apos;ll explain this more so you can understand why some plugs were placed BEFORE the UPS and some placed AFTER. </p><p>All the equipment is on 4 x APC 750i Smart UPS&apos;s divided up into two sets, 2 x for the battle-station and 2 x for the server gear. As the server gear is running 24/7 I want to be recording the FULL power draw which includes the UPS overhead, on/off control while present, isn&apos;t a priority as this gear must always be running. The battle-station is not a 24/7 operation and so on/off control along with energy monitoring per device is required. In this situation the plugs are divided up per device AFTER the UPS. Obviously the full overhead is not recorded however we can estimate it usage by introducing a static figure in HA for usage/costs once I determine the overhead of the UPS. The breakdown is as follows...</p><p><strong>Server Gear</strong></p><ul><li>Primary UPS - Ultron-Server, on it&apos;s own UPS due to it&apos;s power draw </li><li>Secondary UPS - DAS One plus Auxiliaries which include 48P Gb Switch, 8P PoE Gb Switch (cameras, Raspberry Pi&apos;s, Wifi APs) and the HDHomerun TV tuners</li></ul><p><strong>Battle-Station</strong></p><ul><li>Primary UPS - Optimus-PC, on it&apos;s own UPS due to it&apos;s power draw</li><li>Secondary UPS - TVs 1,2 &amp; 3, Monitors 5 &amp; 6</li></ul><p>There are other devices on the battle-station secondary UPS which are not as yet on on smart plugs, mainly because they&apos;re hardly used or draw very little. These include a set of Logitech z5500 speakers, Wacom Cintiq 32&quot; Graphics Tablet, Nintendo Wii U, 8P Gb switch &amp; Brother Printer. IEC C14 plug adapters, which are a few pounds each off amazon, were required to use UK plugs with the UPS.</p><figure class="kg-card kg-gallery-card kg-width-wide kg-card-hascaption"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/61-2mDD9A6L._SL1500_-2.jpg" width="375" height="366" loading="lazy" alt="Home Assistant - Energy Monitoring Hardware"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/APC_Smart-UPS_750VA_front_-_back_atec_710x388.png" width="710" height="388" loading="lazy" alt="Home Assistant - Energy Monitoring Hardware" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/APC_Smart-UPS_750VA_front_-_back_atec_710x388.png 600w, https://tech-com.co.uk/content/images/2022/05/APC_Smart-UPS_750VA_front_-_back_atec_710x388.png 710w"></div></div></div><figcaption>IEC C14 &amp; APC 750i UPS</figcaption></figure><p></p><h1 id="home-assistant-configuration">Home Assistant Configuration</h1><p></p><p>Okay so first of all we need to configure HA to talk to your new plugs. We&apos;ll need an MQTT broker followed by the Tasmota integration, so head into HA settings...</p><ul><li>Add-Ons</li><li>Add-on Store</li><li>Search for Mosquitto Broker (MQTT Broker)</li><li>Install Mosquitto and start it up making sure the watchdog option is enabled</li></ul><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/05/uyuytuyti.PNG" class="kg-image" alt="Home Assistant - Energy Monitoring Hardware" loading="lazy" width="1172" height="576" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/uyuytuyti.PNG 600w, https://tech-com.co.uk/content/images/size/w1000/2022/05/uyuytuyti.PNG 1000w, https://tech-com.co.uk/content/images/2022/05/uyuytuyti.PNG 1172w" sizes="(min-width: 720px) 720px"></figure><p>Now we need to set up a user credentials for the devices to use...</p><ul><li>Settings</li><li>People</li><li>Users (Top Right)</li><li>Add User</li><li>Fill out details as appropriate making sure its set for local network only and NOT an administrator</li><li>Reboot HA</li></ul><p></p><p>Once HA has restarted we need to setup the broker with the new credentials created...</p><ul><li>Settings</li><li>Devices &amp; Services</li><li>You should now see the MQTT broker integration</li><li>Hit Configure</li><li>Enter the Host IP of your HA</li><li>Enter username/password you just setup in the last step</li><li>Hit Next</li><li>Leave everything as is and select submit</li></ul><p></p><p>Now we have to install the Tasmota Integration...</p><ul><li>Settings</li><li>Devices &amp; Services</li><li>Add Integration</li><li>Search for Tasmota</li><li>Install Tasmota</li><li>Reboot HA</li></ul><p></p><h1 id="tasmota-config">Tasmota Config</h1><p></p><p>Time to setup the Tasmota plugs themselves. Plug it into the mains and scan for the Tasmota device via WiFi and connect, this will bring up the Tasmota admin page where it will ask for your WiFi SSID, you may want to do this on a phone/ tabletp if a PC is not nearby. Enter the WiFi details and connect, the device will then reboot. I have mine connected via my NoT VLAN SSID which is completely blocked from going online, I highly suggest you do the same! As there&apos;s no WAN access allowed, the NTP function is blocked along with OTA updates. In my case Ultron functions as the NTP server so I can instruct the plug to use it by using the command <code>NTPServer1 ULTRONS_IP </code> in the console. Firmware updates are performed manually although running a private OTA server is possible.</p><p>Once it&apos;s reset it will have a new IP which you&apos;ll find in your router management page. The device can now be managed by this IP address which I recommend you make static to save on any headaches down the road. Put the new IP into your browser and go to the admin page.</p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/05/tasz1.PNG" class="kg-image" alt="Home Assistant - Energy Monitoring Hardware" loading="lazy" width="429" height="799"></figure><p>We will now name the device and enter the MQTT details...</p><ul><li>Select Configuration</li><li>Configure Other</li><li>Enter the device name and friendly name, you can also set an admin password for the admin page at this stage if you want</li><li>Save</li></ul><p>The device may restart at this stage...</p><ul><li>Back into Configuration</li><li>Configure MQTT</li><li>Enter Home Assistants IP</li><li>Enter the MQTT username/password setup previously</li></ul><p>Now we need to set the device to show up in HA...</p><ul><li>Back into Configuration</li><li>Console</li><li>Enter <code>SetOption19 0</code></li><li>It should return a result of {&quot;SetOption19&quot;:&quot;OFF&quot;}</li></ul><p>That&apos;s the device now fully configured for use in HA, go back into the integrations page on HA and you should see it showing up under the Tasmota tab. If you click on the device entry you should now see all the sensors the devices features.</p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/05/thgthjgyh.PNG" class="kg-image" alt="Home Assistant - Energy Monitoring Hardware" loading="lazy" width="1185" height="557" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/thgthjgyh.PNG 600w, https://tech-com.co.uk/content/images/size/w1000/2022/05/thgthjgyh.PNG 1000w, https://tech-com.co.uk/content/images/2022/05/thgthjgyh.PNG 1185w" sizes="(min-width: 720px) 720px"></figure><p></p><p>In the next post we&apos;ll look at using these sensors to create an energy dashboard such as the one below...cool huh?</p><figure class="kg-card kg-gallery-card kg-width-wide"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/jhhkj-1.PNG" width="797" height="1369" loading="lazy" alt="Home Assistant - Energy Monitoring Hardware" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/jhhkj-1.PNG 600w, https://tech-com.co.uk/content/images/2022/05/jhhkj-1.PNG 797w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/uiuiuyi.PNG" width="809" height="1693" loading="lazy" alt="Home Assistant - Energy Monitoring Hardware" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/uiuiuyi.PNG 600w, https://tech-com.co.uk/content/images/2022/05/uiuiuyi.PNG 809w" sizes="(min-width: 720px) 720px"></div></div></div></figure><p></p><p></p><p></p><p></p><p></p>]]></content:encoded></item><item><title><![CDATA[Home Assistant - OS Installation]]></title><description><![CDATA[<p></p><p>This is the first part of many in a series of Home Assistant posts detailing my setup using a combination of various hardware and instructions on how to duplicate my setup. Home Assistant is a central control system for home automation with a focus on privacy for IoT devices from</p>]]></description><link>https://tech-com.co.uk/home-assistant-installation/</link><guid isPermaLink="false">6282bc087587fb00015be77c</guid><category><![CDATA[Software]]></category><category><![CDATA[Hardware]]></category><dc:creator><![CDATA[Mr Jay]]></dc:creator><pubDate>Wed, 18 May 2022 06:51:21 GMT</pubDate><media:content url="https://tech-com.co.uk/content/images/2022/05/ha.png" medium="image"/><content:encoded><![CDATA[<img src="https://tech-com.co.uk/content/images/2022/05/ha.png" alt="Home Assistant - OS Installation"><p></p><p>This is the first part of many in a series of Home Assistant posts detailing my setup using a combination of various hardware and instructions on how to duplicate my setup. Home Assistant is a central control system for home automation with a focus on privacy for IoT devices from different manufacturers through a modular plugin system and includes native integration components for wireless communication protocols such as <a href="https://en.wikipedia.org/wiki/Zigbee?ref=tech-com.co.uk">Zigbee</a>, and <a href="https://en.wikipedia.org/wiki/Z-Wave?ref=tech-com.co.uk">Z-Wave</a>. It also supports automation either through the built-in GUI, YAML or via Node-Red. It can be run on ARM or x86 platforms on Linux, Mac, Windows, Pi, Android, Docker and others with Android, iOS, http remote control being a key aspect. You are not tied down to any one ecosystem and can be 100% off the cloud! Some examples of supported devices...<br></p><ul><li>Smart Plugs</li><li>Smart In-wall Outlets</li><li>Lights</li><li>In-wall light controls</li><li>Flood Sensors</li><li>PIR Sensors</li><li>Boiler Control</li><li>Thermometers</li><li>Humidity Sensors</li><li>Thermostats</li><li>Fire/CO2 Alarms</li><li>Door Sensors</li><li>Cameras</li></ul><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tech-com.co.uk/content/images/2022/05/20220517_025513-1.jpg" class="kg-image" alt="Home Assistant - OS Installation" loading="lazy" width="2000" height="1500" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/20220517_025513-1.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/05/20220517_025513-1.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/05/20220517_025513-1.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/05/20220517_025513-1.jpg 2400w" sizes="(min-width: 720px) 720px"><figcaption>A small selection of my devices types</figcaption></figure><p>There&apos;s wide variety of hardware options for running HA such as dedicated SFF PCs, Raspberry Pi&apos;s, Macs/ Mac Mini&apos;s, Full PCs, Virtual Machines &amp; NAS devices. Recently they released their own dedicated hardware named &quot;Blue&quot; which is a small compact device solely for running HA. HA needs to be running 24/7 so your hardware choice is critical as you don&apos;t want to be running a high power draw machine. HA is very light weight and doesn&apos;t need much to run on.</p><p>Basically it comes down to this, if you have mid range NAS/ PC or Server running 24/7 then run it on there, if not use, a low powered device such as the HA Blue or Raspberry Pi. Another good option are second hand SFF/ Thin clients from HP (EliteDesk) or Dell (Optiplex) which came be found for very responsible prices on eBay, often cheaper than Raspberry Pi&apos;s, they are also very low in power consumption. If I wasn&apos;t running a server then these would be my choice as you get the full power of the x86 platform, full SSD and better expansion options. If you do go for these find one of the T models as these are even lower in power consumption. You&apos;ll find that while they draw twice the power, at around ten watts Vs the Pi&apos;s four watts, the performance is many times that of the Pi. Raspberry Pi&apos;s a good machines but they are slower had can develop issues with the SD card being corrupted as HA likes to write data, also good luck finding one these days.</p><figure class="kg-card kg-gallery-card kg-width-wide kg-card-hascaption"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/NSSYN-DX517.jpg" width="1600" height="1600" loading="lazy" alt="Home Assistant - OS Installation" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/NSSYN-DX517.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/05/NSSYN-DX517.jpg 1000w, https://tech-com.co.uk/content/images/2022/05/NSSYN-DX517.jpg 1600w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/Intel-NUC-i7-mainoffset1.jpg" width="1500" height="1000" loading="lazy" alt="Home Assistant - OS Installation" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/Intel-NUC-i7-mainoffset1.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/05/Intel-NUC-i7-mainoffset1.jpg 1000w, https://tech-com.co.uk/content/images/2022/05/Intel-NUC-i7-mainoffset1.jpg 1500w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/PI.jpg" width="1600" height="1200" loading="lazy" alt="Home Assistant - OS Installation" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/PI.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/05/PI.jpg 1000w, https://tech-com.co.uk/content/images/2022/05/PI.jpg 1600w" sizes="(min-width: 720px) 720px"></div></div><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/727.webp" width="1200" height="1200" loading="lazy" alt="Home Assistant - OS Installation" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/727.webp 600w, https://tech-com.co.uk/content/images/size/w1000/2022/05/727.webp 1000w, https://tech-com.co.uk/content/images/2022/05/727.webp 1200w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/xs35gta.jpg" width="600" height="820" loading="lazy" alt="Home Assistant - OS Installation" srcset="https://tech-com.co.uk/content/images/2022/05/xs35gta.jpg 600w"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/Screen-Shot-2021-01-04-at-6.13.50-PM.webp" width="850" height="476" loading="lazy" alt="Home Assistant - OS Installation" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/Screen-Shot-2021-01-04-at-6.13.50-PM.webp 600w, https://tech-com.co.uk/content/images/2022/05/Screen-Shot-2021-01-04-at-6.13.50-PM.webp 850w" sizes="(min-width: 720px) 720px"></div></div></div><figcaption>A wide variety of hardware options</figcaption></figure><p>As I already have a 24/7 server in the form of Ultron, I&apos;ll be installing Home Assistant OS in a VM in place of the container version as it&apos;s much more powerful and is the recommended installation. To install a VM normally you&apos;d use an ISO image however we&apos;ll be downloading the pre-assembled qcow2 vDisk image.<br></p><ol><li>Go <a href="https://github.com/home-assistant/operating-system/releases?ref=tech-com.co.uk">here </a>and download the latest qcow2 vDisk image</li><li>Go to your Domains folder on Unraid and create a new folder for the VM, name it as you wish</li><li>Place the downloaded qcow2 image in there</li><li>Setup a new VM in Unraid by choosing the generic Linux profile</li><li>Name your VM</li><li>Select the cores you want to give it</li><li>Set the RAM amount (4Gb in my case, it won&apos;t need anymore than that)</li><li>Set the Machine variable to Q34-6.2 or whatever the latest is</li><li>BIOS should be OVMF</li><li>Set the Primary vDisk location to the folder containing the qcow2 image</li><li>Set vDisk bus to SATA</li><li>Set the Network Bridge to whatever you&apos;re using for VM&apos;s</li><li>Start your new VM</li></ol><figure class="kg-card kg-gallery-card kg-width-wide kg-card-hascaption"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/hatemplate1-1.PNG" width="1055" height="1011" loading="lazy" alt="Home Assistant - OS Installation" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/hatemplate1-1.PNG 600w, https://tech-com.co.uk/content/images/size/w1000/2022/05/hatemplate1-1.PNG 1000w, https://tech-com.co.uk/content/images/2022/05/hatemplate1-1.PNG 1055w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/05/hatemplate2.PNG" width="1027" height="762" loading="lazy" alt="Home Assistant - OS Installation" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/hatemplate2.PNG 600w, https://tech-com.co.uk/content/images/size/w1000/2022/05/hatemplate2.PNG 1000w, https://tech-com.co.uk/content/images/2022/05/hatemplate2.PNG 1027w" sizes="(min-width: 720px) 720px"></div></div></div><figcaption>Unraid Template</figcaption></figure><p>Okay now that it&apos;s running click on the VM and use the VNC remote option. Once HA is ready you&apos;ll be presented with the the HA CLI, just navigate to the http address or IP given to begin configuring HA. Just follow the on screen instructions to tailor the installation as required. I highly recommend you assign a static IP for your VM or this will create issues down the line!</p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/05/ffffgfg.PNG" class="kg-image" alt="Home Assistant - OS Installation" loading="lazy" width="1181" height="526" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/ffffgfg.PNG 600w, https://tech-com.co.uk/content/images/size/w1000/2022/05/ffffgfg.PNG 1000w, https://tech-com.co.uk/content/images/2022/05/ffffgfg.PNG 1181w" sizes="(min-width: 720px) 720px"></figure><p></p><p>So now we have a vanilla installation to work with, there&apos;s some addons I recommend installing at this stage for future use. These can all be found in Settings - Add-Ons - Add-On Store.</p><ul><li>Studio Code Server (VSCode) - HA is YAML based so we need an easy way of editing the various config files. This undoubtedly the best method and comes with syntax highlighting as not everything can be done in the GUI.</li><li>Samba Share - You&apos;ll need this on the off chance you screw up your configurations.yaml</li><li>Terminal &amp; SSH - Same reason as above plus CLI interface</li><li>HACS - Community store, you&apos;ll need this for the to install the dashboards covered in the next article. &#xA0;Installation is different, see <a href="https://hacs.xyz/docs/setup/download?ref=tech-com.co.uk">here</a></li></ul><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/05/3243243.PNG" class="kg-image" alt="Home Assistant - OS Installation" loading="lazy" width="1596" height="503" srcset="https://tech-com.co.uk/content/images/size/w600/2022/05/3243243.PNG 600w, https://tech-com.co.uk/content/images/size/w1000/2022/05/3243243.PNG 1000w, https://tech-com.co.uk/content/images/2022/05/3243243.PNG 1596w" sizes="(min-width: 720px) 720px"></figure><p></p><p>In the next post I&apos;ll cover the setup of the energy monitoring devices</p>]]></content:encoded></item><item><title><![CDATA[TP-Link Omada]]></title><description><![CDATA[<p></p><p>			For many years I&apos;ve been drooling of the Ubiquity AP range of hardware controlled WiFi access points. They do have a lovely ecosystem of cameras, AP&apos;s, Switches, Doorbells, Firewalls etc. The problem I had with Ubiquity was the increasing cloud based nature and possible backdoors built</p>]]></description><link>https://tech-com.co.uk/omada/</link><guid isPermaLink="false">625c1bdee9c74a00012c4a69</guid><dc:creator><![CDATA[Mr Jay]]></dc:creator><pubDate>Sun, 17 Apr 2022 20:04:59 GMT</pubDate><media:content url="https://tech-com.co.uk/content/images/2022/04/TP-Link-Omada-SDN.jpg" medium="image"/><content:encoded><![CDATA[<img src="https://tech-com.co.uk/content/images/2022/04/TP-Link-Omada-SDN.jpg" alt="TP-Link Omada"><p></p><p>			For many years I&apos;ve been drooling of the Ubiquity AP range of hardware controlled WiFi access points. They do have a lovely ecosystem of cameras, AP&apos;s, Switches, Doorbells, Firewalls etc. The problem I had with Ubiquity was the increasing cloud based nature and possible backdoors built into their product range, they&apos;ve also had some monumental hacks of late which they&apos;re trying to keep quite. They are also very costly for what they do.</p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/04/ubiquiti-products-1-1024x561.png" class="kg-image" alt="TP-Link Omada" loading="lazy" width="1485" height="521" srcset="https://tech-com.co.uk/content/images/size/w600/2022/04/ubiquiti-products-1-1024x561.png 600w, https://tech-com.co.uk/content/images/size/w1000/2022/04/ubiquiti-products-1-1024x561.png 1000w, https://tech-com.co.uk/content/images/2022/04/ubiquiti-products-1-1024x561.png 1485w" sizes="(min-width: 720px) 720px"></figure><p><br><br>			For along time my Draytek 2860Vn was my main router/firewall and also hardware controller for my two Draytek APs. Now that it&apos;s been replaced with an OPNsense VM firewall, it was time to start on the WiFi upgrade project. Firstly I need to explain the construction of this property a bit. The house was built in circa 1850 and as such, being of Victorian construction, the walls are made of sandstone blocks a good few feet thick. The house was built even before gas lighting was a thing and never designed for cables at all. Wifi in the early years was always a struggle especially back in 2003 when I put in the first Linksys WRT54G router. The solution to this problem was more AP&apos;s but in those days Mesh (which I still don&apos;t trust) didn&apos;t exist and so my only solution was to run an ethernet backhaul from the primary router sited downstairs to an AP in the attic. AP&apos;s in the attic didn&apos;t have the same problem with sandstone walls as the AP&apos;s downstairs as the ceilings are just plaster, no problem for on suitably mounted attic AP to penetrate and cover all the upstairs rooms. </p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tech-com.co.uk/content/images/2022/04/20220417_203113.jpg" class="kg-image" alt="TP-Link Omada" loading="lazy" width="2000" height="2667" srcset="https://tech-com.co.uk/content/images/size/w600/2022/04/20220417_203113.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/04/20220417_203113.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/04/20220417_203113.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/04/20220417_203113.jpg 2400w" sizes="(min-width: 720px) 720px"><figcaption>Wall thickness, about 3 feet!</figcaption></figure><p>			Downstairs was another matter entirely, again due to the thick walls almost every room would need it&apos;s own AP and ethernet backhaul! The primary router was in the kitchen is at one corner of the house and so would really only cover that area and maybe the next room with drastically reduced bandwidth. Another AP would be required in the living room which was at the diametric opposite from the kitchen. With this in mind in 2008 I decided to to run an ethernet backhaul cable from the primary router to the attic and then also down to the living room. Luckily where the router was sited, a small trunk built in from the 1960s when the house got its first boiler. This was to house all the hot water pipes running into the attic header water tank. These were all disconnected in the mid 90s so the old pipes were available for running cables down or just pass them down the trunk space. Getting a cable into the living room was slightly easier as it still had an old TV ariel cable installed in the exact location I wanted to site the AP, the solution was to attach the CAT6 attic end and pull it down. At the time of running these cables I also replaced the ariel coax with a new cable and also a telephone line cable from the kitchen into the attic, ADSL was still in use at the time and I wanted future flexibility which and ADSL modem sited in the attic, in the end it never got used. As for garden access...forget it! Outdoor AP&apos;s in those days went for an easy &#xA3;800 for a standard device and twice that for a PoE version, not including the PoE switch! It also meant running more exterior cables which are unsightly and a major undertaking on sandstone walls, they don&apos;t take cable tacs and the grouting just fell away.</p><figure class="kg-card kg-gallery-card kg-width-wide kg-card-hascaption"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/04/L48-2500-a.jpg" width="500" height="500" loading="lazy" alt="TP-Link Omada"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/04/Linksys-WUSB300N-Wireless-N-USB-Network-Adapter-Refurbished-69e1b718-4c83-4439-bafa-f3d1114fb824_600.jpg" width="600" height="600" loading="lazy" alt="TP-Link Omada" srcset="https://tech-com.co.uk/content/images/2022/04/Linksys-WUSB300N-Wireless-N-USB-Network-Adapter-Refurbished-69e1b718-4c83-4439-bafa-f3d1114fb824_600.jpg 600w"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/04/wrt54g.jpg" width="1280" height="1179" loading="lazy" alt="TP-Link Omada" srcset="https://tech-com.co.uk/content/images/size/w600/2022/04/wrt54g.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/04/wrt54g.jpg 1000w, https://tech-com.co.uk/content/images/2022/04/wrt54g.jpg 1280w" sizes="(min-width: 720px) 720px"></div></div><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/04/cisco-linksys-ag241-v2-adsl2-modem-router-with-4-port-switch-no-ac-adapter--3--38215-p.jpg" width="1024" height="746" loading="lazy" alt="TP-Link Omada" srcset="https://tech-com.co.uk/content/images/size/w600/2022/04/cisco-linksys-ag241-v2-adsl2-modem-router-with-4-port-switch-no-ac-adapter--3--38215-p.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/04/cisco-linksys-ag241-v2-adsl2-modem-router-with-4-port-switch-no-ac-adapter--3--38215-p.jpg 1000w, https://tech-com.co.uk/content/images/2022/04/cisco-linksys-ag241-v2-adsl2-modem-router-with-4-port-switch-no-ac-adapter--3--38215-p.jpg 1024w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/04/linksys_wag200.jpg" width="400" height="400" loading="lazy" alt="TP-Link Omada"></div></div></div><figcaption>The old guard</figcaption></figure><p><br>			This arrangement was okay for a while however at the time the additional APs were repurposed cheap routers, not the best for administration plus there was no roaming or zero hand off at all. In 2010 I decided each room was getting dual CAT6 lines as now most rooms had media centres (some SFF PC&apos;s and soft-modded Xbox&apos;s) streaming AVI&apos;s via SMB from a few NAS devices, this kind of bandwidth use would kill the WiFi. I also installed a cable for future outdoor AP that sat unused until recently.</p><figure class="kg-card kg-gallery-card kg-width-wide kg-card-hascaption"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/04/20220215_171834-2.jpg" width="2000" height="1500" loading="lazy" alt="TP-Link Omada" srcset="https://tech-com.co.uk/content/images/size/w600/2022/04/20220215_171834-2.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/04/20220215_171834-2.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/04/20220215_171834-2.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/04/20220215_171834-2.jpg 2400w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/04/20220228_191527-2.jpg" width="2000" height="2667" loading="lazy" alt="TP-Link Omada" srcset="https://tech-com.co.uk/content/images/size/w600/2022/04/20220228_191527-2.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/04/20220228_191527-2.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/04/20220228_191527-2.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/04/20220228_191527-2.jpg 2400w" sizes="(min-width: 720px) 720px"></div></div></div><figcaption>Draytek router and AP</figcaption></figure><p>			The new Drayek routers introduced in 2013 had the ability to function as a hardware controller for Draytek AP&apos;s, these were okay but the zero handoff/roaming never worked well especially when I introduced VLANs. I went through two Draytek APs in the attic, each one would be fine for a while then started suffering from strange firmware issues, not responding, needing re-flashed etc. This was despite being PoE powered from a small Netgear PoE switch (for the 2012 PoE camera project) so if there was any surges the switch should have got zapped first, there was never any issue with the switch...strange. All the attic equipment is now protected by UPS. This brings me to present day where I had enough of the WiFi issues and also wanted to finally put in a garden/outdoor AP. Going back to Ubiquity, I was looking for a cheaper alternative and without the cloud nonsense they seem to be obsessed with. After asking about on the IBRACORP discord room the new TP-LINK Omada range was recommended. After some research Omada was absolutely perfect for my needs and at almost 1/3rd the expense of Ubiquity. The AP&apos;s would function on PoE 802 af where as Ubiquity would mainly need 802 at, no PoE switch upgrade needed...another expense.</p><figure class="kg-card kg-gallery-card kg-width-wide"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/04/20220407_165111.jpg" width="2000" height="1500" loading="lazy" alt="TP-Link Omada" srcset="https://tech-com.co.uk/content/images/size/w600/2022/04/20220407_165111.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/04/20220407_165111.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/04/20220407_165111.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/04/20220407_165111.jpg 2400w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/04/20220407_172746.jpg" width="2000" height="1500" loading="lazy" alt="TP-Link Omada" srcset="https://tech-com.co.uk/content/images/size/w600/2022/04/20220407_172746.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/04/20220407_172746.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/04/20220407_172746.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/04/20220407_172746.jpg 2400w" sizes="(min-width: 720px) 720px"></div></div><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/04/20220407_184930-1.jpg" width="2000" height="2667" loading="lazy" alt="TP-Link Omada" srcset="https://tech-com.co.uk/content/images/size/w600/2022/04/20220407_184930-1.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/04/20220407_184930-1.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/04/20220407_184930-1.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/04/20220407_184930-1.jpg 2400w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/04/20220410_195745.jpg" width="2000" height="1500" loading="lazy" alt="TP-Link Omada" srcset="https://tech-com.co.uk/content/images/size/w600/2022/04/20220410_195745.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/04/20220410_195745.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/04/20220410_195745.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/04/20220410_195745.jpg 2400w" sizes="(min-width: 720px) 720px"></div></div></div></figure><p><br>			Given technology had moved on, I bought two EAP225 Outdoor AP&apos;s, one for downstairs mounted on the pole that holds my two upper screens at the battle station and the other going in the attic. This was to evaluate the devices before buying a ceiling mounted AP for the attic which could only go there. The controller was then installed onto the unRAID server in a container, it was simply a case of plug and play, the container would send all the VLAN and SSID settings to the APs in seconds. &#xA0;Zero handoff/roaming was absolutely seamless even with media players or VOIP. Bandwidth was also excellent on tests including coverage, now I only need one AP downstairs, one in the attic and one outdoor AP. All the media players were replaced with Amazon FireSticks years ago streaming from Emby (GPU Transcodes as the library is mainly x265). The Omada AP range comes in pole mounts, ceiling &amp; wall plate versions, currently there is no desktop version.</p><figure class="kg-card kg-gallery-card kg-width-wide kg-card-hascaption"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/04/sadad.PNG" width="412" height="419" loading="lazy" alt="TP-Link Omada"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/04/sasasdas.PNG" width="420" height="417" loading="lazy" alt="TP-Link Omada"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/04/ssasd.PNG" width="414" height="420" loading="lazy" alt="TP-Link Omada"></div></div></div><figcaption>The EAP225 Range</figcaption></figure><p> 			Now the APs were proven after a few weeks of intense use I purchased a ceiling mounted EAP225 version to mount in the attic roof peak and moved the previous one (an outdoor AP) to the garden. The garden is about 35 metres in length with a small summer house at the bottom so this is where the real test came in. The AP&apos;s did not fail to disappoint! Even at the end of the garden I had a strong signal on all WiFi devices (mainly android phones) and excellent bandwidth at 600-700 Mbps..more than enough for streaming &#xA0;1080p content. The android app is excellent also, you can control all aspects of your config very easily plus access information on all connected clients/neighbouring APs/statistics. Firmware update is also a single click to upgrade them all! The Omada container is on a NoT VLAN so it has no WAN access at all, no back doors!</p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/04/tp1-2.PNG" class="kg-image" alt="TP-Link Omada" loading="lazy" width="1591" height="710" srcset="https://tech-com.co.uk/content/images/size/w600/2022/04/tp1-2.PNG 600w, https://tech-com.co.uk/content/images/size/w1000/2022/04/tp1-2.PNG 1000w, https://tech-com.co.uk/content/images/2022/04/tp1-2.PNG 1591w" sizes="(min-width: 720px) 720px"></figure><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/04/tp2-2.PNG" class="kg-image" alt="TP-Link Omada" loading="lazy" width="1575" height="860" srcset="https://tech-com.co.uk/content/images/size/w600/2022/04/tp2-2.PNG 600w, https://tech-com.co.uk/content/images/size/w1000/2022/04/tp2-2.PNG 1000w, https://tech-com.co.uk/content/images/2022/04/tp2-2.PNG 1575w" sizes="(min-width: 720px) 720px"></figure><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/04/tp3-3.PNG" class="kg-image" alt="TP-Link Omada" loading="lazy" width="1562" height="897" srcset="https://tech-com.co.uk/content/images/size/w600/2022/04/tp3-3.PNG 600w, https://tech-com.co.uk/content/images/size/w1000/2022/04/tp3-3.PNG 1000w, https://tech-com.co.uk/content/images/2022/04/tp3-3.PNG 1562w" sizes="(min-width: 720px) 720px"></figure><p><br>			In conclusion these have been an excellent choice and almost cost neutral as I sold my old Draytek equipment on ebay. The outdoor APs were &#xA3;90 from Amazon and the Ceiling AP &#xA3;65, controller is free if self hosted. Why not WiFI 6 you may ask? I don&apos;t as yet do 4k and it just isn&apos;t worth the expense at this stage, these will happily do 4k transcodes if need be, anything heavy runs off the CAT6 backhaul. Will it be an option in the future? Of course it will but when I have the need. Omada also supports other devices in the range such as switches and firewalls, the next stage will be to replace my 48 Port Netgear and 8 Port Netgear switch with Omada range devices. They also have a range of Omada WiFi 6 AP&apos;s coming out but I suspect these will require a 802 at switch which will be part of the external camera upgrade project.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tech-com.co.uk/content/images/2022/04/20220407_184930.jpg" class="kg-image" alt="TP-Link Omada" loading="lazy" width="2000" height="2667" srcset="https://tech-com.co.uk/content/images/size/w600/2022/04/20220407_184930.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/04/20220407_184930.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/04/20220407_184930.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/04/20220407_184930.jpg 2400w" sizes="(min-width: 720px) 720px"><figcaption>Outdoor AP</figcaption></figure><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tech-com.co.uk/content/images/2022/04/20220407_185122.jpg" class="kg-image" alt="TP-Link Omada" loading="lazy" width="2000" height="2667" srcset="https://tech-com.co.uk/content/images/size/w600/2022/04/20220407_185122.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/04/20220407_185122.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/04/20220407_185122.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/04/20220407_185122.jpg 2400w" sizes="(min-width: 720px) 720px"><figcaption>Outdoor AP marked with a red arrow</figcaption></figure><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tech-com.co.uk/content/images/2022/04/20220407_185209.jpg" class="kg-image" alt="TP-Link Omada" loading="lazy" width="2000" height="1500" srcset="https://tech-com.co.uk/content/images/size/w600/2022/04/20220407_185209.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/04/20220407_185209.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/04/20220407_185209.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/04/20220407_185209.jpg 2400w" sizes="(min-width: 720px) 720px"><figcaption>Outdoor AP marked with a red arrow notice the large Peroni...class!</figcaption></figure><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tech-com.co.uk/content/images/2022/04/Screenshot_20220417-204936_Wifi-Analyzer.jpg" class="kg-image" alt="TP-Link Omada" loading="lazy" width="1080" height="2220" srcset="https://tech-com.co.uk/content/images/size/w600/2022/04/Screenshot_20220417-204936_Wifi-Analyzer.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/04/Screenshot_20220417-204936_Wifi-Analyzer.jpg 1000w, https://tech-com.co.uk/content/images/2022/04/Screenshot_20220417-204936_Wifi-Analyzer.jpg 1080w" sizes="(min-width: 720px) 720px"><figcaption>The Outdoor AP is the higher wave at 2.4Ghz. Reading taken at the bottom of the garden.</figcaption></figure><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tech-com.co.uk/content/images/2022/04/Screenshot_20220417-204919_Wifi-Analyzer.jpg" class="kg-image" alt="TP-Link Omada" loading="lazy" width="1080" height="2220" srcset="https://tech-com.co.uk/content/images/size/w600/2022/04/Screenshot_20220417-204919_Wifi-Analyzer.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/04/Screenshot_20220417-204919_Wifi-Analyzer.jpg 1000w, https://tech-com.co.uk/content/images/2022/04/Screenshot_20220417-204919_Wifi-Analyzer.jpg 1080w" sizes="(min-width: 720px) 720px"><figcaption>The Outdoor AP is the higher wave at 5 Ghz. Reading taken at the bottom of the garden.</figcaption></figure><p></p><p>**All Omada AP&apos;s come with a PoE injector so a PoE switch isn&apos;t required.<br><br><br></p>]]></content:encoded></item><item><title><![CDATA[A.R.M.]]></title><description><![CDATA[Automatic Ripping Machine]]></description><link>https://tech-com.co.uk/a-r-m/</link><guid isPermaLink="false">623f0c31a4f0d6000184dabf</guid><category><![CDATA[Hardware]]></category><category><![CDATA[Software]]></category><dc:creator><![CDATA[Mr Jay]]></dc:creator><pubDate>Sat, 26 Mar 2022 22:18:36 GMT</pubDate><media:content url="https://tech-com.co.uk/content/images/2022/03/Capture-1--1-.png" medium="image"/><content:encoded><![CDATA[<img src="https://tech-com.co.uk/content/images/2022/03/Capture-1--1-.png" alt="A.R.M."><p></p><p>		I&apos;m always being given DVDs by a family member to rip. This stuff is generally special interest or British media that&apos;s not widely available online and so ripping is the only choice and for backup purposes. Currently on my daily driver PC I have 2 x DVD drives and so while ripping a few disks at a time is no big issue, I wanted a more automated process where the user simply puts the disk in the drive then the machine does it&apos;s thing, ejecting the disk ready for the next one. It also means I don&apos;t have to do it anymore and as I work offshore, I don&apos;t have a pile waiting on me when I return home.</p><p>		I went in search of such software and came across the <a href="https://github.com/automatic-ripping-machine/automatic-ripping-machine?ref=tech-com.co.uk">ARM project</a>. ARM runs on Linux and is designed to do exactly what I need AND also rip Audio CDs and Blu-ray&apos;s. It can be run in a standalone system or on a Virtual Machine with the drives passed through. ARM is designed to process the media itself using Handbrake CLI however my implementation of ARM is slightly different. If you plan on ripping Blu-ray&apos;s you&apos;ll need the paid version of MakeMKV but not for DVD or Audio. ARM also comes with built in WebUI for changing various default options in the .yaml config file for each disk. There is a time delay between disk ingestion for the user to change these defaults before ripping begins. </p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/03/Capture-2.PNG" class="kg-image" alt="A.R.M." loading="lazy" width="1900" height="905" srcset="https://tech-com.co.uk/content/images/size/w600/2022/03/Capture-2.PNG 600w, https://tech-com.co.uk/content/images/size/w1000/2022/03/Capture-2.PNG 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/03/Capture-2.PNG 1600w, https://tech-com.co.uk/content/images/2022/03/Capture-2.PNG 1900w" sizes="(min-width: 720px) 720px"></figure><p><br><br>ARM Features (From Github)</p><ul><li>Detects insertion of disc using udev</li><li>Auto downloads keys_hashed.txt and KEYDB.cfg using robobrowser and tinydownloader</li><li>Determines disc type...</li><li>If video (Blu-Ray or DVD)</li><li>Retrieve title from disc or Windows Media MetaServices API to name the folder &quot;movie title (year)&quot; so that Plex or Emby can pick it up</li><li>Determine if video is Movie or TV using OMDb API</li><li>Rip using MakeMKV or HandBrake (can rip all features or main feature)</li><li>Eject disc and queue up Handbrake transcoding when done</li><li>Transcoding jobs are asynchronusly batched from ripping</li><li>Send notification when done via IFTTT or Pushbullet</li><li>If audio (CD) - rip using abcde</li><li>If data (Blu-Ray, DVD, or CD) - make an ISO backup</li><li>Headless, designed to be run from a server</li><li>Can rip from multiple-optical drives in parallel</li><li>HTML UI to interact with ripping jobs, view logs, etc</li></ul><p>		I wanted a standalone machine that I could fit out with multiple drives then upload the ripped disks to Ultron (my primary server with Dual CPUs). Ultron resides in the attic plus all the internal SATA ports are in use with Cache drives. I also wanted a semi portable machine that I could give to family members where it would rip the DVDs to internal hard disk then upload it Ultron over the WAN by either FTP/SMB using Tailscale as the VPN tunnel. In the event their connection is too slow the I can set the machine to rip to its own Hard Disk then move the media to Ultron via my LAN when I get the machine back.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tech-com.co.uk/content/images/2022/03/20220207_145739.jpg" class="kg-image" alt="A.R.M." loading="lazy" width="2000" height="1500" srcset="https://tech-com.co.uk/content/images/size/w600/2022/03/20220207_145739.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/03/20220207_145739.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/03/20220207_145739.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/03/20220207_145739.jpg 2400w" sizes="(min-width: 720px) 720px"><figcaption>Old machines</figcaption></figure><p>		Moving on to the hardware part of the system. This is a zero cost project as I already had a number of old gaming machines all with either single or dual optical drives Anno 2011 sitting around. The system of choice was a Phenom based machine (specs below) as it already had one IDE DVD drive fitted plus a onboard GPU, the system will operate headless just fine though. I removed a drive from each of the other spare machines and installed them into this one, this gave me four drives.</p><p></p><ul><li>AMD Phenom II X6 1055T 2.8 Ghz CPU</li><li>GA-MA78LMT-US2H motherboard</li><li>16 Gb RAM</li><li>Corsair CMPSU-650TXV2UK 650 watt PSU</li><li>ST500DM002 500 Gb Seagate HD</li><li>2 x Samsung SH-S223C DVD Drives </li><li>2 x ASUS DVD drives</li><li>Cooler Master HAF 912 Mid tower</li></ul><p></p><p>		The OS of choice was Debian mainly because ARM has a fully automatic install process for Debian aside from a few variables the user needs to enter. Once installed it&apos;s a matter of editing the ARM config to suit your config needs. You&apos;ll be prompted in the CLI for any input the script needs, also if you have more than one drive you&apos;ll need to mount these drives in fstab. You&apos;ll have to figure out which device names correlate to the physical drives as you may find drive 2 is not second from top. An easy of doing this is tell it to eject drive 2 then swap the SATA cables over to reflect the physical layout and so on. The GitHub page has all the instructions for doing this <a href="https://github.com/automatic-ripping-machine/automatic-ripping-machine?ref=tech-com.co.uk">here.</a> </p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/03/20220206_124539-1.jpg" class="kg-image" alt="A.R.M." loading="lazy" width="2000" height="2667" srcset="https://tech-com.co.uk/content/images/size/w600/2022/03/20220206_124539-1.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/03/20220206_124539-1.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/03/20220206_124539-1.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/03/20220206_124539-1.jpg 2400w" sizes="(min-width: 720px) 720px"></figure><p>		Currently, in it&apos;s primary mode, the machine is really just a extension of Ultron. I have ARM set to rip the disk to ISO saved to mounted network folder via LAN hosted on Ultron where it already has Handbrake monitor a watched folder for processing ISO&apos;s to MKV in x264, x264 is better for SD content. Handbrake then sends the processed files to a folder monitored by Emby so the files are available for viewing quickly before I categorise them properly. It&apos;s powerful enough to convert SD video but Ultron is much, much quicker and already has the profiles setup up. The Phenom machine is also very inefficient power wise, it&apos;s only powered on for the time it needs to do it&apos;s ripping, once it ejects the last disk...that&apos;s it...off it goes! Ripping to ISO only takes a few mins per disk, if I&apos;m ripping Audio CDs then ARM processes to FLAC as it rips sending to Ultron on the fly. </p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/03/20220206_124349-2.jpg" class="kg-image" alt="A.R.M." loading="lazy" width="2000" height="2667" srcset="https://tech-com.co.uk/content/images/size/w600/2022/03/20220206_124349-2.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/03/20220206_124349-2.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/03/20220206_124349-2.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/03/20220206_124349-2.jpg 2400w" sizes="(min-width: 720px) 720px"></figure><p>		Here&apos;s the entry in fstab for guidance. Note the section for mounting the network folder if you so choose. Please note that if you&apos;re going to rip to a mounted folder then the folder must be created by the user ARM. Both directories &quot;/home/arm/ARM-DVDRips&quot; &amp; &quot;/home/arm/ARM-AudioRips&quot; were made using the ARM user account, don&apos;t use the root account to make these folders otherwise ARM can&apos;t write to them. You can then mount the folder at start up via fstab.</p><!--kg-card-begin: markdown--><pre><code>##&lt;file system&gt; &lt;mount point&gt;   &lt;type&gt;  &lt;options&gt;       &lt;dump&gt;  &lt;pass&gt;
##/ was on /dev/sda1 during installation
UUID=1cc6e953-ef5f-431a-8330-d5c316f2675c /               ext4    errors=remount-ro 0       1
## swap was on /dev/sda5 during installation
UUID=d79354af-e035-4b10-88bf-0f5023c17b4a none            swap    sw              0       0
/dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/sr1        /media/cdrom1   udf,iso9660 user,noauto     0       0
/dev/sr2        /media/cdrom2   udf,iso9660 user,noauto     0       0
/dev/sr3        /media/cdrom3   udf,iso9660 user,noauto     0       0

//YOURSERVERIP/Videos/DVD-ISO/ARM-DVDRips /home/arm/ARM-DVDRips cifs username=YOURSERVERUSERNAME,password=YOURSERVERPASSWORD,rw,uid=1000,gid=500
    
//YOURSERVERIP/Videos/DVD-ISO/ARM-AudioRips /home/arm/ARM-AudioRips cifs username=YOURSERVERUSERNAME,password=YOURSERVERPASSWORD,rw,uid=1000,gid=500

/dev/sr0  /mnt/dev/sr0  udf,iso9660  users,noauto,exec,utf8  0  0
/dev/sr1  /mnt/dev/sr1  udf,iso9660  users,noauto,exec,utf8  0  0
/dev/sr2  /mnt/dev/sr2  udf,iso9660  users,noauto,exec,utf8  0  0
/dev/sr3  /mnt/dev/sr3  udf,iso9660  users,noauto,exec,utf8  0  0
</code></pre>
<!--kg-card-end: markdown--><p>		In its secondary operating mode i.e. remotely, I installed Tailscale VPN. This will provide you a static VPN IP you can SSH into the machine securely over the WAN. Depending on the remote WAN bandwidth the machine can be set to either rip to the internal HD or to the network mounted folder as described before. My entire LAN subnet is routed via Tailscale so no change of IPs required in fstab for the mounted folder. To change the ripping directory I have two config files a .yaml and a .bak version, I just change the file extension for which one I want it to use as they are predefined with the directories required, then reboot. I may even write a small script to do this for me, laziness is key to an simple operation lol! </p><p></p><p>	In order to login via SSH remotely you&apos;ll have to change this (assuming you have installed SSH to begin with)...</p><!--kg-card-begin: markdown--><pre><code>sudo nano /etc/ssh/sshd_config
</code></pre>
<!--kg-card-end: markdown--><!--kg-card-begin: markdown--><pre><code>FROM:
PermitRootLogin without-password
TO:
PermitRootLogin yes
</code></pre>
<!--kg-card-end: markdown--><p>Save and Exit.</p><p>		</p>]]></content:encoded></item><item><title><![CDATA[Router Replacement]]></title><description><![CDATA[Installation of an Industrial Firewall]]></description><link>https://tech-com.co.uk/router-replacement/</link><guid isPermaLink="false">623cb5766013400001e28351</guid><category><![CDATA[Hardware]]></category><category><![CDATA[unRAID]]></category><category><![CDATA[Software]]></category><category><![CDATA[Docker]]></category><dc:creator><![CDATA[Mr Jay]]></dc:creator><pubDate>Thu, 24 Mar 2022 18:48:12 GMT</pubDate><media:content url="https://tech-com.co.uk/content/images/2022/03/36225509-be167464-117f-11e8-9bfc-cba7acd889c5.png" medium="image"/><content:encoded><![CDATA[<figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/03/opnsense_logo-zilver_grijs-1.png" class="kg-image" alt="Router Replacement" loading="lazy" width="1494" height="349" srcset="https://tech-com.co.uk/content/images/size/w600/2022/03/opnsense_logo-zilver_grijs-1.png 600w, https://tech-com.co.uk/content/images/size/w1000/2022/03/opnsense_logo-zilver_grijs-1.png 1000w, https://tech-com.co.uk/content/images/2022/03/opnsense_logo-zilver_grijs-1.png 1494w" sizes="(min-width: 720px) 720px"></figure><img src="https://tech-com.co.uk/content/images/2022/03/36225509-be167464-117f-11e8-9bfc-cba7acd889c5.png" alt="Router Replacement"><p>		It was finally time to retire my trusty Draytek 2860N plus router after a good 7 years. While the functionality of the unit was excellent it simply wasn&#x2019;t able to handle the 350Mb connection I have and with 1Gb available in my area, I needed a future proof machine. There are newer Draytek models available of course but as these are SMB oriented units they come with a hefty price tag. The unit also functioned as a hardware controller for my Draytek access points, these are also being replaced. See the <a href="https://tech-com.co.uk/omada/">TP-Link Omada article</a>. Also, on the market, are prosumer devices capable of those speeds, fine if your only have a few PC&#x2019;s in your house but for Homelaber such as myself, these don&#x2019;t cut it either, far too lowbrow and limiting. More advanced machines such as the UDM Pro do offer a high level of functionality but yet again at a high price tag and locked into Ubiquity&apos;s ecosystem, I really don&#x2019;t like being locked down plus they had a huge security breach recently</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tech-com.co.uk/content/images/2022/03/20220215_171852.jpg" class="kg-image" alt="Router Replacement" loading="lazy" width="2000" height="1500" srcset="https://tech-com.co.uk/content/images/size/w600/2022/03/20220215_171852.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/03/20220215_171852.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/03/20220215_171852.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/03/20220215_171852.jpg 2400w" sizes="(min-width: 720px) 720px"><figcaption>The old Draytek 2860 Plus router</figcaption></figure><p>		pfSense enterprise grade firewall is the way to go and very popular in the hobby or it&#x2019;s open source fork, OPNsense. Both of these offer a huge amount of options including Multi-WAN connections, enterprise grade firewall, additional packages etc. Well that&#x2019;s the software part decided, what about the hardware? Well there are a number of options available, including small boxes designed solely for running Pf/OPN, good units but again expensive for what they do, you could use any old PC but the power usage would be ridiculous for the function, or you can run it in a Virtual Machine. As I like to tinker, and because I need to to be reliable, I settled on both Virtual and Physical machine. The idea is to run OPNsense on Ultron as it&#x2019;s already on 24/7 and have the SFF PC as a backup for when Ultron needs to be shut down.<br> <br> Okay so I needed some additional equipment to achieve this goal..</p><ul><li>1 x Quad Port NIC (HP 593743-001 NC365T Intel i340-T4) for Ultron, ebay &#xA3;14</li><li>1 x HP T610 Plus (fits a full PCI-E card) SFF PC, ebay &#xA3;50</li><li>1 x Quad Port NIC (HP 593743-001 NC365T Intel i340-T4) for SFF, ebay &#xA3;14</li></ul><figure class="kg-card kg-gallery-card kg-width-wide kg-card-hascaption"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/03/20220321_115657.jpg" width="2000" height="1500" loading="lazy" alt="Router Replacement" srcset="https://tech-com.co.uk/content/images/size/w600/2022/03/20220321_115657.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/03/20220321_115657.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/03/20220321_115657.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/03/20220321_115657.jpg 2400w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/03/Capture.PNG" width="849" height="633" loading="lazy" alt="Router Replacement" srcset="https://tech-com.co.uk/content/images/size/w600/2022/03/Capture.PNG 600w, https://tech-com.co.uk/content/images/2022/03/Capture.PNG 849w" sizes="(min-width: 720px) 720px"></div></div></div><figcaption>The HP T610 Plus &amp; Intel NIC</figcaption></figure><p>		eBay is the place to go these days for ex-enterprise equipment, hardware is sold at a fraction of retail costs and as it&#x2019;s enterprise grade, far more reliable and adaptable. The NICs are dirt cheap especially the OEM Dell/HP stuff plus they all use Intel chipsets. To get the VM firewall running all I need to do was install one Quad NIC into Ultron and pass through two of the NICS to the VM (making sure to VFIO it off). One NIC is reserved for future use and the other used by Unraid for containers. Ultron has two Intel NICs built into the motherboard already, one for VMs and the other for general access.</p><p>		As for the SFF, install NIC, software using the downloaded ISO. The easiest way to do this is using Ventoy. Ventoy will turn a USB drive into a bootable stick with multiple ISO images of any description. I have a USB3 64Gb with Ventoy and all the common ISO images, truly excellent solution. I won&#x2019;t go into much detail on the full installation process as Spaceinvader One already has an excellent series of videos on installing pfSense on both Virtual Machine and bare metal <a href="https://www.youtube.com/watch?v=58tNUx7A3lM&amp;t=44s&amp;ref=tech-com.co.uk">here</a>.<br></p><figure class="kg-card kg-embed-card"><iframe width="200" height="113" src="https://www.youtube.com/embed/58tNUx7A3lM?start=44&amp;feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></figure><p></p><p>			Right so, as I stated earlier the HP SFF will boot when the VM is down or crashed. To achieve this I have a first gen Raspberry Pi that I use as a syslog server for Ultron. This was set to run a script a five minute CRON schedule, the script pings the VMs IP. If no response after three attempts, it then sends a WOL packet to the HP SFF MAC address booting it up. Now this is purely a backup scenario, not High Availability (which is build into pfSense &amp; OPNsense). The issue here being is that any changes made in the VM config will not be available in the SFF. Currently that is a manual job of downloading the config from one and writing it to the other. It&#x2019;s no big deal really as all my VLANs, static IPs, firewalls are there already.<br> <br> 		Regarding High Availability, its entirely possible between virtual and bare metal machines but you need at least three WAN IPs from your ISP. Currently I have a domestic connection with Virgin Media with only one. This is where the third spare NIC on both Quad cards will come in useful as they may be need for High Availability.</p><p>		I ended up using OPNsense due to pfSense having an issue with the ISP provided cable modem. OPNsense doesn&#x2019;t seem to suffer this so that&#x2019;s the firewall of choice for now. Future mods will include a 4G backup WAN connection. I had no end of issues setting this up initially as the Virgin supplied Cable Modem (Super Hub 3) suffers from a variety of issues. One such annoying problem is it has a &#x201C;Max-CPE&#x201D; setting meaning it will lock to the first MAC address provided by the router, in my case the OPNsense VM. It would not give the HP SFF a WAN IP due to the change of MAC detected unless you power cycled the modem. Virgin, in the infinite wisdom, locked out any SSH/Telnet access meaning a manual power cycle, no use at all for a backup. Another solution would be to put the modem on smart plug and integrate that into the Pi script. To solve this I spoofed the MAC from the VM WAN NIC to the SFF WAN NIC, now the cable modem thinks it the same device, profit!</p><p>		Despite what everyone says, the SH3 (cable modem) WILL issue a WAN IP to any port on the device but as stated it locks to the first MAC it gets. A further addition will be to add a script in Unraid that tells the SFF to power off when the VM starts.</p><figure class="kg-card kg-gallery-card kg-width-wide kg-card-hascaption"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/03/20220324_161159.jpg" width="2000" height="1500" loading="lazy" alt="Router Replacement" srcset="https://tech-com.co.uk/content/images/size/w600/2022/03/20220324_161159.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/03/20220324_161159.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/03/20220324_161159.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/03/20220324_161159.jpg 2400w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/03/20220324_161152.jpg" width="2000" height="1500" loading="lazy" alt="Router Replacement" srcset="https://tech-com.co.uk/content/images/size/w600/2022/03/20220324_161152.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/03/20220324_161152.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/03/20220324_161152.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/03/20220324_161152.jpg 2400w" sizes="(min-width: 720px) 720px"></div></div></div><figcaption>Virgin Super Hub 3</figcaption></figure><p>		If your going to do this &#xA0;yourself you&apos;ll need to make sure your bare metal machine has WOL enabled in the Bios. As for the Pi script, instructions are as follows....<br> <br> SSH into your Pi and run the following commands</p><!--kg-card-begin: markdown--><p><code>crontab -e</code></p>
<!--kg-card-end: markdown--><p>Enter the following line at the bottom of that file</p><!--kg-card-begin: markdown--><p><code>*/5 * * * * bash /home/YOURHOMEFOLDER/router-check.sh</code></p>
<!--kg-card-end: markdown--><p>The CRON job will run the script called &#x201C;router-check.sh&#x201D; every 5 mins. Make sure you change the YOURHOMEFOLDER to the one that exists on your machine. Save this by Ctrl+O and Ctrl+X to exit.<br> </p><!--kg-card-begin: markdown--><p><code>sudo nano /home/YOURHOMEFOLDER/router-check.sh</code></p>
<!--kg-card-end: markdown--><p>Enter the following making sure you change the VM IP and MAC address of the backup machine to suit your setup.<br> </p><!--kg-card-begin: markdown--><pre><code>#!/bin/bash

VM_IP=200.200.1.1
BACKUP_MAC=f8:0f:41:48:f1:e1

# pings IP, prints status to console, and send WoL packet to MAC address if ping fails
ping -c 3 $VM_IP &gt; /dev/null 2&gt;&amp;1
if [ $? -ne 0 ]
then
   echo &quot;IP address $VM_IP is offline, sending magic packet&quot; &lt; /dev/null
   sudo etherwake $BACKUP_MAC -D
else
   echo &quot;IP address $VM_IP is online&quot; &lt; /dev/null
fi
</code></pre>
<!--kg-card-end: markdown--><p>Save this by Ctrl+O and Ctrl+X to exit.. Reboot the Pi.</p><!--kg-card-begin: markdown--><p><code>grep -i router-check.sh /var/log/syslog</code></p>
<!--kg-card-end: markdown--><p>This will tell you if the job is running.</p><p>With thanks to MountainGod on Ibracorp for the script, cheers mate! You can also get me over at Ibracorp <a href="https://discord.com/invite/VWAG7rZ?ref=tech-com.co.uk">discord</a> as a Team member.</p>]]></content:encoded></item><item><title><![CDATA[DAS One]]></title><description><![CDATA[Direct Attached Storage build]]></description><link>https://tech-com.co.uk/das-one/</link><guid isPermaLink="false">6232fa952d42eb0001d77ed2</guid><category><![CDATA[Hardware]]></category><dc:creator><![CDATA[Mr Jay]]></dc:creator><pubDate>Thu, 17 Mar 2022 09:43:12 GMT</pubDate><media:content url="https://tech-com.co.uk/content/images/2022/03/20220320_130644.jpg" medium="image"/><content:encoded><![CDATA[<img src="https://tech-com.co.uk/content/images/2022/03/20220320_130644.jpg" alt="DAS One"><p><br>		Last year I came across an article on <a href="https://www.serverbuilds.net/16-bay-das?ref=tech-com.co.uk">serverbuilds.net</a> with regard to building a high capacity DAS for Unraid. As the previous article on network reappraisal, I was looking for a more efficient way if using my drives, this was the inspiration. Equipment wise, I already had the case, drive cages (some were purchased for Janus 2)and a Corsair PSU from an old gaming system, plus a whole load of drives.</p><p> Some additional items were required to get this up and running..<br> </p><ul><li>1 x LSI 9201-16e SAS HBA card &#xA3;50</li><li>4 x SFF-8088 to 4 x SATA 2 metre breakout cables &#xA3;80</li><li>1 x 24 Pin PSU tester &#xA3;10</li><li>2 x SATA to 4 SATA Splitter power cable &#xA3;20</li><li>2 x Molex to 5 x 3 Pin connector for fans &#xA3;20</li><li>2 x 140mm Corsair Red LED fans &#xA3;25</li></ul><p>	Total additional cost approx. &#xA3;200</p><p>		</p><figure class="kg-card kg-gallery-card kg-width-wide"><div class="kg-gallery-container"><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/03/dsdsd.PNG" width="674" height="501" loading="lazy" alt="DAS One" srcset="https://tech-com.co.uk/content/images/size/w600/2022/03/dsdsd.PNG 600w, https://tech-com.co.uk/content/images/2022/03/dsdsd.PNG 674w"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/03/LSI_Logic_9201-16E-1.jpg" width="1000" height="623" loading="lazy" alt="DAS One" srcset="https://tech-com.co.uk/content/images/size/w600/2022/03/LSI_Logic_9201-16E-1.jpg 600w, https://tech-com.co.uk/content/images/2022/03/LSI_Logic_9201-16E-1.jpg 1000w" sizes="(min-width: 720px) 720px"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/03/sdsd.PNG" width="665" height="560" loading="lazy" alt="DAS One" srcset="https://tech-com.co.uk/content/images/size/w600/2022/03/sdsd.PNG 600w, https://tech-com.co.uk/content/images/2022/03/sdsd.PNG 665w"></div></div><div class="kg-gallery-row"><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/03/sdsds.PNG" width="389" height="381" loading="lazy" alt="DAS One"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/03/fgfgf.PNG" width="368" height="406" loading="lazy" alt="DAS One"></div><div class="kg-gallery-image"><img src="https://tech-com.co.uk/content/images/2022/03/sdsdsd.PNG" width="672" height="618" loading="lazy" alt="DAS One" srcset="https://tech-com.co.uk/content/images/size/w600/2022/03/sdsdsd.PNG 600w, https://tech-com.co.uk/content/images/2022/03/sdsdsd.PNG 672w"></div></div></div></figure><p>		The key to this project is the LSI 9201-16e SAS HBA card which enables connection of up to 16 SATA drives in an external enclosure using the 4 x SFF-8088 breakout cables, 4 x SATA drives per cable. The 24 Pin PSU tester connects to the 24 Pin power cable enabling power on without the motherboard simply by using the the ON/OFF switch on the rear of the unit. The PSU, which is from 2012, came with 2 x 4 SATA power cables and 2 x 2 SATA cables, the purchase of the SATA splitters would then allow for the full 16 drives planed. More modern PSU&#x2019;s all come with 4 x 4 SATA power cables. Molex to 3 Pin splitters will provide power for the fans of which there are already 2 x 140mm fans in the front and 1 x 140mm on the rear. Additional fans in the form of the 140mm Corsair Red LEDs were added to the top of the case. The drives spin down when not in use so the PSU is only providing power for the fans.<br><br>		The DAS must be left powered on at all times when Ultron is active otherwise the drives will drop out of the array destroying parity. Both machines are on a 500 watt APC Smart UPS each, Ultron draws much more power than DAS does and so in any power failure situation, Ultron will shut down long before DAS runs out of juice. Even at full load DAS draws about 50 watts vs Ultron&apos;s idle 180 watts. &#xA0;It&#x2019;s possible to link the PSU&#x2019;s together so they both turn on from the server case switch but this involves sourcing 24 pin splitters and such, another consideration would be a flimsy connection between the two cases. I may do this mod in a future project but it&apos;s unnecessary for now.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tech-com.co.uk/content/images/2022/03/20211026_140620.jpg" class="kg-image" alt="DAS One" loading="lazy" width="2000" height="2667" srcset="https://tech-com.co.uk/content/images/size/w600/2022/03/20211026_140620.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/03/20211026_140620.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/03/20211026_140620.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/03/20211026_140620.jpg 2400w" sizes="(min-width: 720px) 720px"><figcaption>SFF cables connected to the LSI card</figcaption></figure><p></p><figure class="kg-card kg-image-card"><img src="https://tech-com.co.uk/content/images/2022/03/20220307_191327.jpg" class="kg-image" alt="DAS One" loading="lazy" width="2000" height="1500" srcset="https://tech-com.co.uk/content/images/size/w600/2022/03/20220307_191327.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/03/20220307_191327.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/03/20220307_191327.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/03/20220307_191327.jpg 2400w" sizes="(min-width: 720px) 720px"></figure><p>		Moving on to the subject of cooling. The forward stack remains cool with drives ranging between 20c - 25c under full load however the after stack averages a few degrees more from about 24c - 28c due to the decreased airflow. To combat this I came across two GPU fan ducts that came from some old Cooler Master cases designed to fit 120 mm fans. The plan will be to stack these vertically blowing on the after stack then build some shrouds using plasticard around to direct the airflow. I&apos;ll probably buy another cage for the aft stack to shunt the drives up one cage height. This will give increased airflow at the bottom of the stack. Still a WIP though as it might not be needed, I&#x2019;ll see what happens when the summer comes.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tech-com.co.uk/content/images/2022/03/20220307_191303.jpg" class="kg-image" alt="DAS One" loading="lazy" width="2000" height="2667" srcset="https://tech-com.co.uk/content/images/size/w600/2022/03/20220307_191303.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/03/20220307_191303.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/03/20220307_191303.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/03/20220307_191303.jpg 2400w" sizes="(min-width: 720px) 720px"><figcaption>Old GPU ducts with 120mm Fans</figcaption></figure><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tech-com.co.uk/content/images/2022/03/20220307_191306.jpg" class="kg-image" alt="DAS One" loading="lazy" width="2000" height="2667" srcset="https://tech-com.co.uk/content/images/size/w600/2022/03/20220307_191306.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/03/20220307_191306.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/03/20220307_191306.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/03/20220307_191306.jpg 2400w" sizes="(min-width: 720px) 720px"><figcaption>Old GPU ducts with 120mm Fans</figcaption></figure><p>		10 drives were installed at first, all data was transferred off the last 10 bay Qnap via LAN using Midnight Commander. Syncthing wouldn&apos;t work as it bypassed the way Unraid splits up the data filling one drive only. The remaining 6 drives were added to the array once this was complete along with the cache pool drives.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tech-com.co.uk/content/images/2022/03/20220307_191414.jpg" class="kg-image" alt="DAS One" loading="lazy" width="2000" height="1500" srcset="https://tech-com.co.uk/content/images/size/w600/2022/03/20220307_191414.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/03/20220307_191414.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/03/20220307_191414.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/03/20220307_191414.jpg 2400w" sizes="(min-width: 720px) 720px"><figcaption>Ultron and DAS One</figcaption></figure>]]></content:encoded></item><item><title><![CDATA[Hardware Reappraisal]]></title><description><![CDATA[Complete revision of HDs]]></description><link>https://tech-com.co.uk/hardware-repprasial/</link><guid isPermaLink="false">6232f2fd2d42eb0001d77e79</guid><category><![CDATA[Hardware]]></category><category><![CDATA[unRAID]]></category><dc:creator><![CDATA[Mr Jay]]></dc:creator><pubDate>Thu, 17 Mar 2022 09:06:35 GMT</pubDate><media:content url="https://tech-com.co.uk/content/images/2022/03/20220307_191421.jpg" medium="image"/><content:encoded><![CDATA[<img src="https://tech-com.co.uk/content/images/2022/03/20220307_191421.jpg" alt="Hardware Reappraisal"><p></p><p>I decided to scrub the Janus project for a few reasons.</p><p></p><ul><li>Power consumption, each Janus would have it&#x2019;s own CPU/RAM/motherboard to power, not needed as Ultron&#x2019;s already there running 24/7.</li><li>Additional Unraid license costs, each Janus would need a Plus license at $89, Ultron is already on Plus, upgrading to Pro at a small cost would give me 28 array drives, 2 parity drives and 30 cache drives.</li><li>Eliminates using multiple LAN connections per machine</li><li>Reduced network traffic</li><li>More drives per case</li><li>Only once case required for now</li><li>Less cluttered case, 10 drives per machine would fit but not a lot of room</li><li>Better thermals, No CPU/RAM/motherboard</li><li>Reduced storage requirements from the Qnap days thanks to recoding HD media into x265. This halved my library in size although it did take five months!</li></ul><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tech-com.co.uk/content/images/2022/03/20210806_172205.jpg" class="kg-image" alt="Hardware Reappraisal" loading="lazy" width="2000" height="2667" srcset="https://tech-com.co.uk/content/images/size/w600/2022/03/20210806_172205.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/03/20210806_172205.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/03/20210806_172205.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/03/20210806_172205.jpg 2400w" sizes="(min-width: 720px) 720px"><figcaption>Former Janus One. Fitting more drives would have been tight.</figcaption></figure><p></p><p>Okay so the original network layout was this...</p><p></p><p>Server Ultron			- 1 x 480Gb SSD for (VM storage)</p><p>									- 1 x 480Gb SSD Cache drive (containers etc)</p><p>									- 3 x 1TB Seagate Greens (data array and downloads one drive 									as parity)</p><p>Primary NAS			- 1 x 10 bay Qnap RAID 6 (10 x 6TB WD Reds drives holding 										media and data)</p><p>									- 1 x 8 bay Qnap RAID 5 (5 x 6TB WD Reds holding films)</p><p>Secondary NAS		- 1 x 10 bay Qnap RAID 6 (10 x 6TB WD Red drives, backups 										from primary)</p><p>									- 1 x 8 bay Qnap RAID 5 (5 x 6TB WD Reds, backups from 										primary)</p><p></p><p>		Secondary systems booted once a week for backing up, Primary&apos;s ran 24/7 with drives all spun up which is a condition of RAID, not very power efficient. Another drawback with this setup was losing storage capacity due to the way RAID works, down 1x drive in RAID 5 and 2 x in RAID 6, this totalled to down 6 x drives across the Qnaps, this was not an efficient use of the disks available. With this in mind I decided the best course of action would be to integrate ALL these drives into one monolithic build, in this case Ultron. The new setup looks like this.</p><p><br> <br> Server	Ultron		- 1 x 480Gb SSD for (VM storage)</p><p>									- 1 x 480Gb SSD Cache drive (containers etc)</p><p>									- 2 x 6TB WD Reds for parity</p><p>									- 16 x 6TB WD Reds as data array = 96TB total</p><p>									- 2 x 6TB WD Reds as download cache pool = 12TB total</p><p>									- 3 x 1TB Seagate Greens as general cache pool in RAID 0 = 									3TB total</p><p>									- 1 x 6TB WD Red media cache = 6TB total</p><p>		This uses 21 of the 6TB drives with 4 spares. The other 5 remaining all had the beginning of issues with reallocated sectors and were stood down from service. Cache pool drives are running 24/7 with array data drives spun down all day. This is a significant power saving as they only spin up when something on them is required. Data older than two weeks is moved off the cache pools every week to the array. Data that needs 24/7 access lives in the general cache and backed up to the array once a week. High value data (pictures, documents) on the array is backed up by writing to other drives in the array as with Unraid, the disks can be pulled from the array an read as normal unlike in RAID. This gives me a live copy and two backups. Previously media was backed up, it&#x2019;s not anymore due to being easily replaced these days plus I&#x2019;ve still got two drives parity protection. Parity drives run 24/7.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tech-com.co.uk/content/images/2022/03/Array.PNG" class="kg-image" alt="Hardware Reappraisal" loading="lazy" width="1906" height="674" srcset="https://tech-com.co.uk/content/images/size/w600/2022/03/Array.PNG 600w, https://tech-com.co.uk/content/images/size/w1000/2022/03/Array.PNG 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/03/Array.PNG 1600w, https://tech-com.co.uk/content/images/2022/03/Array.PNG 1906w" sizes="(min-width: 720px) 720px"><figcaption>Data Array</figcaption></figure><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tech-com.co.uk/content/images/2022/03/Pools.PNG" class="kg-image" alt="Hardware Reappraisal" loading="lazy" width="1902" height="739" srcset="https://tech-com.co.uk/content/images/size/w600/2022/03/Pools.PNG 600w, https://tech-com.co.uk/content/images/size/w1000/2022/03/Pools.PNG 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/03/Pools.PNG 1600w, https://tech-com.co.uk/content/images/2022/03/Pools.PNG 1902w" sizes="(min-width: 720px) 720px"><figcaption>Data Pools</figcaption></figure><p>I&#x2019;ll explain the cache pools a bit more...</p><p>Cache-VM				- Stores Virtual Machines</p><p>Cache-SSD				- Docker/Containers</p><p>Cache-downloads	- Downloads go here plus seeding - RAID 0 for combined 										space</p><p>Cache-media			- New processed media is stored here. Files older than 14 days 										are moved automatically to the array, this happens 										once a week</p><p>Cache-general		 &#xA0;- Used as a general cache, temp transcoding, LAN cache, VM 										backups and also some large VM&#x2019;s. As this pool is in 										RAID 0 you get all the speed benefits of an SSD 										with large amounts of storage, perfect for all caching jobs 										plus running a few of the large VMs</p><p>		Ultron&#x2019;s case holds the SSD/Cache drives plus Parity drives. All other drives live in an external enclosure, that enclosure being DAS One. In the future I&apos;ll build a secondary DAS enabling full weekly backup of all data once again. Due the fact I&#x2019;m already using 16 of the 28 supported, DAS Two will all be shucked 12Tb drives. Parity&apos;s will also be replaced by 12TB drives as a necessity.</p><p>	See the next article on the <a href="https://tech-com.co.uk/das-one/">DAS build</a>.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tech-com.co.uk/content/images/2022/03/20220307_191330.jpg" class="kg-image" alt="Hardware Reappraisal" loading="lazy" width="2000" height="1500" srcset="https://tech-com.co.uk/content/images/size/w600/2022/03/20220307_191330.jpg 600w, https://tech-com.co.uk/content/images/size/w1000/2022/03/20220307_191330.jpg 1000w, https://tech-com.co.uk/content/images/size/w1600/2022/03/20220307_191330.jpg 1600w, https://tech-com.co.uk/content/images/size/w2400/2022/03/20220307_191330.jpg 2400w" sizes="(min-width: 720px) 720px"><figcaption>DAS One</figcaption></figure>]]></content:encoded></item></channel></rss>