My wife and I recently built a new custom home. One of the non-negotiables with our builder was that I got access to the house to run my own low-voltage wire. I actually got into Home Assistant because I knew I was going to build the house and I wanted to make it smart. Per request from some people on this forum, I’ve detailed below what I did in my house.
Disclaimer: I’m not an expert but I researched my options and determined (thanks to a lot of advice from all of you) what would work best for me. My general theory on HA is that it should provide convenience but not primary functionality. If I happen to meet an untimely death (or my wife kicks me out ) she can pull the plug on the HA server and everything would work as normal, with one exception that I’ll get into below.
I added links for the devices I used
My HA Server – I had an older windows PC that was running Blue Iris on our farm. The farm needed an upgrade so I repurposed the server for HA. The server has an AMD A8-5600K CPU, 8G DDR3 1600 RAM, and a 250GB SSD in a rack mount case.
06/03/2022 Update - After implementing Frigate on several cameras, and the inability to find a Google Coral, I upgraded my server to handle the load. I started from scratch and went overkill with a 4U case (to fit a large CPU fan), ASRock Z590M motherboard, Intel i5-11600K CPU, 16GB of DDR4 RAM, 1TB SSD
Update: I found a Coral! So the computer now has a Google Coral as well
Wall tablets - I’m using 4 Lenovo Tab M10 tablets (basement, main floor by the front door, main floor mud room, and near the master bedroom) mounted to the wall with a 3D case I made. I ran Cat6 to each tablet and am using a power injector via a Kasa smart power strip to turn the charger on/off based on the battery percentage. I’m using Fully Kiosk app to display the dashboard
Update: I discovered that the Lenovo Tab M10 has a battery monitor feature that automatically turns on/off the charging as needed. So now I have power going to the tablets via the Cat6 wires all the time. The tablet controls the on/off of the charging instead of HA.
Door sensors – I added a door sensor to nearly every door, external and internal. All but 3 are hardwired back to my mechanical room and hooked up to a ESP32 running ESPhome via a 12V > 3.3V optocoupler. The other 3 doors had designs that didn’t allow me to hardwire a sensor so I used an Aqara Zigbee door sensor and a Nortek Zigbee USB Dongle.
For the garage doors, I use MyQ to operate the doors. I have a newer style shaft mount door opener, I haven’t found a way to operate them without MyQ, and I’m pretty happy with MyQ, so it’s good for now but may add a local control option in the future. I used these contact sensors so I wasn’t relying on the door position via MyQ to tell if the door is open/closed. I also added a beam sensor near the bottom of the door track so I could get triggers for vehicles/people crossing the door threshold. All these sensors are hardwired back to my mechanical room and into the optocoupler/ESP32.
04/01/23 update: I added local control to the garage doors and ditched MyQ (except for backup). I took one of the garage door remotes apart and used a ESP32 and a relay to mimic the buttons being pressed. The ESP32 also feeds the remote 3.3v power, so no need to replace a battery.
Motion Sensors - I used a combination of these wall mount and these ceiling mount motion sensors. I also used 4 of these ceiling & glass break sensors in locations near a window that can be accessed on the ground floor outside. All of these are hardwired back to the mechanical room and into the optocoupler/ESP32. Tip: The motion detector and glass break sensors need 6 wires to each one.
Light switches - I wrestled with this one and did a lot of research. I wanted local control and a decent price (I needed 92 of them). I also wanted all of them to look the same, look good, and I didn’t want to flash custom firmware to 92 switches. I settled on the Kasa TP-Link Switches (Single Pole, 3-Way, Dimmer). I am very happy with my choice! I have had some very minor issues with a couple of them dropping off the network, but have been able to quickly diagnose and fix. I liked the integration so well that I also bought their outdoor plug for Christmas lights, their indoor plugs for indoor Christmas lights, and their power strip for my wall tablets.
2023 Update: We finished our basement and I went back to the Kasa TP-Link switches. I have about 120 of them now. I also used their 3-way dimmer switch for the first time. I had some hiccups, but it works well now.
Sirens/Alarm - This is the one exception where HA is a critical component. I use HA as our home alarm and am very happy with it. However, I ran the hardwired sensors and sirens in a way that a “classic” home alarm system could be put in and use those sensors. Or my wife could get a Simplisafe if I’m gone. I used 4 of these sirens (basement, main floor, 2nd story, garage) hardwired back to the mechanical room and hooked to a 4 channel relay and ESP32 with ESPhome
WiFi - I knew I’d have a lot of WiFi clients, and I hated the WiFi at my old house (Google WiFi mesh network), so I sprang for a Unifi Dream Machine Pro, 48 port PoE switch, and a mixture of 10 Unifi 6 lite and Unifi 6 LR access points. I am extremely happy with it. I went overboard with access points, I probably could have done it 6 (one for each floor(3), one in the garage, one on the back patio, and one in the front yard), but I figured I should add more now and I could always fine-tune and turn some down/off later. I couldn’t run more wire easily to add one. I can also get my WiFi at my neighbor’s house a block away
Security cameras - I built a separate computer (Intel Core i9-10850K, 32GB DDR4 RAM, 500GB SSD + two 8TB WD Purple surveillance hard drives in a rack mount case) to run Blue Iris and Deepstack. BI handles the workload of the cameras and security surveillance but I also have each camera added to HA primarily to take snapshots for notifications and to add to lovelace. I’m using the HA Blue Iris integration to get motion alerts from BI when it identifies a person (via deepstack). I’m using 12 Amcrest UltraHD 4K IP Cams, 3 Amcrest AD110 Doorbells (one acts as an actual doorbell, the other two are just “hidden” cameras that I wanted to inconspicuously mount at eye level). I also have 2 Amcrest 4MP indoor cams I use as baby cams.
Audio - I wanted whole-home audio, but I didn’t want to go crazy with it. I ended up using a combination of Google Nest Speakers and some built-in speakers. The google nest speakers are a combination of Minis, Google Home Hub, and a Google Home Max I found on ebay (these sound good!). In the garage I used two Definitive Technologies AW6500 speakers and a 15" subwoofer (this thing shook a whiskey bottle off the shelf in my pantry. It’s loud). On my covered patio I used 4 ceiling speakers and a OSD subwoofer powered by an OSD 300watt rack mount amp (mounted in the mech room). The garage and patio speakers/subs are hardwired back to the mech room. I use a Chromecast Ultra and a HDMI audio extractor tied to a OSD 8-channel amp to power them. It works out really well. I can play music (or anything, really) from my phone by selecting the chromecast device. I can also add the built-in speakers to google device groups. My phone thinks I’m casting to a TV so I can also cast Youtube videos to the speakers. I have my garage and patio TV also tied into the amp. I use a 8 channel relay and ESP32 with ESPhome to automatically switch to the TV as an input when the TV is playing. All the Chromecast devices are also tied into HA so I can play messages to them. Like playing the Home Alone “ya filthy animal” clip through my patio speakers if my camera sees a person when the alarm is armed . Or using Frigate to detect birds and scare them away with gun shot sounds.
Irrigation - I skipped the Rain Bird brain and had the irrigation guy pull the wires to my mechanical room. I used 3 8-channel relays with an ESP32 and ESPhome to control the 15 zones, 2 drip zones, master valve, and blow out valve. I installed a large 5HP air compressor in my basement garage and ran 3/4 Maxline Air piping to my main garage and into my mechanical room. It pipes directly into my irrigation system (with a valve and backflow preventer in between). I use this to blow out my irrigation. I have plans of setting an HA automation to blow out the system when the forecast calls for cold weather, but for this winter I used HA to do it by manually hitting the valve switches. It worked great! I use the HA Smart Irrigation integration to control the irrigation. It tracks precipitation and evaporation then sets the amount of time each zone needs to run based on that.
06/20/23 Update: I added a Tempest Weather station in my backyard to monitor hyper-local weather. I use data from the Tempest to feed the HA Smart Irrigation integration which calculates zone runtimes based on rainfall and evaporation.
Window shades - We went with Somfy window shades from a local supplier. I knew I was going with these so I ran 16/2 wire from the mech room to each window. I made a 3D printed plug for the window that fit these jacks so I wouldn’t have a wire hanging out if we ended up not putting a shade in. I installed a 24v 20 amp power supply in the mechanical room hooked to a fuse block.
06/20/23 Update: I struggled to find a good way to control the Somfy RTS shades from HA. I finally found a fantastic solution with the ESPSomfy-RTS made by rstrouse.. The hardware can be built for $15 and it works flawlessly. I wasn’t able to get the range that some people could, so I just built 7 devices and spread them around my house. The cost of the 7 devices was still half as much as a Somfy Tahoma hub and they work much better.
Radiant floor heat - I had radiant floor heat put in the garage floor, basement floor, and the basement garage. I installed the boiler and built the pump circulator myself, I implemented HA in this as well. I used 8 DS18B20 temp sensors hooked to an ESP32 with ESPhome to measure the supply and return temps on each zone and the master supply. I use a template sensor to then calculate the delta (temp difference). I also have a DS18B20 sensor in each concrete slab to send the temp back to HA. I used a pressure transducer hooked to an ESP32 with ESPhome to monitor the pressure of the system. I also have current sensors hooked to the pump wires. I’m waiting on a custom board off ebay to get those hooked up. Once I have those hooked up I can see the watts the pumps are pulling which will allow me to calculate the GPM and eventually a rough idea of BTU/hour.
Fireplace - I have 3 direct vent gas fireplaces. I ran wire from the on/off switch of the fireplace to the mech room. I use an ESP32 with ESPhome and 4 channel relay to open/close the circuit to turn the fireplace on/off
Misc - I also went crazy with Cat6. I pulled 14,000 feet. 4 wires to every TV, wires to all the access points and IP cameras, 10 wires to my office, and 6 wires to my upstairs mechanical closet. I also ran 2 inch conduit from my basement mech room to each attic, my primary living room TV, my upstairs mech closet, the backyard for future fire pit speakers, and a few other places.
Here are some pictures of my mechanical room where most of the controls are. I haven’t had time yet to tidy up
Optocouplers with ESP32 devices. I 3D printed the mounting boards
This is the 8 channel relay with ESP32 I’m using as a speaker input switch
These are the Chromecast ultras for the garage and patio speakers. The HDMI audio extractors are mounted behind them. I made the 3D printed case
This is the irrigation controls
Just a patch panel of speaker wires
This is my sensor control wall. I used the top screw terminals to “dead” the long wires into a terminal then ran a separate wire to the optocouplers. I did this so I wouldn’t cut a main wire short then want it longer if I made a change, which I ended up doing a lot
Power supply for the window shades
3D printed plug for the window shade jack. There is a cap on it, behind the cap is the power plug.
Server rack
The irrigation system Backflow preventer then main shut off valve, pressure sensor and a T’d in blow out. The blue pipe comes from my air compressor.
Radiant floor system. I temporarily have a 110V > 3.3v optocoupler on it so I can see when the pumps are running.
Wall tablet (I haven’t had time to beautify Lovelace yet)
That’s the bulk of it. There are several other things I’ve done, but it would take me hours to detail every little thing.