I’ve tried this rule, but it seems to have no effect. Hardware dimmer button are acting normally. I see that the rule is triggering, and it reports the dimmer to be back at 100 every time, but the light is following my hardware dimmer button’s command, not what’s reported in the console:
04:53:04 MQT: tele/Dimmer2/STATE = {"Time":"2020-11-20T04:53:04","Uptime":"0T00:33:31","UptimeSec":2011,"Heap":26,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"POWER":"ON","Dimmer":20,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"Maison!","BSSId":"B4:75:0E:FE:EA:7F","Channel":4,"RSSI":84,"Signal":-58,"LinkCount":1,"Downtime":"0T00:00:13"}}
04:53:04 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":20}
04:53:04 RUL: DIMMER#STATE<100 performs "dimmer 100"
04:53:04 MQT: tele/Dimmer2/STATE = {"Time":"2020-11-20T04:53:04","Uptime":"0T00:33:31","UptimeSec":2011,"Heap":24,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"POWER":"ON","Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"Maison!","BSSId":"B4:75:0E:FE:EA:7F","Channel":4,"RSSI":84,"Signal":-58,"LinkCount":1,"Downtime":"0T00:00:13"}}
04:53:04 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":100}
04:53:05 MQT: tele/Dimmer2/STATE = {"Time":"2020-11-20T04:53:05","Uptime":"0T00:33:32","UptimeSec":2012,"Heap":26,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"POWER":"ON","Dimmer":5,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"Maison!","BSSId":"B4:75:0E:FE:EA:7F","Channel":4,"RSSI":84,"Signal":-58,"LinkCount":1,"Downtime":"0T00:00:13"}}
04:53:05 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":5}
04:53:05 RUL: DIMMER#STATE<100 performs "dimmer 100"
04:53:05 MQT: tele/Dimmer2/STATE = {"Time":"2020-11-20T04:53:05","Uptime":"0T00:33:32","UptimeSec":2012,"Heap":25,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"POWER":"ON","Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"Maison!","BSSId":"B4:75:0E:FE:EA:7F","Channel":4,"RSSI":86,"Signal":-57,"LinkCount":1,"Downtime":"0T00:00:13"}}
04:53:05 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":100}
04:53:05 MQT: tele/Dimmer2/STATE = {"Time":"2020-11-20T04:53:05","Uptime":"0T00:33:32","UptimeSec":2012,"Heap":26,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"POWER":"ON","Dimmer":1,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"Maison!","BSSId":"B4:75:0E:FE:EA:7F","Channel":4,"RSSI":86,"Signal":-57,"LinkCount":1,"Downtime":"0T00:00:13"}}
04:53:05 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":1}
04:53:05 RUL: DIMMER#STATE<100 performs "dimmer 100"
04:53:05 MQT: tele/Dimmer2/STATE = {"Time":"2020-11-20T04:53:05","Uptime":"0T00:33:32","UptimeSec":2012,"Heap":24,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"POWER":"ON","Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"Maison!","BSSId":"B4:75:0E:FE:EA:7F","Channel":4,"RSSI":86,"Signal":-57,"LinkCount":1,"Downtime":"0T00:00:13"}}
04:53:05 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":100}
Even issuing command “Dimmer 1” does absolutely nothing. The rule trigger, but the light stays where it was:
04:55:18 CMD: dimmer 1
04:55:18 MQT: tele/Dimmer2/STATE = {"Time":"2020-11-20T04:55:18","Uptime":"0T00:35:45","UptimeSec":2145,"Heap":26,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"POWER":"ON","Dimmer":1,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"Maison!","BSSId":"B4:75:0E:FE:EA:7F","Channel":4,"RSSI":96,"Signal":-52,"LinkCount":1,"Downtime":"0T00:00:13"}}
04:55:18 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":1}
04:55:18 RUL: DIMMER#STATE<100 performs "dimmer 100"
04:55:18 MQT: tele/Dimmer2/STATE = {"Time":"2020-11-20T04:55:18","Uptime":"0T00:35:45","UptimeSec":2145,"Heap":26,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"POWER":"ON","Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"Maison!","BSSId":"B4:75:0E:FE:EA:7F","Channel":4,"RSSI":96,"Signal":-52,"LinkCount":1,"Downtime":"0T00:00:13"}}
04:55:18 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":100}
I’ve tried adding in delays with:
rule1 on power1#state=1 do backlog delay 5; dimmer 100 endon on dimmer#state<100 do backlog delay 5; dimmer 100 endon
And now, issuing “dimmer 1” makes the dimmer go to the lowest, then after a short while, the rule kicks in, and the dimmer ACTUALLY goes back to 100. A “delay 1” is not enough, “delay 5” seems to work. The buttons still won’t care, the rules are kicking in, but not results on the light output:
04:58:18 MQT: tele/Dimmer2/STATE = {"Time":"2020-11-20T04:58:18","Uptime":"0T00:38:45","UptimeSec":2325,"Heap":26,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"POWER":"ON","Dimmer":80,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"Maison!","BSSId":"B4:75:0E:FE:EA:7F","Channel":4,"RSSI":84,"Signal":-58,"LinkCount":1,"Downtime":"0T00:00:13"}}
04:58:18 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":80}
04:58:18 RUL: DIMMER#STATE<100 performs "backlog delay 5; dimmer 100"
04:58:18 MQT: stat/Dimmer2/RESULT = {"Delay":5}
04:58:19 MQT: tele/Dimmer2/STATE = {"Time":"2020-11-20T04:58:19","Uptime":"0T00:38:46","UptimeSec":2326,"Heap":26,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"POWER":"ON","Dimmer":65,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"Maison!","BSSId":"B4:75:0E:FE:EA:7F","Channel":4,"RSSI":84,"Signal":-58,"LinkCount":1,"Downtime":"0T00:00:13"}}
04:58:19 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":65}
04:58:19 RUL: DIMMER#STATE<100 performs "backlog delay 5; dimmer 100"
04:58:19 MQT: tele/Dimmer2/STATE = {"Time":"2020-11-20T04:58:19","Uptime":"0T00:38:46","UptimeSec":2326,"Heap":26,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":104,"MqttCount":1,"POWER":"ON","Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"Maison!","BSSId":"B4:75:0E:FE:EA:7F","Channel":4,"RSSI":84,"Signal":-58,"LinkCount":1,"Downtime":"0T00:00:13"}}
04:58:19 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":100}
04:58:19 MQT: stat/Dimmer2/RESULT = {"Delay":5}
04:58:19 MQT: tele/Dimmer2/STATE = {"Time":"2020-11-20T04:58:19","Uptime":"0T00:38:46","UptimeSec":2326,"Heap":26,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"POWER":"ON","Dimmer":50,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"Maison!","BSSId":"B4:75:0E:FE:EA:7F","Channel":4,"RSSI":84,"Signal":-58,"LinkCount":1,"Downtime":"0T00:00:13"}}
04:58:19 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":50}
04:58:19 RUL: DIMMER#STATE<100 performs "backlog delay 5; dimmer 100"
04:58:19 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":35}
04:58:19 RUL: DIMMER#STATE<100 performs "backlog delay 5; dimmer 100"
04:58:19 MQT: tele/Dimmer2/STATE = {"Time":"2020-11-20T04:58:19","Uptime":"0T00:38:46","UptimeSec":2326,"Heap":26,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":101,"MqttCount":1,"POWER":"ON","Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"Maison!","BSSId":"B4:75:0E:FE:EA:7F","Channel":4,"RSSI":84,"Signal":-58,"LinkCount":1,"Downtime":"0T00:00:13"}}
04:58:19 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":100}
04:58:20 MQT: stat/Dimmer2/RESULT = {"Delay":5}
04:58:20 MQT: tele/Dimmer2/STATE = {"Time":"2020-11-20T04:58:20","Uptime":"0T00:38:47","UptimeSec":2327,"Heap":26,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"POWER":"ON","Dimmer":20,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"Maison!","BSSId":"B4:75:0E:FE:EA:7F","Channel":4,"RSSI":84,"Signal":-58,"LinkCount":1,"Downtime":"0T00:00:13"}}
04:58:20 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":20}
04:58:20 RUL: DIMMER#STATE<100 performs "backlog delay 5; dimmer 100"
04:58:20 MQT: tele/Dimmer2/STATE = {"Time":"2020-11-20T04:58:20","Uptime":"0T00:38:47","UptimeSec":2327,"Heap":26,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":104,"MqttCount":1,"POWER":"ON","Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"Maison!","BSSId":"B4:75:0E:FE:EA:7F","Channel":4,"RSSI":84,"Signal":-58,"LinkCount":1,"Downtime":"0T00:00:13"}}
04:58:20 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":100}
04:58:20 MQT: tele/Dimmer2/STATE = {"Time":"2020-11-20T04:58:20","Uptime":"0T00:38:47","UptimeSec":2327,"Heap":26,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"POWER":"ON","Dimmer":5,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"Maison!","BSSId":"B4:75:0E:FE:EA:7F","Channel":4,"RSSI":84,"Signal":-58,"LinkCount":1,"Downtime":"0T00:00:13"}}
04:58:20 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":5}
04:58:20 RUL: DIMMER#STATE<100 performs "backlog delay 5; dimmer 100"
04:58:20 MQT: stat/Dimmer2/RESULT = {"Delay":5}
04:58:20 MQT: tele/Dimmer2/STATE = {"Time":"2020-11-20T04:58:20","Uptime":"0T00:38:47","UptimeSec":2327,"Heap":26,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"POWER":"ON","Dimmer":1,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"Maison!","BSSId":"B4:75:0E:FE:EA:7F","Channel":4,"RSSI":84,"Signal":-58,"LinkCount":1,"Downtime":"0T00:00:13"}}
04:58:20 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":1}
04:58:20 RUL: DIMMER#STATE<100 performs "backlog delay 5; dimmer 100"
04:58:20 MQT: tele/Dimmer2/STATE = {"Time":"2020-11-20T04:58:20","Uptime":"0T00:38:47","UptimeSec":2327,"Heap":26,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":104,"MqttCount":1,"POWER":"ON","Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"Maison!","BSSId":"B4:75:0E:FE:EA:7F","Channel":4,"RSSI":84,"Signal":-58,"LinkCount":1,"Downtime":"0T00:00:13"}}
04:58:20 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":100}
04:58:20 MQT: stat/Dimmer2/RESULT = {"Delay":5}
04:58:21 MQT: tele/Dimmer2/STATE = {"Time":"2020-11-20T04:58:21","Uptime":"0T00:38:48","UptimeSec":2328,"Heap":26,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"POWER":"ON","Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"Maison!","BSSId":"B4:75:0E:FE:EA:7F","Channel":4,"RSSI":86,"Signal":-57,"LinkCount":1,"Downtime":"0T00:00:13"}}
04:58:21 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":100}
04:58:21 MQT: stat/Dimmer2/RESULT = {"Delay":5}
04:58:22 MQT: tele/Dimmer2/STATE = {"Time":"2020-11-20T04:58:22","Uptime":"0T00:38:49","UptimeSec":2329,"Heap":26,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"POWER":"ON","Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"Maison!","BSSId":"B4:75:0E:FE:EA:7F","Channel":4,"RSSI":84,"Signal":-58,"LinkCount":1,"Downtime":"0T00:00:13"}}
04:58:22 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":100}
Even powering off / on triggers the rule, but has no effect on the light output, even with delays:
04:59:56 MQT: tele/Dimmer2/STATE = {"Time":"2020-11-20T04:59:56","Uptime":"0T00:40:23","UptimeSec":2423,"Heap":26,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":99,"MqttCount":1,"POWER":"OFF","Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"Maison!","BSSId":"B4:75:0E:FE:EA:7F","Channel":4,"RSSI":84,"Signal":-58,"LinkCount":1,"Downtime":"0T00:00:13"}}
04:59:56 MQT: stat/Dimmer2/RESULT = {"POWER":"OFF"}
04:59:56 MQT: stat/Dimmer2/POWER = OFF
04:59:59 MQT: tele/Dimmer2/STATE = {"Time":"2020-11-20T04:59:59","Uptime":"0T00:40:26","UptimeSec":2426,"Heap":26,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":19,"MqttCount":1,"POWER":"ON","Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"Maison!","BSSId":"B4:75:0E:FE:EA:7F","Channel":4,"RSSI":80,"Signal":-60,"LinkCount":1,"Downtime":"0T00:00:13"}}
04:59:59 MQT: stat/Dimmer2/RESULT = {"POWER":"ON"}
04:59:59 MQT: stat/Dimmer2/POWER = ON
04:59:59 RUL: POWER1#STATE=1 performs "backlog delay 5; dimmer 100"
04:59:59 MQT: stat/Dimmer2/RESULT = {"Delay":4}
05:00:00 MQT: tele/Dimmer2/STATE = {"Time":"2020-11-20T05:00:00","Uptime":"0T00:40:27","UptimeSec":2427,"Heap":26,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":24,"MqttCount":1,"POWER":"ON","Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"Maison!","BSSId":"B4:75:0E:FE:EA:7F","Channel":4,"RSSI":82,"Signal":-59,"LinkCount":1,"Downtime":"0T00:00:13"}}
05:00:00 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":100}
You’re reporting that it works on your side, is that with a FEIT dimmer, or a Martin Jerry dimmer ?