Hi,
I am running Tasmota 7.1.0 on an arlec powerboard. The board is functioning fine, but I am struggling with the correctly setting the rules.
Intended functionality: short button press, all power off. Long button press: all power on.
Actual functionality: short button press, all power off (correct). Long button press: console reports ‘toggle’ press only, and all power turns off.
Relevant detail:
MQT: boards/board1/stat/RESULT = {“SetOption13”:“OFF”} (disables immediate action )
MQT: boards/board1/stat/RESULT = {“SetOption32”:20} (defines hold interval )
boards/board1/stat/RESULT = {“Rule1”:“ON”,“Once”:“OFF”,“StopOnError”:“OFF”,“Free”:433,“Rules”:“on button1#state=3 DO Backlog power4 on; power3 on; power2 on; power1 on ENDON”} (Doesn’t work)
boards/board1/stat/RESULT = {“Rule2”:“ON”,“Once”:“OFF”,“StopOnError”:“OFF”,“Free”:429,“Rules”:“on button1#state=2 DO Backlog power4 off; power3 off; power2 off; power1 off ENDON”} (does work)
Log output when I hold the button (which indicates to me that ‘hold’ isn’t being registered):
06:23:15 RUL: BUTTON1#STATE=2 performs “Backlog power4 off; power3 off; power2 off; power1 off”
06:23:15 MQT: boards/board1/stat/BUTTON1 = {“STATE”:“TOGGLE”}
06:23:15 MQT: boards/board1/tele/STATE = {“Time”:“2019-11-30T06:23:15”,“Uptime”:“0T00:13:05”,“UptimeSec”:785,“Heap”:27,“SleepMode”:“Dynamic”,“Sleep”:50,“LoadAvg”:32,“MqttCount”:1,“POWER1”:“OFF”,“POWER2”:“OFF”,“POWER3”:“OFF”,“POWER4”:“OFF”,“Wifi”:{“AP”:1,“SSId”:“XXX”,“BSSId”:“XXX”,“Channel”:12,“RSSI”:98,“LinkCount”:1,“Downtime”:“0T00:00:08”}}
06:23:15 MQT: boards/board1/stat/RESULT = {“POWER4”:“OFF”}
06:23:15 MQT: boards/board1/stat/POWER4 = OFF
06:23:16 MQT: boards/board1/tele/STATE = {“Time”:“2019-11-30T06:23:16”,“Uptime”:“0T00:13:06”,“UptimeSec”:786,“Heap”:27,“SleepMode”:“Dynamic”,“Sleep”:50,“LoadAvg”:29,“MqttCount”:1,“POWER1”:“OFF”,“POWER2”:“OFF”,“POWER3”:“OFF”,“POWER4”:“OFF”,“Wifi”:{“AP”:1,“SSId”:“XXX”,“BSSId”:“XXX”,“Channel”:12,“RSSI”:100,“LinkCount”:1,“Downtime”:“0T00:00:08”}}
06:23:16 MQT: boards/board1/stat/RESULT = {“POWER3”:“OFF”}
06:23:16 MQT: boards/board1/stat/POWER3 = OFF
06:23:16 MQT: boards/board1/tele/STATE = {“Time”:“2019-11-30T06:23:16”,“Uptime”:“0T00:13:06”,“UptimeSec”:786,“Heap”:27,“SleepMode”:“Dynamic”,“Sleep”:50,“LoadAvg”:27,“MqttCount”:1,“POWER1”:“OFF”,“POWER2”:“OFF”,“POWER3”:“OFF”,“POWER4”:“OFF”,“Wifi”:{“AP”:1,“SSId”:“XXX”,“BSSId”:“XXX”,“Channel”:12,“RSSI”:100,“LinkCount”:1,“Downtime”:“0T00:00:08”}}
06:23:16 MQT: boards/board1/stat/RESULT = {“POWER2”:“OFF”}
06:23:16 MQT: boards/board1/stat/POWER2 = OFF
06:23:16 MQT: boards/board1/tele/STATE = {“Time”:“2019-11-30T06:23:16”,“Uptime”:“0T00:13:06”,“UptimeSec”:786,“Heap”:27,“SleepMode”:“Dynamic”,“Sleep”:50,“LoadAvg”:25,“MqttCount”:1,“POWER1”:“OFF”,“POWER2”:“OFF”,“POWER3”:“OFF”,“POWER4”:“OFF”,“Wifi”:{“AP”:1,“SSId”:“XXX”,“BSSId”:“XXX”,“Channel”:12,“RSSI”:100,“LinkCount”:1,“Downtime”:“0T00:00:08”}}
06:23:16 MQT: boards/board1/stat/RESULT = {“POWER1”:“OFF”}
06:23:16 MQT: boards/board1/stat/POWER1 = OFF
Can anyone suggest what I’m missing here?
Many thanks in advance.