User Tools

Site Tools


home_automation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
home_automation [2026/08/06 15:33] w5gedhome_automation [2026/08/13 15:17] (current) w5ged
Line 44: Line 44:
   * [[https://store.rakwireless.com/products/wisblock-meshtastic-starter-kit?variant=41433735758022|RAK WisBlock]] - aka: with u-blox ZOE-M8Q, OLED Display & solar enclosure   * [[https://store.rakwireless.com/products/wisblock-meshtastic-starter-kit?variant=41433735758022|RAK WisBlock]] - aka: with u-blox ZOE-M8Q, OLED Display & solar enclosure
  
-Tasmota Rules: +====Sample Tasmota device====
-  * Control a remote switch based upon a local temperature value with fire alarm override+
  
   GPIO1    Switch1   Fire alarm contact closure input   GPIO1    Switch1   Fire alarm contact closure input
Line 53: Line 52:
   GPIO44   AM2301    Free Air Temperature/Humidity   GPIO44   AM2301    Free Air Temperature/Humidity
  
 +The XIAO-ESP32S3 devices use firmware: tasmota32s3.bin with the template configuration:
 +  {"NAME":"GED-ESP32S3","ARCH":"ESP32S3","GPIO":[32,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,544,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0],"FLAG":0,"BASE":1}
 +
 +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")   SwitchMode1 2 (when the GPIO pin is pulled low during a contact closure it reports "ON")
  
-  Rule1 +  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   ON Switch1#State=1 DO Buzzer 1,5,1 ENDON
  
-  Rule2 +  Rule3    Control a spot cooler based upon two temperature sensors
   ON Switch1#State=1 DO WebSend [192.168.10.170] Power1 0 BREAK   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-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   ON Tele-AM2301-44#Temperature<80 do WebSend [192.168.10.170] Power1 0 ENDON
  
-===== Tasmota Sensors ===== 
-I like to use [[https://wiki.seeedstudio.com/xiao_esp32s3_getting_started/|Seeed Studio XIAO ESP32S3 Development Board]] running [[https://tasmota.github.io/docs/}|Tasmota]] firmware.   
-  * D04 BME280 SDA 
-  * D05 BME280 SCL  
-  * D08 DHT22 
-  * D09 DS18B20 
-  * D10 Buzzer 
home_automation.1786030413.txt.gz · Last modified: by w5ged