Difference between revisions of "Talk:Tasmota"
(Adding in more raw notes) |
(now displaying temperature, turning on / off display) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
+ | Disable ButtonTopic as it overrides rules for buttons: ButtonTopic 0 | ||
+ | |||
+ | 01:57:29.763 MQT: stat/2CD780/RESULT = {"POWER1":"ON"} | ||
+ | 01:57:29.769 MQT: stat/2CD780/POWER1 = ON | ||
+ | 01:57:40.983 MQT: stat/2CD780/RESULT = {"POWER1":"OFF"} | ||
+ | 01:57:40.990 MQT: stat/2CD780/POWER1 = OFF | ||
+ | |||
01:54:06.140 MQT: tele/2CD780/SENSOR = {"Time":"2021-08-03T01:54:06","DHT11":{"Temperature":77.0,"Humidity":18.0,"DewPoint":30.2},"ESP32":{"Temperature":126.0},"TempUnit":"F"} | 01:54:06.140 MQT: tele/2CD780/SENSOR = {"Time":"2021-08-03T01:54:06","DHT11":{"Temperature":77.0,"Humidity":18.0,"DewPoint":30.2},"ESP32":{"Temperature":126.0},"TempUnit":"F"} | ||
00:03:50.019 MQT: stat/2CD780/STATUS10 = {"StatusSNS":{"Time":"2021-08-03T00:03:50","DHT11":{"Temperature":75.2,"Humidity":19.0,"DewPoint":30.0},"ESP32":{"Temperature":125.0},"TempUnit":"F"}} | 00:03:50.019 MQT: stat/2CD780/STATUS10 = {"StatusSNS":{"Time":"2021-08-03T00:03:50","DHT11":{"Temperature":75.2,"Humidity":19.0,"DewPoint":30.0},"ESP32":{"Temperature":125.0},"TempUnit":"F"}} | ||
+ | esp32 | ||
+ | rule1 ON BUTTON1#state DO DisplayText[zs1r1c1]State: %value% endon ; works, not as expected | ||
+ | rule2 on DHT11#Temperature do publish test/jeff %value% endon ; works | ||
+ | |||
+ | rule1 ON power1#state do DisplayText[zs1r1c1]State: %value% endon | ||
+ | rule1 ON POWER1#state=1 do DisplayText[zs1r1c1]Yes Yup endon ON POWER1#state=0 do DisplayText[zs1r1c1]No Nope endon ; works | ||
+ | |||
+ | rule1 ON power1#state=1 do backlog power2 on; DisplayText[zs1r1c1]Yes Yup endon ON POWER1#state=0 do power2 off endon ; works | ||
+ | |||
+ | rule1 ON power1#state=1 do backlog power2 on; DisplayText[zs1r1c1]DHT11#Temperature endon ON POWER1#state=0 do power2 off endon ; not the desired result | ||
+ | rule3 on tele-DHT11#Temperature do var1 %value% endon | ||
+ | rule1 ON power1#state=1 do backlog power2 on; DisplayText[zs1r1c1]Temperature %var1% endon ON POWER1#state=0 do power2 off endon ; works, displays temperature. | ||
− | rule1 | + | esp8266 D1 mini |
+ | rule1 on DS18B20#Temperature do publish test/jeff %value% endon ;works! | ||
+ | rule1 on DS18B20#Temperature < 80 do publish test/jeff %value% endon ;works! | ||
Latest revision as of 15:02, 4 August 2021
Disable ButtonTopic as it overrides rules for buttons: ButtonTopic 0 01:57:29.763 MQT: stat/2CD780/RESULT = {"POWER1":"ON"} 01:57:29.769 MQT: stat/2CD780/POWER1 = ON 01:57:40.983 MQT: stat/2CD780/RESULT = {"POWER1":"OFF"} 01:57:40.990 MQT: stat/2CD780/POWER1 = OFF 01:54:06.140 MQT: tele/2CD780/SENSOR = {"Time":"2021-08-03T01:54:06","DHT11":{"Temperature":77.0,"Humidity":18.0,"DewPoint":30.2},"ESP32":{"Temperature":126.0},"TempUnit":"F"} 00:03:50.019 MQT: stat/2CD780/STATUS10 = {"StatusSNS":{"Time":"2021-08-03T00:03:50","DHT11":{"Temperature":75.2,"Humidity":19.0,"DewPoint":30.0},"ESP32":{"Temperature":125.0},"TempUnit":"F"}} esp32 rule1 ON BUTTON1#state DO DisplayText[zs1r1c1]State: %value% endon ; works, not as expected rule2 on DHT11#Temperature do publish test/jeff %value% endon ; works rule1 ON power1#state do DisplayText[zs1r1c1]State: %value% endon rule1 ON POWER1#state=1 do DisplayText[zs1r1c1]Yes Yup endon ON POWER1#state=0 do DisplayText[zs1r1c1]No Nope endon ; works rule1 ON power1#state=1 do backlog power2 on; DisplayText[zs1r1c1]Yes Yup endon ON POWER1#state=0 do power2 off endon ; works rule1 ON power1#state=1 do backlog power2 on; DisplayText[zs1r1c1]DHT11#Temperature endon ON POWER1#state=0 do power2 off endon ; not the desired result rule3 on tele-DHT11#Temperature do var1 %value% endon rule1 ON power1#state=1 do backlog power2 on; DisplayText[zs1r1c1]Temperature %var1% endon ON POWER1#state=0 do power2 off endon ; works, displays temperature. esp8266 D1 mini rule1 on DS18B20#Temperature do publish test/jeff %value% endon ;works! rule1 on DS18B20#Temperature < 80 do publish test/jeff %value% endon ;works! DisplayText [zs1r1c1]Want GPIO 13 DisplayText [l2c1]Momentary button DisplayText [l3c1]Normally low DisplayText [l4c1]Push for Temp