Hi, I use sonoff ch4 pro with tasmota forked by Stefan Bode and I also use the first two sonoff physical buttons after welding two cables and taking them to an interlocked button.
Unfortunately, I also have numerous problems with ghost movements, but I’m not discouraged and I’m learning a lot from the various posts found in the forum like this:
https://community.home-assistant.io/t/mqtt-how-to-remove-retained-messages/79029 really very interesting!
This is how I register in tasmota console immediately after a ghost opening (from a position blocked by me to 70% via HA):
09:24:18 Wait for Motorstop 500
09:24:18 MQT: tele/king_room_shutter/STATE = {“Time”:“2019-06-17T09:24:18”,“Uptime”:“0T21:29:47”,“SleepMode”:“Dynamic”,“Sleep”:0,“LoadAvg”:999,“POWER1”:“ON”,“POWER2”:“OFF”,“POWER3”:“OFF”,“POWER4”:“OFF”,“Wifi”:{“AP”:1,“SSId”:“Wifi”,“BSSId”:“XX:XX:XX:XX:XX:XX”,“Channel”:11,“RSSI”:46,“LinkCount”:1,“Downtime”:“0T00:00:06”,“DeepSleep”:0,“Heap”:26048}}
09:24:18 MQT: stat/king_room_shutter/RESULT = {“POWER1”:“ON”}
09:24:18 MQT: stat/king_room_shutter/POWER1 = ON (retained)
09:24:18 MQT: stat/king_room_shutter/SHUTTER1 = 100 (retained)
09:24:18 MQT: tele/king_room_shutter/STATE = {“Time”:“2019-06-17T09:24:18”,“Uptime”:“0T21:29:47”,“SleepMode”:“Dynamic”,“Sleep”:0,“LoadAvg”:999,“POWER1”:“OFF”,“POWER2”:“OFF”,“POWER3”:“OFF”,“POWER4”:“OFF”,“Wifi”:{“AP”:1,“SSId”:“Wifi”,“BSSId”:“XX:XX:XX:XX:XX:XX”,“Channel”:11,“RSSI”:46,“LinkCount”:1,“Downtime”:“0T00:00:06”,“DeepSleep”:0,“Heap”:22848}}
09:24:18 MQT: stat/king_room_shutter/RESULT = {“POWER1”:“OFF”}
09:24:18 MQT: stat/king_room_shutter/POWER1 = OFF (retained)
09:24:18 MQT: tele/king_room_shutter/RESULT = {“SHUTTER-1”:{“position”:100, “direction”:0}}
09:25:11 Wait for Motorstop 500
09:25:11 MQT: tele/king_room_shutter/STATE = {“Time”:“2019-06-17T09:25:11”,“Uptime”:“0T21:30:40”,“SleepMode”:“Dynamic”,“Sleep”:0,“LoadAvg”:999,“POWER1”:“ON”,“POWER2”:“OFF”,“POWER3”:“OFF”,“POWER4”:“OFF”,“Wifi”:{“AP”:1,“SSId”:“Wifi”,“BSSId”:“XX:XX:XX:XX:XX:XX”,“Channel”:11,“RSSI”:44,“LinkCount”:1,“Downtime”:“0T00:00:06”,“DeepSleep”:0,“Heap”:26048}}
09:25:11 MQT: stat/king_room_shutter/RESULT = {“POWER1”:“ON”}
09:25:11 MQT: stat/king_room_shutter/POWER1 = ON (retained)
09:25:11 MQT: stat/king_room_shutter/SHUTTER1 = 100 (retained)
09:25:11 MQT: tele/king_room_shutter/STATE = {“Time”:“2019-06-17T09:25:11”,“Uptime”:“0T21:30:40”,“SleepMode”:“Dynamic”,“Sleep”:0,“LoadAvg”:999,“POWER1”:“OFF”,“POWER2”:“OFF”,“POWER3”:“OFF”,“POWER4”:“OFF”,“Wifi”:{“AP”:1,“SSId”:“Wifi”,“BSSId”:“XX:XX:XX:XX:XX:XX”,“Channel”:11,“RSSI”:44,“LinkCount”:1,“Downtime”:“0T00:00:06”,“DeepSleep”:0,“Heap”:22848}}
09:25:11 MQT: stat/king_room_shutter/RESULT = {“POWER1”:“OFF”}
09:25:11 MQT: stat/king_room_shutter/POWER1 = OFF (retained)
09:25:11 MQT: tele/king_room_shutter/RESULT = {“SHUTTER-1”:{“position”:100, “direction”:0}}
09:25:11 Wait for Motorstop 500
09:25:12 MQT: tele/king_room_shutter/STATE = {“Time”:“2019-06-17T09:25:12”,“Uptime”:“0T21:30:41”,“SleepMode”:“Dynamic”,“Sleep”:0,“LoadAvg”:999,“POWER1”:“ON”,“POWER2”:“OFF”,“POWER3”:“OFF”,“POWER4”:“OFF”,“Wifi”:{“AP”:1,“SSId”:“Wifi”,“BSSId”:“XX:XX:XX:XX:XX:XX”,“Channel”:11,“RSSI”:48,“LinkCount”:1,“Downtime”:“0T00:00:06”,“DeepSleep”:0,“Heap”:26048}}
09:25:12 MQT: stat/king_room_shutter/RESULT = {“POWER1”:“ON”}
09:25:12 MQT: stat/king_room_shutter/POWER1 = ON (retained)
09:25:12 MQT: stat/king_room_shutter/SHUTTER1 = 100 (retained)
09:25:12 MQT: tele/king_room_shutter/STATE = {“Time”:“2019-06-17T09:25:12”,“Uptime”:“0T21:30:41”,“SleepMode”:“Dynamic”,“Sleep”:0,“LoadAvg”:999,“POWER1”:“OFF”,“POWER2”:“OFF”,“POWER3”:“OFF”,“POWER4”:“OFF”,“Wifi”:{“AP”:1,“SSId”:“Wifi”,“BSSId”:“XX:XX:XX:XX:XX:XX”,“Channel”:11,“RSSI”:46,“LinkCount”:1,“Downtime”:“0T00:00:06”,“DeepSleep”:0,“Heap”:22848}}
09:25:12 MQT: stat/king_room_shutter/RESULT = {“POWER1”:“OFF”}
09:25:12 MQT: stat/king_room_shutter/POWER1 = OFF (retained)
09:25:12 MQT: tele/king_room_shutter/RESULT = {“SHUTTER-1”:{“position”:100, “direction”:0}}
and I wonder: what is that Wait for Motorstop 500?
Your help is very appreciated, I want to learn, many many thanks.