home_automation
This is an old revision of the document!
Home Automation System
I'm using Home Assistant running in a Proxmox Virtual Machine. Whenever possible, I use WiFi to communicate with remote devices.
Integrations include:
- Kodi (Media Center)
- Konnected Alarm Panel Pro (12-Zone)
- Obihai (Home Telephone)
- Shark IQ (Vacuum cleaner)
- Tasmota (Lights, ESP32 devices, Temperature sensors)
- UniFi Network (Network & WiFi access points)
- UniFi Protect (Video cameras)
- QuinLED-Dig-Quad with WLED firmware
- Gledopto WLED Digital Light Strip Controller
- RATGDO Garage Door Opener
The following hardware has been flashed with Tasmota & connected to Home Assistant using MQTT:
- Kauf A15, A19 & A21 Bulbs
- Seeed Studio XIAO ESP32C3 Development Board - Don't use these (no longer supported)
- Sonoff S31 - Used to monitor power consumption & control outlets
- Sonoff Slampher R2 - Table lamp
- Sonoff THR320D - Monitors attic temperature/humidity and controls an exhaust fan (Sensor SI7021 requires “DhtDelay 500,40”)
- Sonoff TX T0US3C - Wall switch used to control 3 devices
- Sonoff NSPanel Touch Display Switch - Wall switch and display
Sensors
- DHT22 - Do not use the Raspberry Pi Adafruit library
- SONOFF SNZB-02 ZigBee Indoor Temperature and Humidity Sensor
Network Infrastructure:
- LilyGo ESP32-S3 LoRa Development Board with SX1262 868/915MHz GPS U-blox L76K - aka: T-BeamSUPREME (M)
- RAK WisBlock - aka: with u-blox ZOE-M8Q, OLED Display & solar enclosure
Sample Tasmota device:
GPIO1 Switch1 Fire alarm contact closure input GPIO2 Relay1 Contact closure output GPIO7 AM2301 HVAC Supply Temperature/Humidity GPIO43 Buzzer Buzzer GPIO44 AM2301 Free Air Temperature/Humidity
Devices can be configured by browsing to their IP address & going to Tools/Console.
Tasmota settings: Setoption8 On (Output temperature in °F) Teleperiod 60 (Report to MQTT server every 60 seconds) SwitchMode1 2 (when the GPIO pin is pulled low during a contact closure it reports "ON")
Rule1 Relay state follows the contact closure state ON Switch1#State DO Power1 %value% ENDON
Rule2 Sound the buzzer then a contact closure is detected ON Switch1#State=1 DO Buzzer 1,5,1 ENDON
Rule3 Control a spot cooler based upon two temperature sensors ON Switch1#State=1 DO WebSend [192.168.10.170] Power1 0 BREAK ON Tele-AM2301-07#Temperature>80 do WebSend [192.168.10.170] Power1 1 BREAK ON Tele-AM2301-44#Temperature<80 do WebSend [192.168.10.170] Power1 0 ENDON
Common Tasmota Sensors
- BME280
- DHT22
- DS18B20
- Buzzer
home_automation.1786030844.txt.gz · Last modified: by w5ged
