User Tools

Site Tools


home_automation

This is an old revision of the document!


Home Automation System

I'm using Home Assistant running on a Raspberry Pi 4. Whenever possible, I use WiFi to communicate with remote devices.

Integrations include:

The following hardware has been flashed with Tasmota & connected to Home Assistant using MQTT:

Sensors

Network Infrastructure:

Tasmota Rules:

  • Control a remote switch based upon a local temperature value with fire alarm override
GPIO1    Switch1   Fire alarm contact closure input
GPIO7    AM2301    HVAC Supply Temperature/Humidity
GPIO43   Buzzer    Buzzer
GPIO44   AM2301    Free Air Temperature/Humidity
SwitchMode1 2 (GPIO pin is pulled low when the fire alarm is active)
Rule1 
ON Switch1#State=1 DO Buzzer 1,5,1 ENDON
Rule2 
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

Tasmota Sensors

I like to use Seeed Studio XIAO ESP32S3 Development Board running Tasmota firmware.

  • D04 BME280 SDA
  • D05 BME280 SCL
  • D08 DHT22
  • D09 DS18B20
  • D10 Buzzer
home_automation.1786030254.txt.gz · Last modified: by w5ged