Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tuya MCU testing #11

Open
btsimonh opened this issue Apr 3, 2022 · 52 comments
Open

Tuya MCU testing #11

btsimonh opened this issue Apr 3, 2022 · 52 comments

Comments

@btsimonh
Copy link
Owner

btsimonh commented Apr 3, 2022

This branch:

https://github.com/btsimonh/Tasmota/tree/TuyaUpdate

contains what built this binary:
tasmota-lite.bin.gz

The major changes are:
1/ low level protocol parsing improved:
Added byte timeout, detection 55AA rather than just 55 as a reset, incrementing error count.
2/ high level messages processing:
Always goes through a 'correct' startup sequence before sending DPs to the MCU.
All messages wait for a response from the MCU - I did observe the MCU ignoring messages before this was in place.
3/ DPs are ONLY sent if they are different to what TAS thinks the MCU value is:
This resolves an issue on my dimmers, where if 'OFF' was sent whilst the dimmer was off, the dimmer would no longer control the light (i.e. dead forever, no way to restore operation that I could find).

This has only been tested on an ESP8266 based Athom Dimmer switch.

Specifically I need help with testing on:
other dimmers,
sensors,
plugs,
etc.

Known Issues:
1/ The Athom dimmer accepts setting of DIM value when off, or immediately after ON.
However, it takes time to reach it's ORIGINAL DIM value after ON, and when it does, it sends it's original value, not the value WE asked for.
Not sure how to deal with this yet. But it's not a new issue....

@Ysbrand
Copy link

Ysbrand commented Apr 3, 2022

Tried this on a WF-DS01 Dimmer:

Long story short, Can't control it from Tasmota (it is simply not responding to any command, not even off/on) , but the buttons are still working. Not sure what you need from me

stat/Dimmer2/RESULT = {"TuyaMCU":[{"fnId":11,"dpId":1},{"fnId":21,"dpId":2}]}
MCU Product ID: bSXSSFArVKtc4DyC1.0.0

15:53:32.331 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":19} 15:53:32.381 TYA: Valid DP 1 type 1 mcuval[0] 1 desired[0] 0 setflag 1 rxed 1 15:53:32.383 TYA: Valid DP 2 type 2 mcuval 53 desired 135 setflag 1 rxed 1 15:53:32.455 TYA: Valid DP 1 type 1 mcuval[0] 1 desired[0] 0 setflag 1 rxed 1 15:53:32.457 TYA: Valid DP 2 type 2 mcuval 56 desired 135 setflag 1 rxed 1 15:53:32.495 TYA: Valid DP 1 type 1 mcuval[0] 1 desired[0] 0 setflag 1 rxed 1 15:53:32.497 TYA: Valid DP 2 type 2 mcuval 56 desired 135 setflag 1 rxed 1 15:53:32.501 TYA: Valid DP 1 type 1 mcuval[0] 1 desired[0] 0 setflag 1 rxed 1 15:53:32.503 TYA: Valid DP 2 type 2 mcuval 58 desired 135 setflag 1 rxed 1 15:53:32.514 MQT: tele/Dimmer2/STATE = {"Time":"2022-04-03T15:53:32","Uptime":"0T00:02:53","UptimeSec":173,"Vcc":3.414,"Heap":28,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":109,"MqttCount":1,"POWER":"ON","Dimmer":21,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":82,"Signal":-59,"LinkCount":1,"Downtime":"0T00:00:03"}} 15:53:32.520 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":21} 15:53:32.548 TYA: Valid DP 1 type 1 mcuval[0] 1 desired[0] 0 setflag 1 rxed 1 15:53:32.550 TYA: Valid DP 2 type 2 mcuval 58 desired 135 setflag 1 rxed 1 15:53:32.564 TYA: Valid DP 1 type 1 mcuval[0] 1 desired[0] 0 setflag 1 rxed 1 15:53:32.566 TYA: Valid DP 2 type 2 mcuval 61 desired 135 setflag 1 rxed 1 15:53:32.632 TYA: Valid DP 1 type 1 mcuval[0] 1 desired[0] 0 setflag 1 rxed 1 15:53:32.634 TYA: Valid DP 2 type 2 mcuval 61 desired 135 setflag 1 rxed 1 15:53:32.647 TYA: Valid DP 1 type 1 mcuval[0] 1 desired[0] 0 setflag 1 rxed 1 15:53:32.649 TYA: Valid DP 2 type 2 mcuval 64 desired 135 setflag 1 rxed 1 15:53:32.659 MQT: tele/Dimmer2/STATE = {"Time":"2022-04-03T15:53:32","Uptime":"0T00:02:53","UptimeSec":173,"Vcc":3.417,"Heap":28,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"POWER":"ON","Dimmer":23,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":82,"Signal":-59,"LinkCount":1,"Downtime":"0T00:00:03"}} 15:53:32.667 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":23} 15:53:33.385 TYA: Protocol timeout state 1 -> 0 15:53:36.382 TYA: Protocol timeout state 1 -> 0 15:53:39.731 TYA: Protocol timeout state 1 -> 0 15:53:42.728 TYA: Protocol timeout state 1 -> 0 15:53:45.723 TYA: Protocol timeout state 1 -> 0 15:53:48.725 TYA: Protocol timeout state 1 -> 0 15:53:51.960 TYA: Protocol timeout state 1 -> 0 15:53:54.964 TYA: Protocol timeout state 1 -> 0 15:53:57.964 TYA: Protocol timeout state 1 -> 0 15:54:00.965 TYA: Protocol timeout state 1 -> 0 15:54:04.032 TYA: Protocol timeout state 1 -> 0 15:54:06.960 TYA: Protocol timeout state 1 -> 0 15:54:09.966 TYA: Protocol timeout state 1 -> 0 15:54:12.067 TYA: Valid DP 1 type 1 mcuval[0] 1 desired[0] 0 setflag 1 rxed 1 15:54:12.070 TYA: Valid DP 2 type 2 mcuval 64 desired 135 setflag 1 rxed 1 15:54:12.098 MQT: tele/Dimmer2/STATE = {"Time":"2022-04-03T15:54:12","Uptime":"0T00:03:33","UptimeSec":213,"Vcc":3.417,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":99,"MqttCount":1,"POWER":"OFF","Dimmer":23,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":94,"Signal":-53,"LinkCount":1,"Downtime":"0T00:00:03"}} 15:54:12.104 MQT: stat/Dimmer2/RESULT = {"POWER":"OFF"} 15:54:12.108 MQT: stat/Dimmer2/POWER = OFF 15:54:13.097 TYA: Protocol timeout state 1 -> 0 15:54:16.070 TYA: Protocol timeout state 1 -> 0 15:54:23.391 TYA: Protocol timeout state 1 -> 0 15:54:26.343 TYA: Protocol timeout state 1 -> 0 15:54:29.382 TYA: Protocol timeout state 1 -> 0 15:54:32.357 TYA: Protocol timeout state 1 -> 0 15:54:35.357 TYA: Protocol timeout state 1 -> 0 15:54:38.448 TYA: Protocol timeout state 1 -> 0 15:54:41.734 TYA: Protocol timeout state 1 -> 0 15:54:44.773 TYA: Protocol timeout state 1 -> 0 15:54:47.961 TYA: Protocol timeout state 1 -> 0 15:54:50.965 TYA: Protocol timeout state 1 -> 0 15:54:53.963 TYA: Protocol timeout state 1 -> 0 15:54:58.105 MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":21} 15:54:58.150 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:58.152 TYA: Valid DP 2 type 2 mcuval 58 desired 135 setflag 1 rxed 1 15:54:58.165 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:58.167 TYA: Valid DP 2 type 2 mcuval 56 desired 135 setflag 1 rxed 1 15:54:58.230 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:58.232 TYA: Valid DP 2 type 2 mcuval 56 desired 135 setflag 1 rxed 1 15:54:58.245 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:58.247 TYA: Valid DP 2 type 2 mcuval 53 desired 135 setflag 1 rxed 1 15:54:58.258 MQT: tele/Dimmer2/STATE = {"Time":"2022-04-03T15:54:58","Uptime":"0T00:04:19","UptimeSec":259,"Vcc":3.415,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"POWER":"OFF","Dimmer":19,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:03"}} 15:54:58.265 MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":19} 15:54:58.310 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:58.312 TYA: Valid DP 2 type 2 mcuval 53 desired 135 setflag 1 rxed 1 15:54:58.325 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:58.327 TYA: Valid DP 2 type 2 mcuval 50 desired 135 setflag 1 rxed 1 15:54:58.390 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:58.392 TYA: Valid DP 2 type 2 mcuval 50 desired 135 setflag 1 rxed 1 15:54:58.504 TYA: Reset by char timeout 15:54:58.506 TYA: E55 0x08 15:54:58.508 TYA: E55 0x02 15:54:58.509 TYA: E55 0x02 15:54:58.511 TYA: E55 0x00 15:54:58.512 TYA: E55 0x04 15:54:58.513 TYA: E55 0x00 15:54:58.515 TYA: E55 0x00 15:54:58.516 TYA: E55 0x00 15:54:58.518 TYA: E55 0x2F 15:54:58.520 TYA: E55 0x45 15:54:58.523 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:58.526 TYA: Valid DP 2 type 2 mcuval 50 desired 135 setflag 1 rxed 1 15:54:58.532 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:58.534 TYA: Valid DP 2 type 2 mcuval 44 desired 135 setflag 1 rxed 1 15:54:58.546 MQT: tele/Dimmer2/STATE = {"Time":"2022-04-03T15:54:58","Uptime":"0T00:04:19","UptimeSec":259,"Vcc":3.413,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":30,"MqttCount":1,"POWER":"OFF","Dimmer":15,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":90,"Signal":-55,"LinkCount":1,"Downtime":"0T00:00:03"}} 15:54:58.555 MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":15} 15:54:58.559 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:58.562 TYA: Valid DP 2 type 2 mcuval 44 desired 135 setflag 1 rxed 1 15:54:58.565 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:58.567 TYA: Valid DP 2 type 2 mcuval 42 desired 135 setflag 1 rxed 1 15:54:58.629 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:58.631 TYA: Valid DP 2 type 2 mcuval 42 desired 135 setflag 1 rxed 1 15:54:58.681 TYA: Errorcnt 12->23 15:54:58.685 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:58.687 TYA: Valid DP 2 type 2 mcuval 39 desired 135 setflag 1 rxed 1 15:54:58.698 MQT: tele/Dimmer2/STATE = {"Time":"2022-04-03T15:54:58","Uptime":"0T00:04:19","UptimeSec":259,"Vcc":3.416,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":23,"MqttCount":1,"POWER":"OFF","Dimmer":13,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:03"}} 15:54:58.705 MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":13} 15:54:58.710 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:58.712 TYA: Valid DP 2 type 2 mcuval 39 desired 135 setflag 1 rxed 1 15:54:59.205 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:59.207 TYA: Valid DP 2 type 2 mcuval 22 desired 135 setflag 1 rxed 1 15:54:59.210 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:59.212 TYA: Valid DP 2 type 2 mcuval 19 desired 135 setflag 1 rxed 1 15:54:59.223 MQT: tele/Dimmer2/STATE = {"Time":"2022-04-03T15:54:59","Uptime":"0T00:04:20","UptimeSec":260,"Vcc":3.413,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":27,"MqttCount":1,"POWER":"OFF","Dimmer":5,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":90,"Signal":-55,"LinkCount":1,"Downtime":"0T00:00:03"}} 15:54:59.230 MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":5} 15:54:59.268 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:59.270 TYA: Valid DP 2 type 2 mcuval 19 desired 135 setflag 1 rxed 1 15:54:59.283 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:59.285 TYA: Valid DP 2 type 2 mcuval 16 desired 135 setflag 1 rxed 1 15:54:59.348 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:59.350 TYA: Valid DP 2 type 2 mcuval 16 desired 135 setflag 1 rxed 1 15:54:59.363 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:59.365 TYA: Valid DP 2 type 2 mcuval 14 desired 135 setflag 1 rxed 1 15:54:59.376 MQT: tele/Dimmer2/STATE = {"Time":"2022-04-03T15:54:59","Uptime":"0T00:04:20","UptimeSec":260,"Vcc":3.415,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"POWER":"OFF","Dimmer":3,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:03"}} 15:54:59.382 MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":3} 15:54:59.476 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:59.478 TYA: Valid DP 2 type 2 mcuval 14 desired 135 setflag 1 rxed 1 15:54:59.482 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:59.484 TYA: Valid DP 2 type 2 mcuval 11 desired 135 setflag 1 rxed 1 15:54:59.506 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:59.509 TYA: Valid DP 2 type 2 mcuval 11 desired 135 setflag 1 rxed 1 15:54:59.522 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:59.524 TYA: Valid DP 2 type 2 mcuval 8 desired 135 setflag 1 rxed 1 15:54:59.535 MQT: tele/Dimmer2/STATE = {"Time":"2022-04-03T15:54:59","Uptime":"0T00:04:20","UptimeSec":260,"Vcc":3.413,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"POWER":"OFF","Dimmer":1,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":86,"Signal":-57,"LinkCount":1,"Downtime":"0T00:00:03"}} 15:54:59.542 MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":1} 15:54:59.587 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:59.589 TYA: Valid DP 2 type 2 mcuval 8 desired 135 setflag 1 rxed 1 15:54:59.603 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:59.605 TYA: Valid DP 2 type 2 mcuval 5 desired 135 setflag 1 rxed 1 15:54:59.704 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:59.706 TYA: Valid DP 2 type 2 mcuval 5 desired 135 setflag 1 rxed 1 15:54:59.709 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:59.711 TYA: Valid DP 2 type 2 mcuval 2 desired 135 setflag 1 rxed 1 15:54:59.746 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:59.747 TYA: Valid DP 2 type 2 mcuval 2 desired 135 setflag 1 rxed 1 15:54:59.762 TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 1 15:54:59.763 TYA: Valid DP 2 type 2 mcuval 0 desired 135 setflag 1 rxed 1 15:55:00.412 TYA: Protocol timeout state 1 -> 0 15:55:03.437 TYA: Protocol timeout state 1 -> 0 15:55:07.053 TYA: Protocol timeout state 1 -> 0 15:55:10.049 TYA: Protocol timeout state 1 -> 0 15:55:13.054 TYA: Protocol timeout state 1 -> 0 15:55:16.083 TYA: Protocol timeout state 1 -> 0 15:55:19.058 TYA: Protocol timeout state 1 -> 0 15:55:22.101 TYA: Protocol timeout state 1 -> 0

@btsimonh
Copy link
Owner Author

btsimonh commented Apr 3, 2022

@Ysbrand
Hello!! :).
If you can get logs via MQTT (or syslog), raise the log level to more debug, then cold reboot....
You will probably (almost) get logs from startup.
without seeing the Debug logs, I predict that your MCU does not respond to heartbeats... :(. Although it does seem to get somewhere, it's kicked back to state 0, and then gets stuck there.
So yes, logs of a startup with Debug at max, if you can!

@Ysbrand
Copy link

Ysbrand commented Apr 3, 2022

... You see a power on, and from the logs it seems to work, but the bulb stays off

Apr 3 16:16:49 Dimmer2-7958 ESP-CFG: Loaded from flash at FB, Count 5896 Apr 3 16:16:49 Dimmer2-7958 ESP-CFG: Saved to flash at FB, Count 5897, Bytes 4096 Apr 3 16:16:49 Dimmer2-7958 ESP-QPC: Reset Apr 3 16:16:49 Dimmer2-7958 ESP-CFG: CR 381/699, Busy 0 Apr 3 16:16:49 Dimmer2-7958 ESP-TYA: init struct done Apr 3 16:16:49 Dimmer2-7958 ESP-SNS: Hardware Serial Apr 3 16:16:49 Dimmer2-7958 ESP-TYA: Request MCU configuration at 9600 bps Apr 3 16:16:49 Dimmer2-7958 ESP-SRC: Restart Apr 3 16:16:49 Dimmer2-7958 ESP-TYA: Add unknown dpid 2 in set - num DP:1 Apr 3 16:16:49 Dimmer2-7958 ESP-TYA: set of dpid 2 to 8 requested Apr 3 16:16:49 Dimmer2-7958 ESP-TYA: Valid DP 2 type 2 mcuval 0 desired 8 setflag 1 rxed 0 Apr 3 16:16:49 Dimmer2-7958 ESP-TYA: Add unknown dpid 1 in set - num DP:2 Apr 3 16:16:49 Dimmer2-7958 ESP-TYA: set of dpid 1 to 0 requested Apr 3 16:16:49 Dimmer2-7958 ESP-TYA: Valid DP 2 type 2 mcuval 0 desired 8 setflag 1 rxed 0 Apr 3 16:16:49 Dimmer2-7958 ESP-TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 0 Apr 3 16:16:49 Dimmer2-7958 ESP-Project tasmota - Dimmer2 Version 11.0.0.4(lite)-2_7_4_9(2022-04-03T11:18:31) Apr 3 16:16:49 Dimmer2-7958 ESP-TYA: E55 0xFF Apr 3 16:16:49 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:16:49 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:16:49 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:16:49 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:16:49 Dimmer2-7958 ESP-WIF: Attempting connection... Apr 3 16:16:49 Dimmer2-7958 ESP-WIF: Checking connection... Apr 3 16:16:49 Dimmer2-7958 ESP-WIF: Connected Apr 3 16:16:51 Dimmer2-7958 ESP-WIF: Sending Gratuitous ARP Apr 3 16:16:51 Dimmer2-7958 ESP-NTP: Sync time... Apr 3 16:16:51 Dimmer2-7958 ESP-NTP: No reply Apr 3 16:16:51 Dimmer2-7958 ESP-HTP: Web server active on Dimmer2-7958 with IP address 192.168.0.46 Apr 3 16:16:51 Dimmer2-7958 ESP-NTP: Sync time... Apr 3 16:16:51 Dimmer2-7958 ESP-RTC: UTC 2022-04-03T14:16:51, DST 2022-03-27T02:00:00, STD 2022-10-30T03:00:00 Apr 3 16:16:51 Dimmer2-7958 ESP-RTC: Synced by NTP Apr 3 16:16:52 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:16:52 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:16:52 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:16:52 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:16:52 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:16:52 Dimmer2-7958 ESP-HTP: Main Menu Apr 3 16:16:52 Dimmer2-7958 ESP-MQT: Attempting connection... Apr 3 16:16:52 Dimmer2-7958 ESP-MQT: Connected Apr 3 16:16:52 Dimmer2-7958 ESP-MQT: tele/Dimmer2/LWT = Online (retained) Apr 3 16:16:52 Dimmer2-7958 ESP-MQT: cmnd/Dimmer2/POWER = Apr 3 16:16:52 Dimmer2-7958 ESP-MQT: Subscribe to cmnd/Dimmer2/# Apr 3 16:16:52 Dimmer2-7958 ESP-MQT: Subscribe to cmnd/sonoffs/# Apr 3 16:16:52 Dimmer2-7958 ESP-MQT: Subscribe to cmnd/DVES_917F16_fb/# Apr 3 16:16:52 Dimmer2-7958 ESP-MQT: tele/Dimmer2/INFO1 = {"Info1":{"Module":"Dimmer WF-DS01","Version":"11.0.0.4(lite)","FallbackTopic":"cmnd/DVES_917F16_fb/","GroupTopic":"cmnd/sonoffs/"}} Apr 3 16:16:52 Dimmer2-7958 ESP-MQT: tele/Dimmer2/INFO2 = {"Info2":{"WebServerMode":"Admin","Hostname":"Dimmer2-7958","IPAddress":"192.168.0.46"}} Apr 3 16:16:52 Dimmer2-7958 ESP-MQT: tele/Dimmer2/INFO3 = {"Info3":{"RestartReason":"Software/System restart","BootCount":149}} Apr 3 16:16:52 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF"} Apr 3 16:16:52 Dimmer2-7958 ESP-MQT: stat/Dimmer2/POWER = OFF Apr 3 16:16:54 Dimmer2-7958 ESP-APP: Boot Count 149 Apr 3 16:16:55 Dimmer2-7958 ESP-HTP: Console Apr 3 16:16:55 Dimmer2-7958 ESP-CFG: Saved to flash at FA, Count 5898, Bytes 4096 Apr 3 16:16:56 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:16:56 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:16:56 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:16:56 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:16:56 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:16:57 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-03T16:16:56","Uptime":"0T00:00:11","UptimeSec":11,"Vcc":3.416,"Heap":30,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":21,"MqttCount":1,"POWER":"OFF","Dimmer":1,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":92,"Signal":-54,"LinkCount":1,"Downtime":"0T00:00:04"}} Apr 3 16:16:59 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:16:59 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:16:59 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:16:59 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:16:59 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:17:05 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:17:05 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:17:05 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:17:05 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:17:05 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:17:15 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:17:15 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:17:15 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:17:15 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:17:15 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:17:18 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:17:18 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:17:18 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:17:18 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:17:18 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:17:21 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:17:21 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:17:21 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:17:21 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:17:21 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:17:24 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:17:24 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:17:24 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:17:24 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:17:24 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:17:27 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:17:27 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:17:27 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:17:27 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:17:27 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:17:30 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:17:30 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:17:30 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:17:30 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:17:30 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:17:32 Dimmer2-7958 ESP-WIF: Checking connection... Apr 3 16:17:33 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:17:33 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:17:33 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:17:33 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:17:33 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:17:37 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:17:37 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:17:37 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:17:37 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:17:37 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:17:39 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:17:39 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:17:39 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:17:39 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:17:39 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:17:42 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:17:42 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:17:42 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:17:42 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:17:42 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:17:45 Dimmer2-7958 ESP-WIF: Sending Gratuitous ARP Apr 3 16:17:45 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:17:45 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:17:45 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:17:45 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:17:45 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:17:48 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:17:53 Dimmer2-7958 ESP-WIF: Checking connection... Apr 3 16:17:54 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:17:54 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:17:54 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:17:54 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:17:54 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:17:57 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:17:57 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:17:57 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:17:57 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:17:58 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:18:03 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:18:03 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:18:03 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:18:03 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:18:03 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:18:06 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:18:06 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:18:06 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:18:06 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:18:06 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:18:09 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:18:09 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:18:09 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:18:09 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:18:09 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:18:13 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:18:19 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:18:19 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:18:19 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:18:19 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:18:19 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:18:25 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:18:25 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:18:25 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:18:25 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:18:25 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:18:28 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:18:28 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:18:28 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:18:28 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:18:28 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:18:31 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:18:31 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:18:31 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:18:31 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:18:31 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:18:32 Dimmer2-7958 ESP-WIF: Checking connection... Apr 3 16:18:34 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:18:34 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:18:34 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:18:34 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:18:34 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:18:37 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:18:37 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:18:37 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:18:37 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:18:37 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:18:40 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:18:40 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:18:40 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:18:40 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:18:40 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:18:43 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:18:43 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:18:43 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:18:43 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:18:43 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:18:45 Dimmer2-7958 ESP-WIF: Sending Gratuitous ARP Apr 3 16:18:46 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:18:46 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:18:46 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:18:46 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:18:46 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:18:49 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:18:49 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:18:49 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:18:50 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:18:50 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:18:52 Dimmer2-7958 ESP-WIF: Checking connection... Apr 3 16:18:52 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:18:52 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:18:52 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:18:53 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:18:53 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:18:56 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:18:56 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:18:56 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:18:56 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:18:56 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:18:59 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:18:59 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:18:59 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:18:59 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:18:59 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:19:02 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:19:02 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:19:02 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:19:02 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:19:02 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:19:05 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:19:05 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:19:05 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:19:05 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:19:05 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:19:08 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:19:08 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:19:08 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:19:08 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:19:08 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:19:12 Dimmer2-7958 ESP-WIF: Checking connection... Apr 3 16:19:14 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:19:14 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:19:14 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:19:14 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:19:14 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:19:17 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:19:17 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:19:17 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:19:17 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:19:17 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:19:20 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:19:20 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:19:20 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:19:20 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:19:20 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:19:23 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:19:23 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:19:23 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:19:23 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:19:23 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:19:27 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:19:27 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:19:27 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:19:27 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:19:29 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:19:29 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:19:29 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:19:29 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:19:29 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:19:39 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:19:39 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:19:39 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:19:39 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:19:39 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:19:42 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:19:42 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:19:42 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:19:42 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:19:42 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:19:45 Dimmer2-7958 ESP-WIF: Sending Gratuitous ARP Apr 3 16:19:45 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:19:45 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:19:45 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:19:45 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:19:45 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:19:48 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:19:48 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:19:48 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:19:48 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:19:48 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:19:53 Dimmer2-7958 ESP-WIF: Checking connection... Apr 3 16:19:54 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:19:54 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:19:54 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:19:54 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:19:54 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:19:57 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:19:57 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:19:57 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:19:57 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:19:57 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:20:00 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:20:00 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:20:00 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:20:00 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:20:00 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:20:01 Dimmer2-7958 ESP-CMD: power on Apr 3 16:20:01 Dimmer2-7958 ESP-SRC: WebConsole from 192.168.0.207 Apr 3 16:20:01 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'POWER', Idx 1, Len 2, Pld 1, Data 'on' Apr 3 16:20:01 Dimmer2-7958 ESP-TYA: set of dpid 2 to 8 requested Apr 3 16:20:01 Dimmer2-7958 ESP-TYA: Valid DP 2 type 2 mcuval 0 desired 8 setflag 1 rxed 0 Apr 3 16:20:01 Dimmer2-7958 ESP-TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 0 setflag 1 rxed 0 Apr 3 16:20:01 Dimmer2-7958 ESP-TYA: set of dpid 1 to 1 requested Apr 3 16:20:01 Dimmer2-7958 ESP-TYA: Valid DP 2 type 2 mcuval 0 desired 8 setflag 1 rxed 0 Apr 3 16:20:01 Dimmer2-7958 ESP-TYA: Valid DP 1 type 1 mcuval[0] 0 desired[0] 1 setflag 1 rxed 0 Apr 3 16:20:01 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-03T16:20:01","Uptime":"0T00:03:16","UptimeSec":196,"Vcc":3.426,"Heap":27,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":19,"MqttCount":1,"POWER":"ON","Dimmer":1,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":90,"Signal":-55,"LinkCount":1,"Downtime":"0T00:00:04"}} Apr 3 16:20:01 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"ON"} Apr 3 16:20:01 Dimmer2-7958 ESP-MQT: stat/Dimmer2/POWER = ON Apr 3 16:20:02 Dimmer2-7958 ESP-CFG: Saved to flash at F9, Count 5899, Bytes 4096 Apr 3 16:20:03 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:20:03 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:20:03 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:20:03 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:20:03 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:20:07 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:20:07 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:20:07 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:20:07 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:20:07 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:20:09 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:20:09 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:20:09 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:20:09 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:20:09 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:20:12 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:20:12 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:20:12 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:20:12 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:20:12 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:20:13 Dimmer2-7958 ESP-WIF: Checking connection... Apr 3 16:20:18 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:20:18 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:20:18 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:20:18 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:20:18 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:20:21 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:20:21 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:20:21 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:20:21 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:20:21 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:20:25 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:20:25 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:20:25 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:20:25 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:20:25 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:20:28 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:20:28 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:20:28 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:20:28 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:20:28 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:20:31 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:20:31 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:20:31 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:20:31 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:20:31 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:20:33 Dimmer2-7958 ESP-WIF: Checking connection... Apr 3 16:20:34 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:20:34 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:20:34 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:20:34 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:20:34 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:20:37 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:20:37 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:20:37 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:20:37 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:20:37 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:20:40 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:20:40 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:20:40 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:20:40 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:20:40 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:20:43 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:20:43 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:20:43 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:20:43 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:20:43 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:20:45 Dimmer2-7958 ESP-WIF: Sending Gratuitous ARP Apr 3 16:20:49 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:20:49 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:20:49 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:20:49 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:20:49 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:20:52 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:20:52 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:20:52 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:20:52 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:20:52 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:20:53 Dimmer2-7958 ESP-WIF: Checking connection... Apr 3 16:20:55 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:20:55 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:20:55 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:20:55 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:20:55 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:20:58 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:20:58 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:20:58 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:20:58 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:20:58 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:21:01 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:21:01 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:21:01 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:21:01 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:21:01 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:21:05 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:21:05 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:21:05 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:21:05 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:21:05 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:21:07 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:21:07 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:21:07 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:21:07 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:21:07 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:21:13 Dimmer2-7958 ESP-WIF: Checking connection... Apr 3 16:21:14 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:21:14 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:21:14 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:21:14 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:21:14 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:21:17 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:21:17 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:21:17 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:21:17 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:21:17 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:21:20 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:21:20 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:21:20 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:21:20 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:21:20 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:21:23 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:21:23 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:21:23 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:21:23 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:21:23 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:21:29 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:21:29 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:21:29 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:21:29 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:21:29 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:21:32 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:21:32 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:21:32 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:21:32 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:21:32 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:21:33 Dimmer2-7958 ESP-WIF: Checking connection... Apr 3 16:21:35 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:21:35 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:21:35 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:21:35 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:21:35 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:21:38 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:21:38 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:21:38 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:21:38 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:21:38 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:21:41 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:21:41 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:21:41 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:21:41 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:21:41 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:21:44 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:21:44 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:21:44 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:21:44 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:21:44 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:21:45 Dimmer2-7958 ESP-WIF: Sending Gratuitous ARP Apr 3 16:21:47 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:21:47 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:21:47 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:21:47 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:21:47 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:21:53 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:21:53 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:21:53 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:21:53 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:21:53 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:21:53 Dimmer2-7958 ESP-WIF: Checking connection... Apr 3 16:21:56 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:21:56 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:21:56 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:21:56 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:21:56 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:21:58 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-03T16:21:56","Uptime":"0T00:05:11","UptimeSec":311,"Vcc":3.417,"Heap":27,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"POWER":"ON","Dimmer":1,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":90,"Signal":-55,"LinkCount":1,"Downtime":"0T00:00:04"}} Apr 3 16:21:59 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:21:59 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:21:59 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:22:02 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:22:02 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:22:02 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:22:02 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:22:02 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:22:05 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:22:05 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:22:05 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:22:05 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:22:05 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:22:08 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:22:08 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:22:08 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:22:08 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:22:08 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:22:11 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:22:11 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:22:11 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:22:11 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:22:11 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:22:14 Dimmer2-7958 ESP-WIF: Checking connection... Apr 3 16:22:15 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:22:17 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:22:17 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:22:17 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:22:17 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:22:17 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:22:23 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:22:23 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:22:23 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:22:23 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:22:23 Dimmer2-7958 ESP-TYA: Heartbeat Apr 3 16:22:26 Dimmer2-7958 ESP-TYA: Protocol timeout state 1 -> 0 Apr 3 16:22:26 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff" Apr 3 16:22:26 Dimmer2-7958 ESP-TYA: s 0 -> 1 Apr 3 16:22:26 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} Apr 3 16:22:26 Dimmer2-7958 ESP-TYA: Heartbeat

@btsimonh
Copy link
Owner Author

btsimonh commented Apr 3, 2022

updated version.
This ignores the value of the 'ver' part of the message, which I was insisting should be 3 before processing acknowledgements.
Lite version:
tasmota-lite.bin.gz
Full version:
tasmota.bin.gz

@btsimonh
Copy link
Owner Author

btsimonh commented Apr 3, 2022

Updated:
This version changes the way time is sent (thankyou @digiblur).
IF we get a request for time from the MCU, we stop sending async, and only respond to requests.
Full TAS:
tasmota.bin.gz
Lite:
tasmota-lite.bin.gz

@btsimonh
Copy link
Owner Author

btsimonh commented Apr 4, 2022

Updated: Added more cmnd definitions (not implemented), Merged current TAS Dev in, added @benjaminnestler 's mods for exclusion of Tuya commands from MQTT.
tasmota.bin.gz
tasmota-lite.bin.gz
no other functional changes.

@btsimonh
Copy link
Owner Author

btsimonh commented Apr 4, 2022

Final changes for this morning. Wait 300ms for cmd37 in startup sequence. add logging for wifi reset (if you cause a 'wifi reset' from the MCU, it adds 10000ms to a timer. If the commands make the timer > 20000ms, then TAS-> Wifi AP mode. if the timer runs out, wifi reset sequence is aborted. (my MCU -> wifi reset on about a 1.5s hold on the central button :( - far too sensitive to trigger AP mode directly from ).
tasmota-lite.bin.gz
tasmota.bin.gz

@Ysbrand
Copy link

Ysbrand commented Apr 4, 2022

Tuya-04042022.txt

Did some testing, all basic functionality works, but not the manual (using buttons power off). I see that it "thinks" it's off, but then decides it is on in the next second or so.

I've tried to annotate the log. If you want me to do something specific (again), please let me know.

@btsimonh
Copy link
Owner Author

btsimonh commented Apr 4, 2022

hmm... so looking through this we have a number of issues with TAS driving the dimmer.
1/ manual on. The light is off, and you hit the 'on' button.
TAS detects the button press (ESP-SRC: Switch), and then requests a dim value (8).
The dimmer ignores the request for a dim value. It proceeds to fade up to it's last value, sending us 0, 8 then 5.
Seems in this case TAS should NOT send a dim value?
2/ manual off. The light is on, and you hit the button.
Did we lose a log? it looks like it.
TAS detects the button press (ESP-SRC: Switch), and then requests a dim value (8). (WHY?).
I THINK it gets into a nasty loop at this point, more lost logs, but the dimmer appears to turn back on (maybe because it was sent a dim value, who knows?). Tas detects it turn ON, and sends a dim value again!.
3/ '>> doesn't respond to manual off' - it seems to think it does! - but probably in a tizzy from the previous....

So, I think the main issue is TAS sending DIM values to the device when it is off.
In your case, this turns the device on.... which then makes TAS send a DIM value?
Similarly, when TAS turns the device on, it sends a DIM value, which conflicts with the dimmer trying to fade up.

I'm not sure what the total answer is.
1/ don't send DIM values if the device is off.
2/ wait some time before asking for a dim value - maybe on 'on' send the dim value after 2s?

thoughts?

@Ysbrand
Copy link

Ysbrand commented Apr 4, 2022

It's my understanding that (and this is how it used to work in 8.2 and lower:
With SetOption20 on:
One can adjust the dimmer value when the device is off. And when you turn on the device it will go to this value
If you turn off the device it remembers the value when it was on.

With SetOption20 to off
When you send a dim value to the device it will turn on the device and set the dim value accordingly

(But then, I didn't test this earlier today, so everything you see related to sending dim values when the device was off was done by TAS)

@btsimonh
Copy link
Owner Author

btsimonh commented Apr 5, 2022

ok, new version.
tasmota.bin.gz
tasmota-lite.bin.gz

whenever the device has reported 'off', dimmer commands are disabled (it just stores what was going to be sent).
whenever the device reports 'on', dimmer commands are enabled, but a 2s timer is set to defer them until after the MCU has done it's thing.
whenever we 'hear' a dim report, but a 2s timer is set to defer dimmer commands.

If dimmer commands are enabled when the 2s timer ends, the last value request by TAS is sent.

2s may be long for some dimmers, but please report?

Note: not sure how this may affect 'dual' dimmers.... I'm only working with REL1 and REL1_INV for the on/off sensing.

@btsimonh
Copy link
Owner Author

btsimonh commented Apr 5, 2022

Example log from boot:
(lines starting ### indicate actions taken)
Tuya-04042022.txt

@Ysbrand
Copy link

Ysbrand commented Apr 5, 2022

Manual switch looks ok, but setting the dimmer to a value while the power is off ends up in strange results
Power on reults in power off right away and the dimmer is suddenly set to 2?

`DIMMER is off
Send command to change dimmer to 75
18:06:34.772 CMD: dimmer 75
18:06:34.774 SRC: WebConsole from 192.168.0.211
18:06:34.777 CMD: Grp 0, Cmd 'DIMMER', Idx 1, Len 2, Pld 75, Data '75'
18:06:34.786 MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:34","Uptime":"0T06:05:41","UptimeSec":21941,"Vcc":3.412,"Heap":26,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":26,"MqttCount":4,"POWER":"OFF","Dimmer":75,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":90,"Signal":-55,"LinkCount":1,"Downtime":"0T00:00:04"}}
18:06:34.792 MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":75}
18:06:34.866 TYA: Dim command disabled
18:06:34.868 TYA: s 11 -> 13
18:06:34.954 TYA: Send "55aa00000000ff"
18:06:34.955 TYA: s 13 -> 14
18:06:34.022 CFG: Saved to flash at F7, Count 5983, Bytes 4096
18:06:35.001 TYA: s 14 -> 11
18:06:35.003 {"TuyaReceived":{"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}}
18:06:45.866 TYA: s 11 -> 13
18:06:45.974 TYA: Send "55aa00000000ff"
18:06:45.975 TYA: s 13 -> 14
18:06:45.983 TYA: s 14 -> 11
18:06:45.985 {"TuyaReceived":{"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}}
18:06:50.491 WIF: Checking connection...
18:06:50.746 WIF: Sending Gratuitous ARP
POWER stays off (which is as expected)

Switch power to on
18:06:54.708 CMD: power on
18:06:54.710 SRC: WebConsole from 192.168.0.211
18:06:54.712 CMD: Grp 0, Cmd 'POWER', Idx 1, Len 2, Pld 1, Data 'on'
18:06:54.741 MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:54","Uptime":"0T06:06:01","UptimeSec":21961,"Vcc":3.414,"Heap":22,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":50,"MqttCount":4,"POWER":"ON","Dimmer":75,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:04"}}
18:06:54.745 MQT: stat/Dimmer2/RESULT = {"POWER":"ON"}
18:06:54.748 MQT: stat/Dimmer2/POWER = ON
18:06:55.546 TYA: fnId=21 RX value 11 from dpId 2
18:06:55.547 SRC: Switch
18:06:55.550 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 1, Pld 2, Data '2'
18:06:55.558 MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:55","Uptime":"0T06:06:02","UptimeSec":21962,"Vcc":3.414,"Heap":16,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":89,"MqttCount":4,"POWER":"ON","Dimmer":2,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:04"}}
18:06:55.564 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":2}
18:06:55.567 {"TuyaReceived":{"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
18:06:55.569 TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:On
And now its going wrong as power goes immediately off again
And dimmer seems to be 2 (and no longer 75)

18:06:55.571 SRC: Switch
18:06:55.578 MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:55","Uptime":"0T06:06:02","UptimeSec":21962,"Vcc":3.414,"Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":89,"MqttCount":4,"POWER":"OFF","Dimmer":2,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:04"}}
18:06:55.583 MQT: stat/Dimmer2/RESULT = {"POWER":"OFF"}
18:06:55.585 MQT: stat/Dimmer2/POWER = OFF
18:06:55.588 {"TuyaReceived":{"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
18:06:55.590 TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
18:06:55.593 {"TuyaReceived":{"Data":"55AA00070008020200040000000B21","Cmnd":7,"CmndData":"020200040000000B","DpType2Id2":11,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000000B"}}}
18:06:55.596 TYA: fnId=21 RX value 11 from dpId 2
18:06:55.599 {"TuyaReceived":{"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
18:06:55.602 TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
18:06:55.604 {"TuyaReceived":{"Data":"55AA0007000802020004000000081E","Cmnd":7,"CmndData":"0202000400000008","DpType2Id2":8,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000008"}}}
18:06:55.606 TYA: fnId=21 RX value 8 from dpId 2
18:06:55.678 {"TuyaReceived":{"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
18:06:55.680 TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
18:06:55.684 {"TuyaReceived":{"Data":"55AA0007000802020004000000051B","Cmnd":7,"CmndData":"0202000400000005","DpType2Id2":5,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000005"}}}
18:06:55.686 TYA: fnId=21 RX value 5 from dpId 2
18:06:55.692 {"TuyaReceived":{"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
18:06:55.694 TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
18:06:55.707 {"TuyaReceived":{"Data":"55AA00070008020200040000000218","Cmnd":7,"CmndData":"0202000400000002","DpType2Id2":2,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000002"}}}
18:06:55.709 TYA: fnId=21 RX value 2 from dpId 2
18:06:55.768 CFG: Saved to flash at F6, Count 5984, Bytes 4096
18:06:55.788 {"TuyaReceived":{"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
18:06:55.791 TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
18:06:55.793 {"TuyaReceived":{"Data":"55AA00070008020200040000000016","Cmnd":7,"CmndData":"0202000400000000","DpType2Id2":0,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000000"}}}
18:06:55.795 TYA: fnId=21 RX value 0 from dpId 2
18:06:56.836 TYA: s 11 -> 13
18:06:56.943 TYA: Send "55aa00000000ff"
18:06:56.945 TYA: s 13 -> 14
18:06:56.952 TYA: s 14 -> 11
18:06:56.955 {"TuyaReceived":{"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}}
18:06:57.754 TYA: Dim Delay -> 0.`

@btsimonh
Copy link
Owner Author

btsimonh commented Apr 5, 2022

hmm... that log does not seem to have all entries, i think.

first command. set dimmer to 75, whilst off.
Nothing sent. All good....

second command. Turn on.
here we see a Tuya response, but no outgoing messages.... so odd, messages lost?
dimmer 2 could be because we did not see messages from MCU setting the value?
but then we see Off from MCU, followed by a fade down (rxed messages reducing fade?).

not sure what is going on.....

@Ysbrand
Copy link

Ysbrand commented Apr 5, 2022

Same timeframe through syslog:
`hercules:/var/log/remote/Dimmer2-7958 # egrep 18:06 2022-04-05.log
Apr 5 02:18:06 Dimmer2-7958 ESP-TYA: s 11 -> 13
Apr 5 02:18:06 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff"
Apr 5 02:18:06 Dimmer2-7958 ESP-TYA: s 13 -> 14
Apr 5 02:18:06 Dimmer2-7958 ESP-TYA: s 14 -> 11
Apr 5 02:18:06 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}}
Apr 5 02:18:06 Dimmer2-7958 ESP-TYA: Heartbeat
Apr 5 18:06:08 Dimmer2-7958 ESP-WIF: Checking connection...
Apr 5 18:06:12 Dimmer2-7958 ESP-HTP: Main Menu
Apr 5 18:06:13 Dimmer2-7958 ESP-TYA: s 11 -> 13
Apr 5 18:06:13 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff"
Apr 5 18:06:13 Dimmer2-7958 ESP-TYA: s 13 -> 14
Apr 5 18:06:13 Dimmer2-7958 ESP-TYA: s 14 -> 11
Apr 5 18:06:13 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}}
Apr 5 18:06:15 Dimmer2-7958 ESP-SRC: WebGui from 192.168.0.211
Apr 5 18:06:15 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:15","Uptime":"0T06:05:22","UptimeSec":21922,"Vcc":3.417,"Heap":27,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":99,"MqttCount":4,"POWER":"OFF","Dimmer":75,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:15 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF"}
Apr 5 18:06:15 Dimmer2-7958 ESP-MQT: stat/Dimmer2/POWER = OFF
Apr 5 18:06:15 Dimmer2-7958 ESP-TYA: Send "55aa0006000802020004000000c0d5"
Apr 5 18:06:15 Dimmer2-7958 ESP-TYA: s 11 -> 12
Apr 5 18:06:15 Dimmer2-7958 ESP-TYA: s 12 -> 11
Apr 5 18:06:15 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000802020004000000C0D6","Cmnd":7,"CmndData":"02020004000000C0","DpType2Id2":192,"2":{"DpId":2,"DpIdType":2,"DpIdData":"000000C0"}}}
Apr 5 18:06:15 Dimmer2-7958 ESP-TYA: fnId=21 RX value 192 from dpId 2
Apr 5 18:06:15 Dimmer2-7958 ESP-TYA: Send "55aa0006000501010001000d"
Apr 5 18:06:15 Dimmer2-7958 ESP-TYA: s 11 -> 12
Apr 5 18:06:15 Dimmer2-7958 ESP-TYA: s 12 -> 11
Apr 5 18:06:15 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:15 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:15 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:15 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:15 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000802020004000000BED4","Cmnd":7,"CmndData":"02020004000000BE","DpType2Id2":190,"2":{"DpId":2,"DpIdType":2,"DpIdData":"000000BE"}}}
Apr 5 18:06:15 Dimmer2-7958 ESP-TYA: fnId=21 RX value 190 from dpId 2
Apr 5 18:06:15 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:15 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:15 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000802020004000000BBD1","Cmnd":7,"CmndData":"02020004000000BB","DpType2Id2":187,"2":{"DpId":2,"DpIdType":2,"DpIdData":"000000BB"}}}
Apr 5 18:06:15 Dimmer2-7958 ESP-TYA: fnId=21 RX value 187 from dpId 2
Apr 5 18:06:15 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:15 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 73, Data '73'
Apr 5 18:06:15 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:15","Uptime":"0T06:05:22","UptimeSec":21922,"Vcc":3.414,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":4,"POWER":"OFF","Dimmer":73,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":90,"Signal":-55,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:15 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":73}
Apr 5 18:06:15 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:15 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:15 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000802020004000000B8CE","Cmnd":7,"CmndData":"02020004000000B8","DpType2Id2":184,"2":{"DpId":2,"DpIdType":2,"DpIdData":"000000B8"}}}
Apr 5 18:06:15 Dimmer2-7958 ESP-TYA: fnId=21 RX value 184 from dpId 2
Apr 5 18:06:15 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:15 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:16 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000802020004000000B6CC","Cmnd":7,"CmndData":"02020004000000B6","DpType2Id2":182,"2":{"DpId":2,"DpIdType":2,"DpIdData":"000000B6"}}}
Apr 5 18:06:16 Dimmer2-7958 ESP-TYA: fnId=21 RX value 182 from dpId 2
Apr 5 18:06:16 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:16 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 71, Data '71'
Apr 5 18:06:16 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:15","Uptime":"0T06:05:22","UptimeSec":21922,"Vcc":3.416,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":24,"MqttCount":4,"POWER":"OFF","Dimmer":71,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:16 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":71}
Apr 5 18:06:16 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:16 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:16 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000802020004000000B3C9","Cmnd":7,"CmndData":"02020004000000B3","DpType2Id2":179,"2":{"DpId":2,"DpIdType":2,"DpIdData":"000000B3"}}}
Apr 5 18:06:16 Dimmer2-7958 ESP-TYA: fnId=21 RX value 179 from dpId 2
Apr 5 18:06:16 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:16 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:16 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000802020004000000B0C6","Cmnd":7,"CmndData":"02020004000000B0","DpType2Id2":176,"2":{"DpId":2,"DpIdType":2,"DpIdData":"000000B0"}}}
Apr 5 18:06:16 Dimmer2-7958 ESP-TYA: fnId=21 RX value 176 from dpId 2
Apr 5 18:06:16 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:16 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 69, Data '69'
Apr 5 18:06:16 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:15","Uptime":"0T06:05:22","UptimeSec":21922,"Vcc":3.413,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":4,"POWER":"OFF","Dimmer":69,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:16 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":69}
Apr 5 18:06:16 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:16 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:16 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000802020004000000ADC3","Cmnd":7,"CmndData":"02020004000000AD","DpType2Id2":173,"2":{"DpId":2,"DpIdType":2,"DpIdData":"000000AD"}}}
Apr 5 18:06:16 Dimmer2-7958 ESP-TYA: fnId=21 RX value 173 from dpId 2
Apr 5 18:06:16 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:16 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 67, Data '67'
Apr 5 18:06:16 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:16","Uptime":"0T06:05:23","UptimeSec":21923,"Vcc":3.415,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":21,"MqttCount":4,"POWER":"OFF","Dimmer":67,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:16 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":67}
Apr 5 18:06:16 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:16 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:16 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000802020004000000AAC0","Cmnd":7,"CmndData":"02020004000000AA","DpType2Id2":170,"2":{"DpId":2,"DpIdType":2,"DpIdData":"000000AA"}}}
Apr 5 18:06:16 Dimmer2-7958 ESP-TYA: fnId=21 RX value 170 from dpId 2
Apr 5 18:06:16 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:16 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000802020004000000A8BE","Cmnd":7,"CmndData":"02020004000000A8","DpType2Id2":168,"2":{"DpId":2,"DpIdType":2,"DpIdData":"000000A8"}}}
Apr 5 18:06:16 Dimmer2-7958 ESP-TYA: fnId=21 RX value 168 from dpId 2
Apr 5 18:06:16 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:16 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 65, Data '65'
Apr 5 18:06:16 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:16","Uptime":"0T06:05:23","UptimeSec":21923,"Vcc":3.416,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":44,"MqttCount":4,"POWER":"OFF","Dimmer":65,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:16 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":65}
Apr 5 18:06:16 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:16 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:16 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000802020004000000A5BB","Cmnd":7,"CmndData":"02020004000000A5","DpType2Id2":165,"2":{"DpId":2,"DpIdType":2,"DpIdData":"000000A5"}}}
Apr 5 18:06:16 Dimmer2-7958 ESP-TYA: fnId=21 RX value 165 from dpId 2
Apr 5 18:06:16 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:16 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:16 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000802020004000000A2B8","Cmnd":7,"CmndData":"02020004000000A2","DpType2Id2":162,"2":{"DpId":2,"DpIdType":2,"DpIdData":"000000A2"}}}
Apr 5 18:06:16 Dimmer2-7958 ESP-TYA: fnId=21 RX value 162 from dpId 2
Apr 5 18:06:16 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:16 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 63, Data '63'
Apr 5 18:06:16 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:16","Uptime":"0T06:05:23","UptimeSec":21923,"Vcc":3.416,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":44,"MqttCount":4,"POWER":"OFF","Dimmer":63,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":90,"Signal":-55,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:16 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":63}
Apr 5 18:06:16 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:16 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:16 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA00070008020200040000009FB5","Cmnd":7,"CmndData":"020200040000009F","DpType2Id2":159,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000009F"}}}
Apr 5 18:06:16 Dimmer2-7958 ESP-TYA: fnId=21 RX value 159 from dpId 2
Apr 5 18:06:16 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:16 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:16 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA00070008020200040000009CB2","Cmnd":7,"CmndData":"020200040000009C","DpType2Id2":156,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000009C"}}}
Apr 5 18:06:16 Dimmer2-7958 ESP-TYA: fnId=21 RX value 156 from dpId 2
Apr 5 18:06:16 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:16 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 60, Data '60'
Apr 5 18:06:16 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:16","Uptime":"0T06:05:23","UptimeSec":21923,"Vcc":3.415,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":4,"POWER":"OFF","Dimmer":60,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:16 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":60}
Apr 5 18:06:16 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:16 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:16 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA00070008020200040000009AB0","Cmnd":7,"CmndData":"020200040000009A","DpType2Id2":154,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000009A"}}}
Apr 5 18:06:16 Dimmer2-7958 ESP-TYA: fnId=21 RX value 154 from dpId 2
Apr 5 18:06:16 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:16 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:16 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000700080202000400000097AD","Cmnd":7,"CmndData":"0202000400000097","DpType2Id2":151,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000097"}}}
Apr 5 18:06:16 Dimmer2-7958 ESP-TYA: fnId=21 RX value 151 from dpId 2
Apr 5 18:06:16 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:16 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 58, Data '58'
Apr 5 18:06:16 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:16","Uptime":"0T06:05:23","UptimeSec":21923,"Vcc":3.420,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":4,"POWER":"OFF","Dimmer":58,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:16 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":58}
Apr 5 18:06:16 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:16 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:16 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000700080202000400000094AA","Cmnd":7,"CmndData":"0202000400000094","DpType2Id2":148,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000094"}}}
Apr 5 18:06:16 Dimmer2-7958 ESP-TYA: fnId=21 RX value 148 from dpId 2
Apr 5 18:06:17 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:17 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA00070008020200040000008EA4","Cmnd":7,"CmndData":"020200040000008E","DpType2Id2":142,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000008E"}}}
Apr 5 18:06:17 Dimmer2-7958 ESP-TYA: fnId=21 RX value 142 from dpId 2
Apr 5 18:06:17 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:17 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:17 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA00070008020200040000008CA2","Cmnd":7,"CmndData":"020200040000008C","DpType2Id2":140,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000008C"}}}
Apr 5 18:06:17 Dimmer2-7958 ESP-TYA: fnId=21 RX value 140 from dpId 2
Apr 5 18:06:17 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:17 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 54, Data '54'
Apr 5 18:06:17 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:16","Uptime":"0T06:05:23","UptimeSec":21923,"Vcc":3.415,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":4,"POWER":"OFF","Dimmer":54,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:17 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":54}
Apr 5 18:06:17 Dimmer2-7958 ESP-CFG: Saved to flash at F4, Count 5978, Bytes 4096
Apr 5 18:06:17 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:17 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:17 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000802020004000000899F","Cmnd":7,"CmndData":"0202000400000089","DpType2Id2":137,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000089"}}}
Apr 5 18:06:17 Dimmer2-7958 ESP-TYA: fnId=21 RX value 137 from dpId 2
Apr 5 18:06:17 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:17 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:17 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000802020004000000869C","Cmnd":7,"CmndData":"0202000400000086","DpType2Id2":134,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000086"}}}
Apr 5 18:06:17 Dimmer2-7958 ESP-TYA: fnId=21 RX value 134 from dpId 2
Apr 5 18:06:17 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:17 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 52, Data '52'
Apr 5 18:06:17 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:17","Uptime":"0T06:05:24","UptimeSec":21924,"Vcc":3.415,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":4,"POWER":"OFF","Dimmer":52,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:17 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":52}
Apr 5 18:06:17 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:17 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:17 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA00070008020200040000008399","Cmnd":7,"CmndData":"0202000400000083","DpType2Id2":131,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000083"}}}
Apr 5 18:06:17 Dimmer2-7958 ESP-TYA: fnId=21 RX value 131 from dpId 2
Apr 5 18:06:17 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:17 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 50, Data '50'
Apr 5 18:06:17 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:17","Uptime":"0T06:05:24","UptimeSec":21924,"Vcc":3.416,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":4,"POWER":"OFF","Dimmer":50,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:17 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":50}
Apr 5 18:06:17 Dimmer2-7958 ESP-TYA: fnId=21 RX value 126 from dpId 2
Apr 5 18:06:17 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:17 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 48, Data '48'
Apr 5 18:06:17 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:17","Uptime":"0T06:05:24","UptimeSec":21924,"Vcc":3.411,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":4,"POWER":"OFF","Dimmer":48,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:17 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":48}
Apr 5 18:06:17 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:17 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:17 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA00070008020200040000007B91","Cmnd":7,"CmndData":"020200040000007B","DpType2Id2":123,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000007B"}}}
Apr 5 18:06:17 Dimmer2-7958 ESP-TYA: fnId=21 RX value 123 from dpId 2
Apr 5 18:06:17 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:17 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:17 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000802020004000000788E","Cmnd":7,"CmndData":"0202000400000078","DpType2Id2":120,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000078"}}}
Apr 5 18:06:17 Dimmer2-7958 ESP-TYA: fnId=21 RX value 120 from dpId 2
Apr 5 18:06:17 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:17 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 46, Data '46'
Apr 5 18:06:17 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:17","Uptime":"0T06:05:24","UptimeSec":21924,"Vcc":3.416,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":4,"POWER":"OFF","Dimmer":46,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:17 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":46}
Apr 5 18:06:17 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:17 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:17 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000802020004000000758B","Cmnd":7,"CmndData":"0202000400000075","DpType2Id2":117,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000075"}}}
Apr 5 18:06:17 Dimmer2-7958 ESP-TYA: fnId=21 RX value 117 from dpId 2
Apr 5 18:06:17 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:17 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:17 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA00070008020200040000007288","Cmnd":7,"CmndData":"0202000400000072","DpType2Id2":114,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000072"}}}
Apr 5 18:06:17 Dimmer2-7958 ESP-TYA: fnId=21 RX value 114 from dpId 2
Apr 5 18:06:17 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:17 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 44, Data '44'
Apr 5 18:06:17 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:17","Uptime":"0T06:05:24","UptimeSec":21924,"Vcc":3.412,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":4,"POWER":"OFF","Dimmer":44,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:17 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":44}
Apr 5 18:06:17 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:17 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:18 Dimmer2-7958 ESP-TYA: fnId=21 RX value 112 from dpId 2
Apr 5 18:06:18 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:18 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:18 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA00070008020200040000006D83","Cmnd":7,"CmndData":"020200040000006D","DpType2Id2":109,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000006D"}}}
Apr 5 18:06:18 Dimmer2-7958 ESP-TYA: fnId=21 RX value 109 from dpId 2
Apr 5 18:06:18 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:18 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 42, Data '42'
Apr 5 18:06:18 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:17","Uptime":"0T06:05:24","UptimeSec":21924,"Vcc":3.413,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":4,"POWER":"OFF","Dimmer":42,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":90,"Signal":-55,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:18 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":42}
Apr 5 18:06:18 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:18 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:18 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA00070008020200040000006A80","Cmnd":7,"CmndData":"020200040000006A","DpType2Id2":106,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000006A"}}}
Apr 5 18:06:18 Dimmer2-7958 ESP-TYA: fnId=21 RX value 106 from dpId 2
Apr 5 18:06:18 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:18 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 40, Data '40'
Apr 5 18:06:18 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:17","Uptime":"0T06:05:24","UptimeSec":21924,"Vcc":3.416,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":4,"POWER":"OFF","Dimmer":40,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":90,"Signal":-55,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:18 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":40}
Apr 5 18:06:18 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:18 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:18 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000802020004000000677D","Cmnd":7,"CmndData":"0202000400000067","DpType2Id2":103,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000067"}}}
Apr 5 18:06:18 Dimmer2-7958 ESP-TYA: fnId=21 RX value 103 from dpId 2
Apr 5 18:06:18 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:18 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:18 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000802020004000000647A","Cmnd":7,"CmndData":"0202000400000064","DpType2Id2":100,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000064"}}}
Apr 5 18:06:18 Dimmer2-7958 ESP-TYA: fnId=21 RX value 100 from dpId 2
Apr 5 18:06:18 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:18 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 38, Data '38'
Apr 5 18:06:18 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:18","Uptime":"0T06:05:25","UptimeSec":21925,"Vcc":3.417,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":4,"POWER":"OFF","Dimmer":38,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":90,"Signal":-55,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:18 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":38}
Apr 5 18:06:18 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:18 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:18 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:18 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:18 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA00070008020200040000005C72","Cmnd":7,"CmndData":"020200040000005C","DpType2Id2":92,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000005C"}}}
Apr 5 18:06:18 Dimmer2-7958 ESP-TYA: fnId=21 RX value 92 from dpId 2
Apr 5 18:06:18 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:18 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:18 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000802020004000000596F","Cmnd":7,"CmndData":"0202000400000059","DpType2Id2":89,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000059"}}}
Apr 5 18:06:18 Dimmer2-7958 ESP-TYA: fnId=21 RX value 89 from dpId 2
Apr 5 18:06:18 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:18 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 34, Data '34'
Apr 5 18:06:18 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:18","Uptime":"0T06:05:25","UptimeSec":21925,"Vcc":3.413,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":20,"MqttCount":4,"POWER":"OFF","Dimmer":34,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":90,"Signal":-55,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:18 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":34}
Apr 5 18:06:18 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:18 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:18 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000802020004000000566C","Cmnd":7,"CmndData":"0202000400000056","DpType2Id2":86,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000056"}}}
Apr 5 18:06:18 Dimmer2-7958 ESP-TYA: fnId=21 RX value 86 from dpId 2
Apr 5 18:06:18 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:18 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 32, Data '32'
Apr 5 18:06:18 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:18","Uptime":"0T06:05:25","UptimeSec":21925,"Vcc":3.414,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":22,"MqttCount":4,"POWER":"OFF","Dimmer":32,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:18 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":32}
Apr 5 18:06:18 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:18 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:18 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000802020004000000546A","Cmnd":7,"CmndData":"0202000400000054","DpType2Id2":84,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000054"}}}
Apr 5 18:06:18 Dimmer2-7958 ESP-TYA: fnId=21 RX value 84 from dpId 2
Apr 5 18:06:18 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:18 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:18 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA00070008020200040000005167","Cmnd":7,"CmndData":"0202000400000051","DpType2Id2":81,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000051"}}}
Apr 5 18:06:18 Dimmer2-7958 ESP-TYA: fnId=21 RX value 81 from dpId 2
Apr 5 18:06:18 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:18 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 30, Data '30'
Apr 5 18:06:18 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:18","Uptime":"0T06:05:25","UptimeSec":21925,"Vcc":3.414,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":22,"MqttCount":4,"POWER":"OFF","Dimmer":30,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:18 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":30}
Apr 5 18:06:18 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:18 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:18 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA00070008020200040000004E64","Cmnd":7,"CmndData":"020200040000004E","DpType2Id2":78,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000004E"}}}
Apr 5 18:06:18 Dimmer2-7958 ESP-TYA: fnId=21 RX value 78 from dpId 2
Apr 5 18:06:19 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:18","Uptime":"0T06:05:25","UptimeSec":21925,"Vcc":3.416,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":35,"MqttCount":4,"POWER":"OFF","Dimmer":28,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:19 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":28}
Apr 5 18:06:19 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:19 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:19 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000802020004000000485E","Cmnd":7,"CmndData":"0202000400000048","DpType2Id2":72,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000048"}}}
Apr 5 18:06:19 Dimmer2-7958 ESP-TYA: fnId=21 RX value 72 from dpId 2
Apr 5 18:06:19 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:19 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:19 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000802020004000000465C","Cmnd":7,"CmndData":"0202000400000046","DpType2Id2":70,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000046"}}}
Apr 5 18:06:19 Dimmer2-7958 ESP-TYA: fnId=21 RX value 70 from dpId 2
Apr 5 18:06:19 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:19 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 26, Data '26'
Apr 5 18:06:19 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:18","Uptime":"0T06:05:25","UptimeSec":21925,"Vcc":3.415,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":4,"POWER":"OFF","Dimmer":26,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:19 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":26}
Apr 5 18:06:19 Dimmer2-7958 ESP-CFG: Saved to flash at FA, Count 5980, Bytes 4096
Apr 5 18:06:19 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:19 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:19 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA00070008020200040000004359","Cmnd":7,"CmndData":"0202000400000043","DpType2Id2":67,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000043"}}}
Apr 5 18:06:19 Dimmer2-7958 ESP-TYA: fnId=21 RX value 67 from dpId 2
Apr 5 18:06:19 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:19 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:19 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA00070008020200040000004056","Cmnd":7,"CmndData":"0202000400000040","DpType2Id2":64,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000040"}}}
Apr 5 18:06:19 Dimmer2-7958 ESP-TYA: fnId=21 RX value 64 from dpId 2
Apr 5 18:06:19 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:19 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 23, Data '23'
Apr 5 18:06:19 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:19","Uptime":"0T06:05:26","UptimeSec":21926,"Vcc":3.415,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":4,"POWER":"OFF","Dimmer":23,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:19 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":23}
Apr 5 18:06:19 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:19 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:19 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA00070008020200040000003D53","Cmnd":7,"CmndData":"020200040000003D","DpType2Id2":61,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000003D"}}}
Apr 5 18:06:19 Dimmer2-7958 ESP-TYA: fnId=21 RX value 61 from dpId 2
Apr 5 18:06:19 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:19 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:19 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000802020004000000354B","Cmnd":7,"CmndData":"0202000400000035","DpType2Id2":53,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000035"}}}
Apr 5 18:06:19 Dimmer2-7958 ESP-TYA: fnId=21 RX value 53 from dpId 2
Apr 5 18:06:19 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:19 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 19, Data '19'
Apr 5 18:06:19 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:19","Uptime":"0T06:05:26","UptimeSec":21926,"Vcc":3.413,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":4,"POWER":"OFF","Dimmer":19,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:19 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":19}
Apr 5 18:06:19 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:19 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:19 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA00070008020200040000003248","Cmnd":7,"CmndData":"0202000400000032","DpType2Id2":50,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000032"}}}
Apr 5 18:06:19 Dimmer2-7958 ESP-TYA: fnId=21 RX value 50 from dpId 2
Apr 5 18:06:19 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:19 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:19 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA00070008020200040000002F45","Cmnd":7,"CmndData":"020200040000002F","DpType2Id2":47,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000002F"}}}
Apr 5 18:06:19 Dimmer2-7958 ESP-TYA: fnId=21 RX value 47 from dpId 2
Apr 5 18:06:19 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:19 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 17, Data '17'
Apr 5 18:06:19 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:19","Uptime":"0T06:05:26","UptimeSec":21926,"Vcc":3.420,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":4,"POWER":"OFF","Dimmer":17,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:19 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":17}
Apr 5 18:06:19 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:19 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:19 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA00070008020200040000002C42","Cmnd":7,"CmndData":"020200040000002C","DpType2Id2":44,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000002C"}}}
Apr 5 18:06:19 Dimmer2-7958 ESP-TYA: fnId=21 RX value 44 from dpId 2
Apr 5 18:06:19 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:19 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 15, Data '15'
Apr 5 18:06:19 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:19","Uptime":"0T06:05:26","UptimeSec":21926,"Vcc":3.414,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":4,"POWER":"OFF","Dimmer":15,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:19 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":15}
Apr 5 18:06:19 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:19 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:19 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA00070008020200040000002A40","Cmnd":7,"CmndData":"020200040000002A","DpType2Id2":42,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000002A"}}}
Apr 5 18:06:19 Dimmer2-7958 ESP-TYA: fnId=21 RX value 42 from dpId 2
Apr 5 18:06:20 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:19","Uptime":"0T06:05:26","UptimeSec":21926,"Vcc":3.413,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":21,"MqttCount":4,"POWER":"OFF","Dimmer":13,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":90,"Signal":-55,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:20 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":13}
Apr 5 18:06:20 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:20 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:20 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000802020004000000243A","Cmnd":7,"CmndData":"0202000400000024","DpType2Id2":36,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000024"}}}
Apr 5 18:06:20 Dimmer2-7958 ESP-TYA: fnId=21 RX value 36 from dpId 2
Apr 5 18:06:20 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:20 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:20 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA00070008020200040000002137","Cmnd":7,"CmndData":"0202000400000021","DpType2Id2":33,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000021"}}}
Apr 5 18:06:20 Dimmer2-7958 ESP-TYA: fnId=21 RX value 33 from dpId 2
Apr 5 18:06:20 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:20 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 11, Data '11'
Apr 5 18:06:20 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:19","Uptime":"0T06:05:26","UptimeSec":21926,"Vcc":3.412,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":4,"POWER":"OFF","Dimmer":11,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":90,"Signal":-55,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:20 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":11}
Apr 5 18:06:20 Dimmer2-7958 ESP-CFG: Saved to flash at F9, Count 5981, Bytes 4096
Apr 5 18:06:20 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:20 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:20 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA00070008020200040000001E34","Cmnd":7,"CmndData":"020200040000001E","DpType2Id2":30,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000001E"}}}
Apr 5 18:06:20 Dimmer2-7958 ESP-TYA: fnId=21 RX value 30 from dpId 2
Apr 5 18:06:20 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:20 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:20 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA00070008020200040000001C32","Cmnd":7,"CmndData":"020200040000001C","DpType2Id2":28,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000001C"}}}
Apr 5 18:06:20 Dimmer2-7958 ESP-TYA: fnId=21 RX value 28 from dpId 2
Apr 5 18:06:20 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:20 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 1, Pld 9, Data '9'
Apr 5 18:06:20 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:20","Uptime":"0T06:05:27","UptimeSec":21927,"Vcc":3.415,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":4,"POWER":"OFF","Dimmer":9,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:20 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":9}
Apr 5 18:06:20 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:20 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:20 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000802020004000000192F","Cmnd":7,"CmndData":"0202000400000019","DpType2Id2":25,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000019"}}}
Apr 5 18:06:20 Dimmer2-7958 ESP-TYA: fnId=21 RX value 25 from dpId 2
Apr 5 18:06:20 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:20 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:20 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA00070008020200040000001329","Cmnd":7,"CmndData":"0202000400000013","DpType2Id2":19,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000013"}}}
Apr 5 18:06:20 Dimmer2-7958 ESP-TYA: fnId=21 RX value 19 from dpId 2
Apr 5 18:06:20 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:20 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 1, Pld 5, Data '5'
Apr 5 18:06:20 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:20","Uptime":"0T06:05:27","UptimeSec":21927,"Vcc":3.415,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":20,"MqttCount":4,"POWER":"OFF","Dimmer":5,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":90,"Signal":-55,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:20 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":5}
Apr 5 18:06:20 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:20 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:20 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA00070008020200040000001026","Cmnd":7,"CmndData":"0202000400000010","DpType2Id2":16,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000010"}}}
Apr 5 18:06:20 Dimmer2-7958 ESP-TYA: fnId=21 RX value 16 from dpId 2
Apr 5 18:06:20 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:20 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:20 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA00070008020200040000000E24","Cmnd":7,"CmndData":"020200040000000E","DpType2Id2":14,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000000E"}}}
Apr 5 18:06:20 Dimmer2-7958 ESP-TYA: fnId=21 RX value 14 from dpId 2
Apr 5 18:06:20 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:20 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 1, Pld 3, Data '3'
Apr 5 18:06:20 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:20","Uptime":"0T06:05:27","UptimeSec":21927,"Vcc":3.416,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":4,"POWER":"OFF","Dimmer":3,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":90,"Signal":-55,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:20 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":3}
Apr 5 18:06:20 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:20 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:20 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA00070008020200040000000B21","Cmnd":7,"CmndData":"020200040000000B","DpType2Id2":11,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000000B"}}}
Apr 5 18:06:20 Dimmer2-7958 ESP-TYA: fnId=21 RX value 11 from dpId 2
Apr 5 18:06:20 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:20 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:20 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000802020004000000081E","Cmnd":7,"CmndData":"0202000400000008","DpType2Id2":8,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000008"}}}
Apr 5 18:06:20 Dimmer2-7958 ESP-TYA: fnId=21 RX value 8 from dpId 2
Apr 5 18:06:20 Dimmer2-7958 ESP-SRC: Switch
Apr 5 18:06:20 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 1, Pld 1, Data '1'
Apr 5 18:06:20 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:20","Uptime":"0T06:05:27","UptimeSec":21927,"Vcc":3.418,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":4,"POWER":"OFF","Dimmer":1,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":90,"Signal":-55,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:20 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":1}
Apr 5 18:06:21 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:23 Dimmer2-7958 ESP-TYA: Dim Delay -> 0.
Apr 5 18:06:24 Dimmer2-7958 ESP-TYA: s 11 -> 13
Apr 5 18:06:24 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff"
Apr 5 18:06:24 Dimmer2-7958 ESP-TYA: s 13 -> 14
Apr 5 18:06:24 Dimmer2-7958 ESP-TYA: s 14 -> 11
Apr 5 18:06:24 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}}
Apr 5 18:06:35 Dimmer2-7958 ESP-CMD: dimmer 75
Apr 5 18:06:35 Dimmer2-7958 ESP-SRC: WebConsole from 192.168.0.211
Apr 5 18:06:35 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'DIMMER', Idx 1, Len 2, Pld 75, Data '75'
Apr 5 18:06:35 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:34","Uptime":"0T06:05:41","UptimeSec":21941,"Vcc":3.412,"Heap":26,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":26,"MqttCount":4,"POWER":"OFF","Dimmer":75,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":90,"Signal":-55,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:35 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":75}
Apr 5 18:06:35 Dimmer2-7958 ESP-TYA: Dim command disabled
Apr 5 18:06:35 Dimmer2-7958 ESP-TYA: s 11 -> 13
Apr 5 18:06:35 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff"
Apr 5 18:06:35 Dimmer2-7958 ESP-TYA: s 13 -> 14
Apr 5 18:06:35 Dimmer2-7958 ESP-CFG: Saved to flash at F7, Count 5983, Bytes 4096
Apr 5 18:06:35 Dimmer2-7958 ESP-TYA: s 14 -> 11
Apr 5 18:06:35 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}}
Apr 5 18:06:46 Dimmer2-7958 ESP-TYA: s 11 -> 13
Apr 5 18:06:46 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff"
Apr 5 18:06:46 Dimmer2-7958 ESP-TYA: s 13 -> 14
Apr 5 18:06:46 Dimmer2-7958 ESP-TYA: s 14 -> 11
Apr 5 18:06:46 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}}
Apr 5 18:06:50 Dimmer2-7958 ESP-WIF: Checking connection...
Apr 5 18:06:51 Dimmer2-7958 ESP-WIF: Sending Gratuitous ARP
Apr 5 18:06:55 Dimmer2-7958 ESP-CMD: power on
Apr 5 18:06:55 Dimmer2-7958 ESP-SRC: WebConsole from 192.168.0.211
Apr 5 18:06:55 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'POWER', Idx 1, Len 2, Pld 1, Data 'on'
Apr 5 18:06:55 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:54","Uptime":"0T06:06:01","UptimeSec":21961,"Vcc":3.414,"Heap":22,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":50,"MqttCount":4,"POWER":"ON","Dimmer":75,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:55 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"ON"}
Apr 5 18:06:55 Dimmer2-7958 ESP-MQT: stat/Dimmer2/POWER = ON
Apr 5 18:06:55 Dimmer2-7958 ESP-TYA: Dim command disabled
Apr 5 18:06:55 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"ON"}
Apr 5 18:06:55 Dimmer2-7958 ESP-MQT: stat/Dimmer2/POWER = ON
Apr 5 18:06:55 Dimmer2-7958 ESP-TYA: s 12 -> 11
Apr 5 18:06:55 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA00070008020200040000000218","Cmnd":7,"CmndData":"0202000400000002","DpType2Id2":2,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000002"}}}
Apr 5 18:06:55 Dimmer2-7958 ESP-TYA: fnId=21 RX value 2 from dpId 2
Apr 5 18:06:55 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001010F","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
Apr 5 18:06:55 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
Apr 5 18:06:55 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000802020004000000051B","Cmnd":7,"CmndData":"0202000400000005","DpType2Id2":5,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000005"}}}
Apr 5 18:06:56 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
Apr 5 18:06:56 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:58 Dimmer2-7958 ESP-TYA: s 11 -> 13
Apr 5 18:06:58 Dimmer2-7958 ESP-TYA: Send "55aa00000000ff"
Apr 5 18:06:58 Dimmer2-7958 ESP-TYA: s 13 -> 14
Apr 5 18:06:58 Dimmer2-7958 ESP-TYA: s 14 -> 11
Apr 5 18:06:58 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}}
Apr 5 18:06:58 Dimmer2-7958 ESP-TYA: Dim Delay -> 0.

`

@btsimonh
Copy link
Owner Author

btsimonh commented Apr 6, 2022

yeah it's still missing something. this sequence:

Apr 5 18:06:55 Dimmer2-7958 ESP-CMD: power on
Apr 5 18:06:55 Dimmer2-7958 ESP-SRC: WebConsole from 192.168.0.211
Apr 5 18:06:55 Dimmer2-7958 ESP-CMD: Grp 0, Cmd 'POWER', Idx 1, Len 2, Pld 1, Data 'on'
Apr 5 18:06:55 Dimmer2-7958 ESP-MQT: tele/Dimmer2/STATE = {"Time":"2022-04-05T18:06:54","Uptime":"0T06:06:01","UptimeSec":21961,"Vcc":3.414,"Heap":22,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":50,"MqttCount":4,"POWER":"ON","Dimmer":75,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:04"}}
Apr 5 18:06:55 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"ON"}
Apr 5 18:06:55 Dimmer2-7958 ESP-MQT: stat/Dimmer2/POWER = ON
Apr 5 18:06:55 Dimmer2-7958 ESP-TYA: Dim command disabled

dim command was NOT sent here, as device is 'off'.

Apr 5 18:06:55 Dimmer2-7958 ESP-MQT: stat/Dimmer2/RESULT = {"POWER":"ON"}
Apr 5 18:06:55 Dimmer2-7958 ESP-MQT: stat/Dimmer2/POWER = ON

power command was sent here, but not logged. evidence is the 12->11 below - as we never saw an 11->12?

Apr 5 18:06:55 Dimmer2-7958 ESP-TYA: s 12 -> 11
Apr 5 18:06:55 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA00070008020200040000000218","Cmnd":7,"CmndData":"0202000400000002","DpType2Id2":2,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000002"}}}
Apr 5 18:06:55 Dimmer2-7958 ESP-TYA: fnId=21 RX value 2 from dpId 2
Apr 5 18:06:55 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001010F","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}

above, Tuya says it's on, dim value 2.

Apr 5 18:06:55 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
Apr 5 18:06:55 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000802020004000000051B","Cmnd":7,"CmndData":"0202000400000005","DpType2Id2":5,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000005"}}}
Apr 5 18:06:56 Dimmer2-7958 ESP-{"TuyaReceived": {"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}

above, Tuya says dim=5, then 'off'.
so, since tuya said 'on', then sent 2, 5 as dim values, it looks like the dimmer is fading up, then just decides by itself that it is off :(.
unless we're missing more messages, TAS did not ask for it to turn off....

Apr 5 18:06:56 Dimmer2-7958 ESP-TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
Apr 5 18:06:58 Dimmer2-7958 ESP-TYA: s 11 -> 13

Can you try to reproduce again, and log again, maybe twice and see if we get some additional logs?
br,
Simon

@btsimonh
Copy link
Owner Author

btsimonh commented Apr 7, 2022

Updated. The only Functional change is that the send of a DP does not assume the DP was set - i.e. the local copy of what the MCU thinks is the value is ONLY set when we receive a value. Theoretically this should be fine, because the MCU should always report the value immediately after it is set.
Also add TuyaSend7 cmd,payloadinhex
e.g. "TuyaSend7 0," sends a heartbeat.
"TuyaSend7 0x1c,0110041305060702" sends a local time set.
tasmota.bin.gz
tasmota-lite.bin.gz
This could be used to prototype other tuya feature support (like firmware upload?, or GMT time, etc.)

@btsimonh
Copy link
Owner Author

btsimonh commented Apr 7, 2022

updated - implemented dual dimmer delay. Last update for this morning.
Added Tuyadimdelay (ms) command to set the delay between rx of dim value and a dim value being set, or a relay command sent to dim command sent. default is 2000. tuyadimdelay on it's own will report.
tasmota.bin.gz
tasmota-lite.bin.gz
Setting a low delay will pretty much work as the original firmware, although dim commands will still be suppressed if the device last reported 'off'.

@Ysbrand
Copy link

Ysbrand commented Apr 7, 2022

Started testing with todays build

Looks a bit off
Initial state off
issued dimmer 30 (while power still off), is acknowledged
issue power on, switches on and immediately off again
issued another power on and then it stays on

18:33:43.804 CMD: power 18:33:43.806 SRC: WebConsole from 192.168.0.207 18:33:43.808 CMD: Grp 0, Cmd 'POWER', Idx 1, Len 0, Pld -99, Data '' 18:33:43.813 MQT: stat/Dimmer2/RESULT = {"POWER":"OFF"} 18:33:43.817 MQT: stat/Dimmer2/POWER = OFF 18:33:44.791 TYA: Dim Delay 0 -> 0. 18:33:47.608 WIF: Checking connection... 18:33:49.110 WIF: Sending Gratuitous ARP 18:33:53.198 TYA: s 11 -> 13 18:33:53.305 TYA: Send "55aa00000000ff" 18:33:53.306 TYA: s 13 -> 14 18:33:53.313 TYA: s 14 -> 11 18:33:53.316 {"TuyaReceived":{"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} 18:34:00.186 CMD: dimmer 30 18:34:00.188 SRC: WebConsole from 192.168.0.207 18:34:00.191 CMD: Grp 0, Cmd 'DIMMER', Idx 1, Len 2, Pld 30, Data '30' 18:34:00.199 MQT: tele/Dimmer2/STATE = {"Time":"2022-04-07T18:34:00","Uptime":"0T00:08:11","UptimeSec":491,"Heap":24,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"POWER":"OFF","Dimmer":30,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":94,"Signal":-53,"LinkCount":1,"Downtime":"0T00:00:14"}} 18:34:00.207 MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":30} 18:34:00.278 TYA: Dim command 0 disabled 18:34:00.389 CFG: Saved to flash at F9, Count 6026, Bytes 4096 18:34:04.174 TYA: s 11 -> 13 18:34:04.280 TYA: Send "55aa00000000ff" 18:34:04.282 TYA: s 13 -> 14 18:34:04.288 TYA: s 14 -> 11 18:34:04.291 {"TuyaReceived":{"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} 18:34:07.585 WIF: Checking connection... 18:34:15.155 TYA: s 11 -> 13 18:34:15.261 TYA: Send "55aa00000000ff" 18:34:15.263 TYA: s 13 -> 14 18:34:15.270 TYA: s 14 -> 11 18:34:15.272 {"TuyaReceived":{"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} 18:34:15.626 CMD: power on 18:34:15.628 SRC: WebConsole from 192.168.0.207 18:34:15.631 CMD: Grp 0, Cmd 'POWER', Idx 1, Len 2, Pld 1, Data 'on' 18:34:15.660 MQT: tele/Dimmer2/STATE = {"Time":"2022-04-07T18:34:15","Uptime":"0T00:08:26","UptimeSec":506,"Heap":24,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":19,"MqttCount":1,"POWER":"ON","Dimmer":30,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":94,"Signal":-53,"LinkCount":1,"Downtime":"0T00:00:14"}} 18:34:15.665 MQT: stat/Dimmer2/RESULT = {"POWER":"ON"} 18:34:15.669 MQT: stat/Dimmer2/POWER = ON 18:34:15.999 MQT: stat/Dimmer2/RESULT = {"POWER":"OFF","Dimmer":0} 18:34:16.015 TYA: Send "55aa0006000501010001000d" 18:34:16.017 TYA: s 11 -> 12 18:34:16.020 TYA: s 12 -> 11 18:34:16.023 {"TuyaReceived":{"Data":"55AA0007000501010001010F","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}} 18:34:16.025 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:Off 18:34:16.026 SRC: Switch 18:34:16.035 MQT: tele/Dimmer2/STATE = {"Time":"2022-04-07T18:34:16","Uptime":"0T00:08:27","UptimeSec":507,"Heap":24,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":38,"MqttCount":1,"POWER":"ON","Dimmer":0,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":94,"Signal":-53,"LinkCount":1,"Downtime":"0T00:00:14"}} 18:34:16.043 MQT: stat/Dimmer2/RESULT = {"POWER":"ON"} 18:34:16.048 MQT: stat/Dimmer2/POWER = ON 18:34:16.052 {"TuyaReceived":{"Data":"55AA0007000802020004000000081E","Cmnd":7,"CmndData":"0202000400000008","DpType2Id2":8,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000008"}}} 18:34:16.056 TYA: fnId=21 RX value 8 from dpId 2 18:34:16.059 {"TuyaReceived":{"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}} 18:34:16.061 TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:On 18:34:16.063 SRC: Switch 18:34:16.065 TYA: Send dim skipped value 5 for dpid 2 18:34:16.075 MQT: tele/Dimmer2/STATE = {"Time":"2022-04-07T18:34:16","Uptime":"0T00:08:27","UptimeSec":507,"Heap":24,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":38,"MqttCount":1,"POWER":"OFF","Dimmer":0,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":94,"Signal":-53,"LinkCount":1,"Downtime":"0T00:00:14"}} 18:34:16.082 MQT: stat/Dimmer2/RESULT = {"POWER":"OFF"} 18:34:16.087 MQT: stat/Dimmer2/POWER = OFF 18:34:16.091 {"TuyaReceived":{"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}} 18:34:16.094 TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off 18:34:16.097 {"TuyaReceived":{"Data":"55AA0007000802020004000000081E","Cmnd":7,"CmndData":"0202000400000008","DpType2Id2":8,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000008"}}} 18:34:16.099 TYA: fnId=21 RX value 8 from dpId 2 18:34:16.179 {"TuyaReceived":{"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}} 18:34:16.182 TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off 18:34:16.185 {"TuyaReceived":{"Data":"55AA0007000802020004000000051B","Cmnd":7,"CmndData":"0202000400000005","DpType2Id2":5,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000005"}}} 18:34:16.187 TYA: fnId=21 RX value 5 from dpId 2 18:34:16.207 {"TuyaReceived":{"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}} 18:34:16.210 TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off 18:34:16.223 {"TuyaReceived":{"Data":"55AA00070008020200040000000218","Cmnd":7,"CmndData":"0202000400000002","DpType2Id2":2,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000002"}}} 18:34:16.225 TYA: fnId=21 RX value 2 from dpId 2 18:34:16.288 {"TuyaReceived":{"Data":"55AA0007000501010001000E","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}} 18:34:16.290 TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off 18:34:16.302 {"TuyaReceived":{"Data":"55AA00070008020200040000000016","Cmnd":7,"CmndData":"0202000400000000","DpType2Id2":0,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000000"}}} 18:34:16.305 TYA: fnId=21 RX value 0 from dpId 2 18:34:16.414 CFG: Saved to flash at F8, Count 6027, Bytes 4096 18:34:18.384 TYA: Dim Delay 0 -> 0. 18:34:26.182 TYA: s 11 -> 13 18:34:26.288 TYA: Send "55aa00000000ff" 18:34:26.290 TYA: s 13 -> 14 18:34:26.298 TYA: s 14 -> 11 18:34:26.300 {"TuyaReceived":{"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} 18:34:27.601 WIF: Checking connection... 18:34:37.201 TYA: s 11 -> 13 18:34:37.309 TYA: Send "55aa00000000ff" 18:34:37.311 TYA: s 13 -> 14 18:34:37.318 TYA: s 14 -> 11 18:34:37.320 {"TuyaReceived":{"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} 18:34:39.579 CMD: power on 18:34:39.581 SRC: WebConsole from 192.168.0.207 18:34:39.584 CMD: Grp 0, Cmd 'POWER', Idx 1, Len 2, Pld 1, Data 'on' 18:34:39.615 MQT: tele/Dimmer2/STATE = {"Time":"2022-04-07T18:34:39","Uptime":"0T00:08:50","UptimeSec":530,"Heap":24,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":19,"MqttCount":1,"POWER":"ON","Dimmer":0,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":94,"Signal":-53,"LinkCount":1,"Downtime":"0T00:00:14"}} 18:34:39.620 MQT: stat/Dimmer2/RESULT = {"POWER":"ON"} 18:34:39.626 MQT: stat/Dimmer2/POWER = ON 18:34:41.679 TYA: fnId=21 RX value 67 from dpId 2 18:34:41.681 SRC: Switch 18:34:41.684 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 25, Data '25' 18:34:41.692 MQT: tele/Dimmer2/STATE = {"Time":"2022-04-07T18:34:41","Uptime":"0T00:08:52","UptimeSec":532,"Heap":25,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":95,"MqttCount":1,"POWER":"ON","Dimmer":25,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":96,"Signal":-52,"LinkCount":1,"Downtime":"0T00:00:14"}} 18:34:41.699 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":25} 18:34:41.736 {"TuyaReceived":{"Data":"55AA0007000501010001010F","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}} 18:34:41.739 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On 18:34:41.752 {"TuyaReceived":{"Data":"55AA0007000802020004000000465C","Cmnd":7,"CmndData":"0202000400000046","DpType2Id2":70,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000046"}}} 18:34:41.754 TYA: fnId=21 RX value 70 from dpId 2 18:34:41.816 {"TuyaReceived":{"Data":"55AA0007000501010001010F","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}} 18:34:41.819 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On 18:34:41.832 {"TuyaReceived":{"Data":"55AA0007000802020004000000485E","Cmnd":7,"CmndData":"0202000400000048","DpType2Id2":72,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000048"}}} 18:34:41.834 TYA: fnId=21 RX value 72 from dpId 2 18:34:41.836 SRC: Switch 18:34:41.839 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 27, Data '27' 18:34:41.848 MQT: tele/Dimmer2/STATE = {"Time":"2022-04-07T18:34:41","Uptime":"0T00:08:52","UptimeSec":532,"Heap":25,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"POWER":"ON","Dimmer":27,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":96,"Signal":-52,"LinkCount":1,"Downtime":"0T00:00:14"}} 18:34:41.855 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":27} 18:34:41.896 {"TuyaReceived":{"Data":"55AA0007000501010001010F","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}} 18:34:41.899 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On 18:34:41.912 {"TuyaReceived":{"Data":"55AA00070008020200040000004B61","Cmnd":7,"CmndData":"020200040000004B","DpType2Id2":75,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000004B"}}} 18:34:41.914 TYA: fnId=21 RX value 75 from dpId 2 18:34:41.976 {"TuyaReceived":{"Data":"55AA0007000501010001010F","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}} 18:34:41.978 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On 18:34:41.991 {"TuyaReceived":{"Data":"55AA00070008020200040000004E64","Cmnd":7,"CmndData":"020200040000004E","DpType2Id2":78,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000004E"}}} 18:34:41.993 TYA: fnId=21 RX value 78 from dpId 2 18:34:41.995 SRC: Switch 18:34:41.998 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 29, Data '29' 18:34:42.001 MQT: tele/Dimmer2/STATE = {"Time":"2022-04-07T18:34:41","Uptime":"0T00:08:52","UptimeSec":532,"Heap":25,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"POWER":"ON","Dimmer":29,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":96,"Signal":-52,"LinkCount":1,"Downtime":"0T00:00:14"}} 18:34:42.008 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":29} 18:34:42.049 {"TuyaReceived":{"Data":"55AA0007000501010001010F","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}} 18:34:42.051 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On 18:34:42.064 {"TuyaReceived":{"Data":"55AA00070008020200040000005167","Cmnd":7,"CmndData":"0202000400000051","DpType2Id2":81,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000051"}}} 18:34:42.066 TYA: fnId=21 RX value 81 from dpId 2 18:34:43.202 MQT: tele/Dimmer2/STATE = {"Time":"2022-04-07T18:34:43","Uptime":"0T00:08:54","UptimeSec":534,"Heap":19,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"POWER":"ON","Dimmer":46,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":96,"Signal":-52,"LinkCount":1,"Downtime":"0T00:00:14"}} 18:34:43.207 MQT: stat/Dimmer2/RESULT = {"POWER":"ON","Dimmer":46} 18:34:43.252 {"TuyaReceived":{"Data":"55AA0007000501010001010F","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}} 18:34:43.254 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On 18:34:43.268 {"TuyaReceived":{"Data":"55AA00070008020200040000007B91","Cmnd":7,"CmndData":"020200040000007B","DpType2Id2":123,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000007B"}}} 18:34:43.270 TYA: fnId=21 RX value 123 from dpId 2 18:34:43.386 CFG: Saved to flash at F4, Count 6031, Bytes 4096 18:34:43.393 {"TuyaReceived":{"Data":"55AA0007000501010001010F","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}} 18:34:43.396 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On 18:34:43.398 {"TuyaReceived":{"Data":"55AA00070008020200040000007E94","Cmnd":7,"CmndData":"020200040000007E","DpType2Id2":126,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000007E"}}} 18:34:43.400 TYA: fnId=21 RX value 126 from dpId 2 18:34:43.402 SRC: Switch 18:34:43.405 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 48, Data '48' 18:34:43.620 MQT: Message too large 18:34:43.622 RSL: STATE = {"Time":"2022-04-07T18:34:43","Uptime":"0T00:08:54","UptimeSec":534,"Heap":20,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":105,"MqttCount":1,"POWER":"ON","Dimmer":48,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":96,"Signal":-52,"LinkCount":1,"Downtime":"0T00:00:14"}} 18:34:44.050 MQT: Message too large 18:34:44.052 RSL: RESULT = {"POWER":"ON","Dimmer":48} 18:34:44.056 {"TuyaReceived":{"Data":"55AA0007000501010001010F","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}} 18:34:44.058 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On 18:34:44.061 {"TuyaReceived":{"Data":"55AA00070008020200040000008096","Cmnd":7,"CmndData":"0202000400000080","DpType2Id2":128,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000080"}}} 18:34:44.064 TYA: fnId=21 RX value 128 from dpId 2 18:34:44.636 CFG: Saved to flash at FB, Count 6032, Bytes 4096 18:34:45.971 TYA: Dim Delay 0 -> 0. 18:34:45.988 TYA: Send "55aa00060008020200040000005065" 18:34:45.990 TYA: s 11 -> 12 18:34:46.004 TYA: s 12 -> 11 18:34:46.007 {"TuyaReceived":{"Data":"55AA00070008020200040000005066","Cmnd":7,"CmndData":"0202000400000050","DpType2Id2":80,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000050"}}} 18:34:46.009 TYA: fnId=21 RX value 80 from dpId 2 18:34:46.011 SRC: Switch 18:34:46.014 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 30, Data '30' 18:34:46.227 RSL: STATE = {"Time":"2022-04-07T18:34:46","Uptime":"0T00:08:57","UptimeSec":537,"Heap":20,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"POWER":"ON","Dimmer":30,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"YBROUTER-2G","BSSId":"FC:EC:DA:81:90:CE","Channel":11,"Mode":"11n","RSSI":94,"Signal":-53,"LinkCount":1,"Downtime":"0T00:00:14"}} 18:34:46.447 RSL: RESULT = {"POWER":"ON","Dimmer":30} 18:34:46.451 {"TuyaReceived":{"Data":"55AA0007000501010001010F","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}} 18:34:46.453 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On 18:34:46.456 {"TuyaReceived":{"Data":"55AA00070008020200040000004E64","Cmnd":7,"CmndData":"020200040000004E","DpType2Id2":78,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000004E"}}} 18:34:46.458 TYA: fnId=21 RX value 78 from dpId 2 18:34:46.887 CFG: Saved to flash at FA, Count 6033, Bytes 4096 18:34:48.076 WIF: Checking connection... 18:34:48.168 TYA: s 11 -> 13 18:34:48.277 TYA: Send "55aa00000000ff" 18:34:48.278 TYA: s 13 -> 14 18:34:48.285 TYA: s 14 -> 11 18:34:48.287 {"TuyaReceived":{"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} 18:34:48.366 TYA: Dim Delay 0 -> 0. 18:34:49.093 WIF: Sending Gratuitous ARP 18:34:59.170 TYA: s 11 -> 13 18:34:59.278 TYA: Send "55aa00000000ff" 18:34:59.280 TYA: s 13 -> 14 18:34:59.287 TYA: s 14 -> 11 18:34:59.289 {"TuyaReceived":{"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}}

@btsimonh
Copy link
Owner Author

btsimonh commented Apr 7, 2022

yep, the log look odd.
will investigate more in the morning....

@btsimonh
Copy link
Owner Author

btsimonh commented Apr 9, 2022

updates:
disable old ignore_dimmer stuff - should not be necessary now.
log counts of send & rxed messages - mainly to help identify lost logging?
Protect against tuya rxed messages > ~240 bytes.
tasmota.bin.gz
tasmota-lite.bin.gz

@btsimonh
Copy link
Owner Author

btsimonh commented Apr 9, 2022

I'm pretty convinced that WF-DS01 issues relate to it having a button AND tuya sending power info on button operation.
issue is the sequence power off, dimmer 30, power on - results in immediate return to off. I think this is because when we send 'power on' we get a 'button' input on GPIO0, which toggles us to off again. hopefully @Ysbrand can re-test to prove the theory, and we'll work out if we need this input GPIO at all....

@btsimonh
Copy link
Owner Author

btsimonh commented Apr 9, 2022

Updates: give MQTT and syslog logging an opportunity to be serviced after major events (set power, set channels). Turned on by TUYA_MORE_DEBUG define.
tasmota.bin.gz
tasmota-lite.bin.gz

@tzagim
Copy link

tzagim commented Apr 9, 2022

It works great that way on my dimmer.

But I encountered another problem, when trun on the dimmer using the physical button (touch) or via MQTT it activates at the highest power, and when it is downgraded it jumps to the last dimming position and continues to dim from there.

Thanks for your good work

EDIT: I forgot to mention, I use this product (DMS01)

Attached a log ## PS I changed identifying information in log (IP addresses, network names, and MAC address)
00:00:00.056 QPC: Count 1
00:00:00.058 CFG: CR 407/699, Busy 0
00:00:00.061 TYA: init struct done
00:00:00.062 ROT: Mode 1
00:00:00.108 SNS: Hardware Serial
00:00:00.109 TYA: Request MCU configuration at 9600 bps
00:00:00.110 SRC: Restart
00:00:00.111 TYA: setchannels
00:00:00.112 TYA: NEW DP 2 desiredvalue set (0x0b000000 len 4)
00:00:00.112 TYA: Add unknown dpid 2 in set - num DP:1
00:00:00.113 TYA: set of dpid 2 to 11 requested
00:00:00.114 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 1 rxed 0
00:00:00.115 TYA: NEW DP 1 desiredvalue set (0x00000000 len 1)
00:00:00.115 TYA: Add unknown dpid 1 in set - num DP:2
00:00:00.116 TYA: set of dpid 1 to 0 requested
00:00:00.117 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 1 rxed 0
00:00:00.118 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 1 rxed 0
00:00:00.118 TYA: posted rpower 0 val 0 to dpid 1 src 2 dev 0
00:00:00.120 Project tasmota - Dimmer Version 11.0.0.5(tasmota)-2_7_4_9(2022-04-09T07:59:13)
00:00:00.122 TYA: E55 0xFF
00:00:00.131 TYA: Send "55aa00000000ff"
00:00:00.131 TYA: s 0 -> 1 - sends 1, rxs 0
00:00:00.137 TYA: Errorcnt 0->1
00:00:00.140 TYA: s 1 -> 2 - sends 1, rxs 1
00:00:00.141 {"TuyaReceived":{"Data":"55AA030000010104","Cmnd":0,"CmndData":"01"}}
00:00:00.142 TYA: Heartbeat
00:00:00.190 WIF: Checking connection...
00:00:00.191 WIF: Attempting connection...
00:00:00.528 WIF: Connecting to AP1 XXXX Channel 3 BSSId 35:EE:88:CC:34:CC in mode 11n as dimmer-salon-7394...
00:00:01.682 TYA: Send "55aa0001000000"
00:00:01.683 TYA: s 2 -> 3 - sends 2, rxs 1
00:00:01.735 TYA: s 3 -> 4 - sends 2, rxs 2
00:00:01.737 {"TuyaReceived":{"Data":"55AA0301002A7B2270223A2266377761626F776B78686331656C776E222C2276223A22312E302E30222C226D223A307D41","Cmnd":1,"CmndData":"7B2270223A2266377761626F776B78686331656C776E222C2276223A22312E302E30222C226D223A307D"}}
00:00:01.738 TYA: MCU Product ID: {"p":"f7wabowkxhc1elwn","v":"1.0.0","m":0}
00:00:01.986 TYA: Protocol timeout state 4 -> 5
00:00:01.995 TYA: Send "55aa0002000001"
00:00:01.996 TYA: s 5 -> 6 - sends 3, rxs 2
00:00:02.002 TYA: s 6 -> 7 - sends 3, rxs 3
00:00:02.003 {"TuyaReceived":{"Data":"55AA0302000004","Cmnd":2}}
00:00:02.004 TYA: RX MCU configuration Mode=0
00:00:02.111 TYA: Send "55aa000300010407"
00:00:02.112 TYA: s 7 -> 8 - sends 4, rxs 3
00:00:02.119 TYA: s 8 -> 9 - sends 4, rxs 4
00:00:02.120 {"TuyaReceived":{"Data":"55AA0303000005","Cmnd":3}}
00:00:02.121 TYA: RX WiFi LED set ACK
00:00:02.227 TYA: Send "55aa0008000007"
00:00:02.229 TYA: s 9 -> 10 - sends 5, rxs 4
00:00:02.241 {"TuyaReceived":{"Data":"55AA03070005010100010011","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
00:00:02.243 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 1 rxed 0
00:00:02.245 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 1 rxed 1
00:00:02.246 TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
00:00:02.257 {"TuyaReceived":{"Data":"55AA03070008020200040000000019","Cmnd":7,"CmndData":"0202000400000000","DpType2Id2":0,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000000"}}}
00:00:02.259 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 1 rxed 1
00:00:02.260 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 1 rxed 1
00:00:02.262 TYA: fnId=21 RX value 0 from dpId 2 
00:00:02.458 WIF: Checking connection...
00:00:02.459 WIF: Connected
00:00:02.709 TYA: Set WiFi LED 3 (0)
00:00:02.719 TYA: Send "55aa000300010306"
00:00:02.721 TYA: s 11 -> 12 - sends 6, rxs 6
00:00:02.822 HTP: Web server active on dimmer-salon-7394 with IP address xxx.xxx.xxx.xxx
00:00:02.825 TYA: s 12 -> 11 - sends 6, rxs 7
00:00:02.827 {"TuyaReceived":{"Data":"55AA0303000005","Cmnd":3}}
00:00:02.829 TYA: RX WiFi LED set ACK
00:00:02.832 TYA: DP set ignored - same value dpid 1, value 0x       0, len 1
00:00:03.446 WIF: Sending Gratuitous ARP
00:00:03.448 NTP: Sync time...
00:00:03.473 RTC: UTC 2022-04-09T10:16:22, DST 2022-03-27T02:00:00, STD 2022-10-30T03:00:00
11:16:22.001 RTC: Synced by NTP
11:16:22.212 MQT: Attempting connection...
11:16:22.222 MQT: Connected
11:16:22.227 MQT: tele/dimmer_salon/LWT = Online (retained)
11:16:22.231 MQT: cmnd/dimmer_salon/POWER = 
11:16:22.234 MQT: Subscribe to cmnd/dimmer_salon/#
11:16:22.239 MQT: Subscribe to cmnd/tasmotas/#
11:16:22.244 MQT: Subscribe to cmnd/DVES_D19CE2_fb/#
11:16:22.246 MQT: Unsubscribe from homeassistant/status
11:16:22.255 MQT: tele/dimmer_salon/INFO1 = {"Info1":{"Module":"Avatto Dimmer Switch","Version":"11.0.0.5(tasmota)","FallbackTopic":"cmnd/DVES_D19CE2_fb/","GroupTopic":"cmnd/tasmotas/"}}
11:16:22.262 MQT: tele/dimmer_salon/INFO2 = {"Info2":{"WebServerMode":"Admin","Hostname":"dimmer-salon-7394","IPAddress":"xxx.xxx.xxx.xxx"}}
11:16:22.267 MQT: tele/dimmer_salon/INFO3 = {"Info3":{"RestartReason":"Software/System restart","BootCount":173}}
11:16:22.270 MQT: stat/dimmer_salon/RESULT = {"POWER":"OFF"}
11:16:22.275 MQT: stat/dimmer_salon/POWER = OFF
11:16:22.330 TYA: Set WiFi LED 4 (0)
11:16:22.341 TYA: Send "55aa000300010407"
11:16:22.343 TYA: s 11 -> 12 - sends 7, rxs 7
11:16:22.349 TYA: s 12 -> 11 - sends 7, rxs 8
11:16:22.351 {"TuyaReceived":{"Data":"55AA0303000005","Cmnd":3}}
11:16:22.353 TYA: RX WiFi LED set ACK
11:16:23.175 TYA: Dim Delay 0 -> 0.
11:16:23.777 SRC: MQTT
11:16:23.779 CMD: Grp 0, Cmd 'STATUS', Idx 1, Len 4, Pld -99, Data 'None'
11:16:23.786 MQT: stat/dimmer_salon/STATUS = {"Status":{"Module":0,"DeviceName":"Dimmer","FriendlyName":["dimmer salon"],"Topic":"dimmer_salon","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":0,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0,"InfoRetain":0,"StateRetain":0}}
11:16:23.827 SRC: MQTT
11:16:23.830 CMD: Grp 0, Cmd 'STATUS', Idx 1, Len 1, Pld 2, Data '2'
11:16:23.835 MQT: stat/dimmer_salon/STATUS2 = {"StatusFWR":{"Version":"11.0.0.5(tasmota)","BuildDateTime":"2022-04-09T07:59:13","Boot":31,"Core":"2_7_4_9","SDK":"2.2.2-dev(38a443e)","CpuFrequency":80,"Hardware":"ESP8266EX","CR":"407/699"}}
11:16:23.878 SRC: MQTT
11:16:23.881 CMD: Grp 0, Cmd 'STATE', Idx 1, Len 0, Pld -99, Data ''
11:16:23.888 MQT: stat/dimmer_salon/RESULT = {"Time":"2022-04-09T11:16:23","Uptime":"0T00:00:06","UptimeSec":6,"Heap":26,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":20,"MqttCount":1,"POWER":"OFF","Dimmer":6,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"XXXX","BSSId":"35:EE:88:CC:34:CC","Channel":3,"Mode":"11n","RSSI":100,"Signal":-49,"LinkCount":1,"Downtime":"0T00:00:04"}}
11:16:23.928 SRC: MQTT
11:16:23.930 CMD: Grp 0, Cmd 'STATUS', Idx 1, Len 2, Pld 11, Data '11'
11:16:23.938 MQT: stat/dimmer_salon/STATUS11 = {"StatusSTS":{"Time":"2022-04-09T11:16:23","Uptime":"0T00:00:06","UptimeSec":6,"Heap":26,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":20,"MqttCount":1,"POWER":"OFF","Dimmer":6,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"XXXX","BSSId":"35:EE:88:CC:34:CC","Channel":3,"Mode":"11n","RSSI":100,"Signal":-49,"LinkCount":1,"Downtime":"0T00:00:04"}}}
11:16:25.477 QPC: Reset
11:16:26.490 HTP: Command
11:16:26.495 SRC: WebCommand from xxx.xxx.xxx.xxx
11:16:26.498 CMD: Grp 0, Cmd 'STATUS', Idx 1, Len 1, Pld 0, Data '0'
11:16:26.504 MQT: stat/dimmer_salon/STATUS = {"Status":{"Module":0,"DeviceName":"Dimmer","FriendlyName":["dimmer salon"],"Topic":"dimmer_salon","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":0,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0,"InfoRetain":0,"StateRetain":0}}
11:16:26.514 MQT: stat/dimmer_salon/STATUS1 = {"StatusPRM":{"Baudrate":9600,"SerialConfig":"8N1","GroupTopic":"tasmotas","OtaUrl":"http://ota.tasmota.com/tasmota/release/tasmota.bin","RestartReason":"Software/System restart","Uptime":"0T00:00:09","StartupUTC":"2022-04-09T10:16:17","Sleep":50,"CfgHolder":4617,"BootCount":172,"BCResetTime":"2021-07-21T14:56:58","SaveCount":3085,"SaveAddress":"F9000"}}
11:16:26.522 MQT: stat/dimmer_salon/STATUS2 = {"StatusFWR":{"Version":"11.0.0.5(tasmota)","BuildDateTime":"2022-04-09T07:59:13","Boot":31,"Core":"2_7_4_9","SDK":"2.2.2-dev(38a443e)","CpuFrequency":80,"Hardware":"ESP8266EX","CR":"407/699"}}
11:16:26.529 MQT: stat/dimmer_salon/STATUS3 = {"StatusLOG":{"SerialLog":0,"WebLog":4,"MqttLog":0,"SysLog":4,"LogHost":"","LogPort":514,"SSId":["XXXX","XXXXExt"],"TelePeriod":300,"Resolution":"558180C0","SetOption":["00008009","2805C80001000600003C5A0A000000000000","00000080","00006000","00004000"]}}
11:16:26.543 MQT: stat/dimmer_salon/STATUS4 = {"StatusMEM":{"ProgramSize":630,"Free":372,"Heap":23,"ProgramFlashSize":1024,"FlashSize":2048,"FlashChipId":"1540C8","FlashFrequency":40,"FlashMode":3,"Features":["00000809","8FDAC787","04368001","000000CF","010013C0","C000F981","00004004","00001000","04000020"],"Drivers":"1,2,3,4,5,6,7,8,9,10,12,16,18,19,20,21,22,24,26,27,29,30,35,37,45,56,62","Sensors":"1,2,3,4,5,6"}}
11:16:26.552 MQT: stat/dimmer_salon/STATUS5 = {"StatusNET":{"Hostname":"dimmer-salon-7394","IPAddress":"xxx.xxx.xxx.xxx","Gateway":"xxx.xxx.xxx.xxx","Subnetmask":"255.255.255.0","DNSServer1":"xxx.xxx.xxx.xxx","DNSServer2":"0.0.0.0","Mac":"88:4B:87:81:98:72","Webserver":2,"HTTP_API":1,"WifiConfig":4,"WifiPower":17.0}}
11:16:26.560 MQT: stat/dimmer_salon/STATUS6 = {"StatusMQT":{"MqttHost":"xxx.xxx.xxx.xxx","MqttPort":1883,"MqttClientMask":"DVES_%06X","MqttClient":"DVES_D19CE2","MqttUser":"MqttUserdemo","MqttCount":1,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30,"SOCKET_TIMEOUT":4}}
11:16:26.569 MQT: stat/dimmer_salon/STATUS7 = {"StatusTIM":{"UTC":"2022-04-09T10:16:26","Local":"2022-04-09T11:16:26","StartDST":"2022-03-27T02:00:00","EndDST":"2022-10-30T03:00:00","Timezone":"+01:00","Sunrise":"06:11","Sunset":"19:32"}}
11:16:26.577 MQT: stat/dimmer_salon/STATUS10 = {"StatusSNS":{"Time":"2022-04-09T11:16:26"}}
11:16:26.586 MQT: stat/dimmer_salon/STATUS11 = {"StatusSTS":{"Time":"2022-04-09T11:16:26","Uptime":"0T00:00:09","UptimeSec":9,"Heap":24,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"POWER":"OFF","Dimmer":6,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"XXXX","BSSId":"35:EE:88:CC:34:CC","Channel":3,"Mode":"11n","RSSI":100,"Signal":-49,"LinkCount":1,"Downtime":"0T00:00:04"}}}
11:16:26.967 HTP: Main Menu
11:16:27.436 APP: Boot Count 173
11:16:27.447 MQT: tele/dimmer_salon/STATE = {"Time":"2022-04-09T11:16:27","Uptime":"0T00:00:10","UptimeSec":10,"Heap":26,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":33,"MqttCount":1,"POWER":"OFF","Dimmer":6,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"XXXX","BSSId":"35:EE:88:CC:34:CC","Channel":3,"Mode":"11n","RSSI":100,"Signal":-49,"LinkCount":1,"Downtime":"0T00:00:04"}}
11:16:28.247 CFG: Saved to flash at F8, Count 3086, Bytes 4096
11:16:28.502 TYA: s 11 -> 13 - sends 7, rxs 8
11:16:28.609 TYA: Send "55aa00000000ff"
11:16:28.610 TYA: s 13 -> 14 - sends 8, rxs 8
11:16:28.618 TYA: s 14 -> 11 - sends 8, rxs 9
11:16:28.620 {"TuyaReceived":{"Data":"55AA030000010104","Cmnd":0,"CmndData":"01"}}
11:16:28.622 TYA: Heartbeat
11:16:31.499 TYA: Valid DP 2 type 2 (val) mcuval 5 desired 20 setflag 1 rxed 1
11:16:31.501 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:31.503 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
11:16:31.512 {"TuyaReceived":{"Data":"55AA0307000802020004000000061F","Cmnd":7,"CmndData":"0202000400000006","DpType2Id2":6,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000006"}}}
11:16:31.514 TYA: Valid DP 2 type 2 (val) mcuval 6 desired 20 setflag 1 rxed 1
11:16:31.516 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:31.518 TYA: fnId=21 RX value 6 from dpId 2 
11:16:31.556 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
11:16:31.559 TYA: Valid DP 2 type 2 (val) mcuval 6 desired 20 setflag 1 rxed 1
11:16:31.561 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:31.563 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
11:16:31.572 {"TuyaReceived":{"Data":"55AA03070008020200040000000720","Cmnd":7,"CmndData":"0202000400000007","DpType2Id2":7,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000007"}}}
11:16:31.575 TYA: Valid DP 2 type 2 (val) mcuval 7 desired 20 setflag 1 rxed 1
11:16:31.577 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:31.579 TYA: fnId=21 RX value 7 from dpId 2 
11:16:31.617 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
11:16:31.619 TYA: Valid DP 2 type 2 (val) mcuval 7 desired 20 setflag 1 rxed 1
11:16:31.621 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:31.623 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
11:16:31.632 {"TuyaReceived":{"Data":"55AA03070008020200040000000821","Cmnd":7,"CmndData":"0202000400000008","DpType2Id2":8,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000008"}}}
11:16:31.634 TYA: Valid DP 2 type 2 (val) mcuval 8 desired 20 setflag 1 rxed 1
11:16:31.636 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:31.638 TYA: fnId=21 RX value 8 from dpId 2 
11:16:31.734 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
11:16:31.737 TYA: Valid DP 2 type 2 (val) mcuval 8 desired 20 setflag 1 rxed 1
11:16:31.739 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:31.741 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
11:16:31.747 {"TuyaReceived":{"Data":"55AA03070008020200040000000922","Cmnd":7,"CmndData":"0202000400000009","DpType2Id2":9,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000009"}}}
11:16:31.749 TYA: Valid DP 2 type 2 (val) mcuval 9 desired 20 setflag 1 rxed 1
11:16:31.751 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:31.753 TYA: fnId=21 RX value 9 from dpId 2 
11:16:31.756 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
11:16:31.759 TYA: Valid DP 2 type 2 (val) mcuval 9 desired 20 setflag 1 rxed 1
11:16:31.761 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:31.763 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
11:16:31.765 {"TuyaReceived":{"Data":"55AA03070008020200040000000A23","Cmnd":7,"CmndData":"020200040000000A","DpType2Id2":10,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000000A"}}}
11:16:31.768 TYA: Valid DP 2 type 2 (val) mcuval 10 desired 20 setflag 1 rxed 1
11:16:31.770 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:31.772 TYA: fnId=21 RX value 10 from dpId 2 
11:16:32.384 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
11:16:32.387 {"TuyaReceived":{"Data":"55AA0307000802020004000000122B","Cmnd":7,"CmndData":"0202000400000012","DpType2Id2":18,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000012"}}}
11:16:32.390 TYA: Valid DP 2 type 2 (val) mcuval 18 desired 20 setflag 1 rxed 1
11:16:32.392 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:32.394 TYA: fnId=21 RX value 18 from dpId 2 
11:16:32.396 SRC: Switch
11:16:32.399 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 35, Data '35'
11:16:32.403 TYA: setchannels
11:16:32.429 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":35}
11:16:32.435 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
11:16:32.437 TYA: Valid DP 2 type 2 (val) mcuval 18 desired 20 setflag 1 rxed 1
11:16:32.440 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:32.442 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
11:16:32.446 {"TuyaReceived":{"Data":"55AA0307000802020004000000132C","Cmnd":7,"CmndData":"0202000400000013","DpType2Id2":19,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000013"}}}
11:16:32.449 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 20 setflag 1 rxed 1
11:16:32.451 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:32.453 TYA: fnId=21 RX value 19 from dpId 2 
11:16:32.455 SRC: Switch
11:16:32.458 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 39, Data '39'
11:16:32.462 TYA: setchannels
11:16:32.489 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":39}
11:16:32.495 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
11:16:32.498 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 20 setflag 1 rxed 1
11:16:32.500 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:32.502 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
11:16:32.506 {"TuyaReceived":{"Data":"55AA0307000802020004000000132C","Cmnd":7,"CmndData":"0202000400000013","DpType2Id2":19,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000013"}}}
11:16:32.509 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 20 setflag 1 rxed 1
11:16:32.511 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:32.514 TYA: fnId=21 RX value 19 from dpId 2 
11:16:32.546 MQT: tasmota/discovery/E8DB84D19CE2/config = {"ip":"xxx.xxx.xxx.xxx","dn":"Dimmer","fn":["dimmer salon",null,null,null,null,null,null,null],"hn":"dimmer-salon-7394","mac":"E8DB84D19CE2","md":"Avatto Dimmer Switch","ty":1,"if":0,"ofln":"Offline","onln":"Online","state":["OFF","ON","TOGGLE","HOLD"],"sw":"11.0.0.5","t":"dimmer_salon","ft":"%prefix%/%topic%/","tp":["cmnd","stat","tele"],"rl":[2,0,0,0,0,0,0,0],"swc":[-1,-1,-1,-1,-1,-1,-1,-1],"swn":[null,null,null,null,null,null,null,null],"btn":[0,0,0,0,0,0,0,0],"so":{"4":0,"11":0,"13":0,"17":0,"20":0,"30":0,"68":0,"73":0,"82":0,"114":0,"117":0},"lk":1,"lt_st":1,"sho":[0,0,0,0],"ver":1} (retained)
11:16:32.554 MQT: tasmota/discovery/E8DB84D19CE2/sensors = {"sn":{"Time":"2022-04-09T11:16:32"},"ver":1} (retained)
11:16:32.556 TYA: Errorcnt 1->12
11:16:32.837 CFG: Saved to flash at F6, Count 3088, Bytes 4096
11:16:33.825 SRC: WebGui from xxx.xxx.xxx.xxx1
11:16:33.828 CMD: Grp 0, Cmd 'DIMMER', Idx 1, Len 2, Pld 78, Data '78'
11:16:33.835 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":78}
11:16:33.915 TYA: setchannels
11:16:33.917 TYA: DP 2 desiredvalue set (0x1c000000 len 4)
11:16:33.919 TYA: set of dpid 2 to 28 requested
11:16:33.921 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 28 setflag 1 rxed 1
11:16:33.923 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:33.941 TYA: Dim command 0 deferred for 600ms
11:16:34.591 MQT: stat/dimmer_salon/STATUS2 = {"StatusFWR":{"Version":"11.0.0.5(tasmota)","BuildDateTime":"2022-04-09T07:59:13","Boot":31,"Core":"2_7_4_9","SDK":"2.2.2-dev(38a443e)","CpuFrequency":80,"Hardware":"ESP8266EX","CR":"407/699"}}
11:16:34.599 MQT: stat/dimmer_salon/STATUS3 = {"StatusLOG":{"SerialLog":0,"WebLog":4,"MqttLog":0,"SysLog":4,"LogHost":"","LogPort":514,"SSId":["XXXX","XXXXExt"],"TelePeriod":300,"Resolution":"558180C0","SetOption":["00008009","2805C80001000600003C5A0A000000000000","00000080","00006000","00004000"]}}
11:16:34.613 MQT: stat/dimmer_salon/STATUS4 = {"StatusMEM":{"ProgramSize":630,"Free":372,"Heap":23,"ProgramFlashSize":1024,"FlashSize":2048,"FlashChipId":"1540C8","FlashFrequency":40,"FlashMode":3,"Features":["00000809","8FDAC787","04368001","000000CF","010013C0","C000F981","00004004","00001000","04000020"],"Drivers":"1,2,3,4,5,6,7,8,9,10,12,16,18,19,20,21,22,24,26,27,29,30,35,37,45,56,62","Sensors":"1,2,3,4,5,6"}}
11:16:34.622 MQT: stat/dimmer_salon/STATUS5 = {"StatusNET":{"Hostname":"dimmer-salon-7394","IPAddress":"xxx.xxx.xxx.xxx","Gateway":"xxx.xxx.xxx.xxx","Subnetmask":"255.255.255.0","DNSServer1":"xxx.xxx.xxx.xxx","DNSServer2":"0.0.0.0","Mac":"88:4B:87:81:98:72","Webserver":2,"HTTP_API":1,"WifiConfig":4,"WifiPower":17.0}}
11:16:34.629 MQT: stat/dimmer_salon/STATUS6 = {"StatusMQT":{"MqttHost":"xxx.xxx.xxx.xxx","MqttPort":1883,"MqttClientMask":"DVES_%06X","MqttClient":"DVES_D19CE2","MqttUser":"MqttUserdemo","MqttCount":1,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30,"SOCKET_TIMEOUT":4}}
11:16:34.638 MQT: stat/dimmer_salon/STATUS7 = {"StatusTIM":{"UTC":"2022-04-09T10:16:34","Local":"2022-04-09T11:16:34","StartDST":"2022-03-27T02:00:00","EndDST":"2022-10-30T03:00:00","Timezone":"+01:00","Sunrise":"06:11","Sunset":"19:32"}}
11:16:34.645 MQT: stat/dimmer_salon/STATUS10 = {"StatusSNS":{"Time":"2022-04-09T11:16:34"}}
11:16:34.653 MQT: stat/dimmer_salon/STATUS11 = {"StatusSTS":{"Time":"2022-04-09T11:16:34","Uptime":"0T00:00:17","UptimeSec":17,"Heap":23,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":102,"MqttCount":1,"POWER":"ON","Dimmer":78,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"XXXX","BSSId":"35:EE:88:CC:34:CC","Channel":3,"Mode":"11n","RSSI":100,"Signal":-48,"LinkCount":1,"Downtime":"0T00:00:04"}}}
11:16:34.672 TYA: Reset by char timeout
11:16:34.674 TYA: Raw Data: 55AA030700080202000400
11:16:34.676 TYA: E55 0x00
11:16:34.680 TYA: E55 0x00
11:16:34.682 TYA: E55 0x1C
11:16:34.684 TYA: E55 0x35
11:16:34.865 CFG: Saved to flash at F5, Count 3089, Bytes 4096
11:16:34.872 TYA: Protocol timeout state 12 -> 11
11:16:35.366 SRC: WebGui from xxx.xxx.xxx.xxx1
11:16:35.369 CMD: Grp 0, Cmd 'DIMMER', Idx 1, Len 2, Pld 58, Data '58'
11:16:35.375 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":58}
11:16:35.452 TYA: setchannels
11:16:35.455 TYA: DP 2 desiredvalue set (0x17000000 len 4)
11:16:35.456 TYA: set of dpid 2 to 23 requested
11:16:35.459 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 23 setflag 1 rxed 1
11:16:35.461 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:35.498 TYA: Send "55aa0006000802020004000000172c"
11:16:35.502 TYA: s 11 -> 12 - sends 11, rxs 49
11:16:35.507 TYA: Errorcnt 12->17
11:16:35.515 TYA: s 12 -> 11 - sends 11, rxs 50
11:16:35.518 {"TuyaReceived":{"Data":"55AA03070008020200040000001730","Cmnd":7,"CmndData":"0202000400000017","DpType2Id2":23,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000017"}}}
11:16:35.520 TYA: Valid DP 2 type 2 (val) mcuval 23 desired 23 setflag 0 rxed 1
11:16:35.522 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:35.524 TYA: fnId=21 RX value 23 from dpId 2 
11:16:35.525 SRC: Switch
11:16:35.528 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 56, Data '56'
11:16:35.532 TYA: setchannels
11:16:35.553 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":56}
11:16:35.836 CFG: Saved to flash at F4, Count 3090, Bytes 4096
11:16:37.018 SRC: WebGui from xxx.xxx.xxx.xxx1
11:16:37.020 CMD: Grp 0, Cmd 'DIMMER', Idx 1, Len 3, Pld 100, Data '100'
11:16:37.027 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":100}
11:16:37.089 TYA: setchannels
11:16:37.091 TYA: DP 2 desiredvalue set (0x21000000 len 4)
11:16:37.093 TYA: set of dpid 2 to 33 requested
11:16:37.095 TYA: Valid DP 2 type 2 (val) mcuval 23 desired 33 setflag 1 rxed 1
11:16:37.097 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:37.114 TYA: Dim command 0 deferred for 400ms
11:16:37.422 TYA: Dim Delay 0 -> 0.
11:16:37.440 TYA: Send "55aa00060008020200040000002136"
11:16:37.445 TYA: s 11 -> 12 - sends 12, rxs 50
11:16:37.457 TYA: s 12 -> 11 - sends 12, rxs 51
11:16:37.459 {"TuyaReceived":{"Data":"55AA0307000802020004000000213A","Cmnd":7,"CmndData":"0202000400000021","DpType2Id2":33,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000021"}}}
11:16:37.461 TYA: Valid DP 2 type 2 (val) mcuval 33 desired 33 setflag 0 rxed 1
11:16:37.464 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:37.465 TYA: fnId=21 RX value 33 from dpId 2 
11:16:37.829 CFG: Saved to flash at FB, Count 3091, Bytes 4096
11:16:38.674 SRC: WebGui from xxx.xxx.xxx.xxx1
11:16:38.677 CMD: Grp 0, Cmd 'DIMMER', Idx 1, Len 2, Pld 41, Data '41'
11:16:38.683 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":41}
11:16:38.741 TYA: setchannels
11:16:38.744 TYA: DP 2 desiredvalue set (0x13000000 len 4)
11:16:38.745 TYA: set of dpid 2 to 19 requested
11:16:38.747 TYA: Valid DP 2 type 2 (val) mcuval 33 desired 19 setflag 1 rxed 1
11:16:38.749 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:38.767 TYA: Dim command 0 deferred for 700ms
11:16:38.829 CFG: Saved to flash at FA, Count 3092, Bytes 4096
11:16:41.516 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":18}
11:16:41.520 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
11:16:41.522 TYA: Valid DP 2 type 2 (val) mcuval 14 desired 19 setflag 0 rxed 1
11:16:41.525 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
11:16:41.527 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
11:16:41.532 {"TuyaReceived":{"Data":"55AA03070008020200040000000D26","Cmnd":7,"CmndData":"020200040000000D","DpType2Id2":13,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000000D"}}}
11:16:41.535 TYA: Valid DP 2 type 2 (val) mcuval 13 desired 19 setflag 0 rxed 1
11:16:41.537 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
11:16:41.540 TYA: fnId=21 RX value 13 from dpId 2 
11:16:41.542 SRC: Switch
11:16:41.544 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 14, Data '14'
11:16:41.549 TYA: setchannels
11:16:41.575 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":14}
11:16:41.578 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
11:16:41.581 TYA: Valid DP 2 type 2 (val) mcuval 13 desired 19 setflag 0 rxed 1
11:16:41.583 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
11:16:41.585 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
11:16:41.590 {"TuyaReceived":{"Data":"55AA03070008020200040000000C25","Cmnd":7,"CmndData":"020200040000000C","DpType2Id2":12,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000000C"}}}
11:16:41.592 TYA: Valid DP 2 type 2 (val) mcuval 12 desired 19 setflag 0 rxed 1
11:16:41.594 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
11:16:41.597 TYA: fnId=21 RX value 12 from dpId 2 
11:16:41.599 SRC: Switch
11:16:41.601 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 10, Data '10'
11:16:41.605 TYA: setchannels
11:16:41.633 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":10}
11:16:41.637 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
11:16:41.640 TYA: Valid DP 2 type 2 (val) mcuval 12 desired 19 setflag 0 rxed 1
11:16:41.642 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
11:16:41.644 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
11:16:41.649 {"TuyaReceived":{"Data":"55AA03070008020200040000000B24","Cmnd":7,"CmndData":"020200040000000B","DpType2Id2":11,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000000B"}}}
11:16:41.652 TYA: Valid DP 2 type 2 (val) mcuval 11 desired 19 setflag 0 rxed 1
11:16:41.654 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
11:16:41.657 TYA: fnId=21 RX value 11 from dpId 2 
11:16:41.658 SRC: Switch
11:16:41.661 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 1, Pld 6, Data '6'
11:16:41.665 TYA: setchannels
11:16:41.694 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":6}
11:16:41.698 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
11:16:41.700 TYA: Valid DP 2 type 2 (val) mcuval 11 desired 19 setflag 0 rxed 1
11:16:41.703 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
11:16:41.705 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
11:16:41.708 {"TuyaReceived":{"Data":"55AA03070008020200040000000A23","Cmnd":7,"CmndData":"020200040000000A","DpType2Id2":10,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000000A"}}}
11:16:41.710 TYA: Valid DP 2 type 2 (val) mcuval 10 desired 19 setflag 0 rxed 1
11:16:41.712 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
11:16:41.715 TYA: fnId=21 RX value 10 from dpId 2 
11:16:42.409 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 1 rxed 1
11:16:42.411 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
11:16:42.413 TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
11:16:42.416 {"TuyaReceived":{"Data":"55AA03070008020200040000000019","Cmnd":7,"CmndData":"0202000400000000","DpType2Id2":0,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000000"}}}
11:16:42.419 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 1 rxed 1
11:16:42.421 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
11:16:42.423 TYA: fnId=21 RX value 0 from dpId 2 
11:16:42.506 HTP: Command
11:16:42.511 SRC: WebCommand from xxx.xxx.xxx.xxx
11:16:42.514 CMD: Grp 0, Cmd 'STATUS', Idx 1, Len 1, Pld 0, Data '0'
11:16:42.520 MQT: stat/dimmer_salon/STATUS = {"Status":{"Module":0,"DeviceName":"Dimmer","FriendlyName":["dimmer salon"],"Topic":"dimmer_salon","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":0,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0,"InfoRetain":0,"StateRetain":0}}
11:16:42.528 MQT: stat/dimmer_salon/STATUS1 = {"StatusPRM":{"Baudrate":9600,"SerialConfig":"8N1","GroupTopic":"tasmotas","OtaUrl":"http://ota.tasmota.com/tasmota/release/tasmota.bin","RestartReason":"Software/System restart","Uptime":"0T00:00:25","StartupUTC":"2022-04-09T10:16:17","Sleep":50,"CfgHolder":4617,"BootCount":173,"BCResetTime":"2021-07-21T14:56:58","SaveCount":3094,"SaveAddress":"F8000"}}
11:16:42.535 MQT: stat/dimmer_salon/STATUS2 = {"StatusFWR":{"Version":"11.0.0.5(tasmota)","BuildDateTime":"2022-04-09T07:59:13","Boot":31,"Core":"2_7_4_9","SDK":"2.2.2-dev(38a443e)","CpuFrequency":80,"Hardware":"ESP8266EX","CR":"407/699"}}
11:16:42.541 MQT: stat/dimmer_salon/STATUS3 = {"StatusLOG":{"SerialLog":0,"WebLog":4,"MqttLog":0,"SysLog":4,"LogHost":"","LogPort":514,"SSId":["XXXX","XXXXExt"],"TelePeriod":300,"Resolution":"558180C0","SetOption":["00008009","2805C80001000600003C5A0A000000000000","00000080","00006000","00004000"]}}
11:16:42.555 MQT: stat/dimmer_salon/STATUS4 = {"StatusMEM":{"ProgramSize":630,"Free":372,"Heap":22,"ProgramFlashSize":1024,"FlashSize":2048,"FlashChipId":"1540C8","FlashFrequency":40,"FlashMode":3,"Features":["00000809","8FDAC787","04368001","000000CF","010013C0","C000F981","00004004","00001000","04000020"],"Drivers":"1,2,3,4,5,6,7,8,9,10,12,16,18,19,20,21,22,24,26,27,29,30,35,37,45,56,62","Sensors":"1,2,3,4,5,6"}}
11:16:42.565 MQT: stat/dimmer_salon/STATUS5 = {"StatusNET":{"Hostname":"dimmer-salon-7394","IPAddress":"xxx.xxx.xxx.xxx","Gateway":"xxx.xxx.xxx.xxx","Subnetmask":"255.255.255.0","DNSServer1":"xxx.xxx.xxx.xxx","DNSServer2":"0.0.0.0","Mac":"88:4B:87:81:98:72","Webserver":2,"HTTP_API":1,"WifiConfig":4,"WifiPower":17.0}}
11:16:42.572 MQT: stat/dimmer_salon/STATUS6 = {"StatusMQT":{"MqttHost":"xxx.xxx.xxx.xxx","MqttPort":1883,"MqttClientMask":"DVES_%06X","MqttClient":"DVES_D19CE2","MqttUser":"MqttUserdemo","MqttCount":1,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30,"SOCKET_TIMEOUT":4}}
11:16:42.582 MQT: stat/dimmer_salon/STATUS7 = {"StatusTIM":{"UTC":"2022-04-09T10:16:42","Local":"2022-04-09T11:16:42","StartDST":"2022-03-27T02:00:00","EndDST":"2022-10-30T03:00:00","Timezone":"+01:00","Sunrise":"06:11","Sunset":"19:32"}}
11:16:42.591 MQT: stat/dimmer_salon/STATUS10 = {"StatusSNS":{"Time":"2022-04-09T11:16:42"}}
11:16:42.600 MQT: stat/dimmer_salon/STATUS11 = {"StatusSTS":{"Time":"2022-04-09T11:16:42","Uptime":"0T00:00:25","UptimeSec":25,"Heap":23,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":123,"MqttCount":1,"POWER":"OFF","Dimmer":6,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"XXXX","BSSId":"35:EE:88:CC:34:CC","Channel":3,"Mode":"11n","RSSI":100,"Signal":-48,"LinkCount":1,"Downtime":"0T00:00:04"}}}
11:16:43.116 CFG: Saved to flash at F7, Count 3095, Bytes 4096
11:16:45.726 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
11:16:45.729 TYA: Valid DP 2 type 2 (val) mcuval 16 desired 11 setflag 0 rxed 1
11:16:45.731 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:45.733 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
11:16:45.742 {"TuyaReceived":{"Data":"55AA0307000802020004000000112A","Cmnd":7,"CmndData":"0202000400000011","DpType2Id2":17,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000011"}}}
11:16:45.745 TYA: Valid DP 2 type 2 (val) mcuval 17 desired 11 setflag 0 rxed 1
11:16:45.747 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:45.750 TYA: fnId=21 RX value 17 from dpId 2 
11:16:45.751 SRC: Switch
11:16:45.754 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 31, Data '31'
11:16:45.758 TYA: setchannels
11:16:45.786 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":31}
11:16:45.789 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
11:16:45.792 TYA: Valid DP 2 type 2 (val) mcuval 17 desired 11 setflag 0 rxed 1
11:16:45.794 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:45.796 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
11:16:45.800 {"TuyaReceived":{"Data":"55AA0307000802020004000000122B","Cmnd":7,"CmndData":"0202000400000012","DpType2Id2":18,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000012"}}}
11:16:45.802 TYA: Valid DP 2 type 2 (val) mcuval 18 desired 11 setflag 0 rxed 1
11:16:45.804 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:45.807 TYA: fnId=21 RX value 18 from dpId 2 
11:16:45.809 SRC: Switch
11:16:45.811 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 35, Data '35'
11:16:45.815 TYA: setchannels
11:16:45.842 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":35}
11:16:45.848 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
11:16:45.851 TYA: Valid DP 2 type 2 (val) mcuval 18 desired 11 setflag 0 rxed 1
11:16:45.853 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:45.855 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
11:16:45.859 {"TuyaReceived":{"Data":"55AA0307000802020004000000132C","Cmnd":7,"CmndData":"0202000400000013","DpType2Id2":19,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000013"}}}
11:16:45.861 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
11:16:45.864 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:45.866 TYA: fnId=21 RX value 19 from dpId 2 
11:16:45.868 SRC: Switch
11:16:45.870 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 39, Data '39'
11:16:45.875 TYA: setchannels
11:16:45.902 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":39}
11:16:45.905 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
11:16:45.908 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
11:16:45.910 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:45.912 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
11:16:45.918 {"TuyaReceived":{"Data":"55AA0307000802020004000000132C","Cmnd":7,"CmndData":"0202000400000013","DpType2Id2":19,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000013"}}}
11:16:45.921 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
11:16:45.923 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:45.926 TYA: fnId=21 RX value 19 from dpId 2 
11:16:46.081 CFG: Saved to flash at F5, Count 3097, Bytes 4096
11:16:47.942 TYA: Dim Delay 0 -> 0.
11:16:48.663 SRC: WebGui from xxx.xxx.xxx.xxx1
11:16:48.666 CMD: Grp 0, Cmd 'DIMMER', Idx 1, Len 2, Pld 79, Data '79'
11:16:48.672 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":79}
11:16:48.733 TYA: setchannels
11:16:48.736 TYA: DP 2 desiredvalue set (0x1c000000 len 4)
11:16:48.737 TYA: set of dpid 2 to 28 requested
11:16:48.739 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 28 setflag 1 rxed 1
11:16:48.742 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:48.776 TYA: Send "55aa00060008020200040000001c31"
11:16:48.780 TYA: s 11 -> 12 - sends 17, rxs 135
11:16:48.793 TYA: s 12 -> 11 - sends 17, rxs 136
11:16:48.796 {"TuyaReceived":{"Data":"55AA03070008020200040000001C35","Cmnd":7,"CmndData":"020200040000001C","DpType2Id2":28,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000001C"}}}
11:16:48.799 TYA: Valid DP 2 type 2 (val) mcuval 28 desired 28 setflag 0 rxed 1
11:16:48.801 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:48.804 TYA: fnId=21 RX value 28 from dpId 2 
11:16:48.805 SRC: Switch
11:16:48.808 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 77, Data '77'
11:16:48.812 TYA: setchannels
11:16:48.832 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":77}
11:16:49.081 CFG: Saved to flash at F4, Count 3098, Bytes 4096
11:16:50.559 TYA: s 14 -> 11 - sends 18, rxs 137
11:16:50.561 {"TuyaReceived":{"Data":"55AA030000010104","Cmnd":0,"CmndData":"01"}}
11:16:50.563 TYA: Heartbeat
11:16:50.633 HTP: Command
11:16:50.637 SRC: WebCommand from xxx.xxx.xxx.xxx
11:16:50.640 CMD: Grp 0, Cmd 'STATUS', Idx 1, Len 1, Pld 0, Data '0'
11:16:50.647 MQT: stat/dimmer_salon/STATUS = {"Status":{"Module":0,"DeviceName":"Dimmer","FriendlyName":["dimmer salon"],"Topic":"dimmer_salon","ButtonTopic":"0","Power":1,"PowerOnState":3,"LedState":0,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0,"InfoRetain":0,"StateRetain":0}}
11:16:50.656 MQT: stat/dimmer_salon/STATUS1 = {"StatusPRM":{"Baudrate":9600,"SerialConfig":"8N1","GroupTopic":"tasmotas","OtaUrl":"http://ota.tasmota.com/tasmota/release/tasmota.bin","RestartReason":"Software/System restart","Uptime":"0T00:00:33","StartupUTC":"2022-04-09T10:16:17","Sleep":50,"CfgHolder":4617,"BootCount":173,"BCResetTime":"2021-07-21T14:56:58","SaveCount":3098,"SaveAddress":"F4000"}}
11:16:50.664 MQT: stat/dimmer_salon/STATUS2 = {"StatusFWR":{"Version":"11.0.0.5(tasmota)","BuildDateTime":"2022-04-09T07:59:13","Boot":31,"Core":"2_7_4_9","SDK":"2.2.2-dev(38a443e)","CpuFrequency":80,"Hardware":"ESP8266EX","CR":"407/699"}}
11:16:50.671 MQT: stat/dimmer_salon/STATUS3 = {"StatusLOG":{"SerialLog":0,"WebLog":4,"MqttLog":0,"SysLog":4,"LogHost":"","LogPort":514,"SSId":["XXXX","XXXXExt"],"TelePeriod":300,"Resolution":"558180C0","SetOption":["00008009","2805C80001000600003C5A0A000000000000","00000080","00006000","00004000"]}}
11:16:50.686 MQT: stat/dimmer_salon/STATUS4 = {"StatusMEM":{"ProgramSize":630,"Free":372,"Heap":23,"ProgramFlashSize":1024,"FlashSize":2048,"FlashChipId":"1540C8","FlashFrequency":40,"FlashMode":3,"Features":["00000809","8FDAC787","04368001","000000CF","010013C0","C000F981","00004004","00001000","04000020"],"Drivers":"1,2,3,4,5,6,7,8,9,10,12,16,18,19,20,21,22,24,26,27,29,30,35,37,45,56,62","Sensors":"1,2,3,4,5,6"}}
11:16:50.696 MQT: stat/dimmer_salon/STATUS5 = {"StatusNET":{"Hostname":"dimmer-salon-7394","IPAddress":"xxx.xxx.xxx.xxx","Gateway":"xxx.xxx.xxx.xxx","Subnetmask":"255.255.255.0","DNSServer1":"xxx.xxx.xxx.xxx","DNSServer2":"0.0.0.0","Mac":"88:4B:87:81:98:72","Webserver":2,"HTTP_API":1,"WifiConfig":4,"WifiPower":17.0}}
11:16:50.705 MQT: stat/dimmer_salon/STATUS6 = {"StatusMQT":{"MqttHost":"xxx.xxx.xxx.xxx","MqttPort":1883,"MqttClientMask":"DVES_%06X","MqttClient":"DVES_D19CE2","MqttUser":"MqttUserdemo","MqttCount":1,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30,"SOCKET_TIMEOUT":4}}
11:16:50.715 MQT: stat/dimmer_salon/STATUS7 = {"StatusTIM":{"UTC":"2022-04-09T10:16:50","Local":"2022-04-09T11:16:50","StartDST":"2022-03-27T02:00:00","EndDST":"2022-10-30T03:00:00","Timezone":"+01:00","Sunrise":"06:11","Sunset":"19:32"}}
11:16:50.723 MQT: stat/dimmer_salon/STATUS10 = {"StatusSNS":{"Time":"2022-04-09T11:16:50"}}
11:16:50.732 MQT: stat/dimmer_salon/STATUS11 = {"StatusSTS":{"Time":"2022-04-09T11:16:50","Uptime":"0T00:00:33","UptimeSec":33,"Heap":23,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"POWER":"ON","Dimmer":24,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"XXXX","BSSId":"35:EE:88:CC:34:CC","Channel":3,"Mode":"11n","RSSI":100,"Signal":-49,"LinkCount":1,"Downtime":"0T00:00:04"}}}
11:16:50.938 TYA: Dim Delay 0 -> 0.
11:16:50.956 TYA: Send "55aa00060008020200040000000f24"
11:16:50.962 TYA: s 11 -> 12 - sends 19, rxs 137
11:16:50.973 TYA: s 12 -> 11 - sends 19, rxs 138
11:16:50.976 {"TuyaReceived":{"Data":"55AA03070008020200040000000F28","Cmnd":7,"CmndData":"020200040000000F","DpType2Id2":15,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000000F"}}}
11:16:50.979 TYA: Valid DP 2 type 2 (val) mcuval 15 desired 15 setflag 0 rxed 1
11:16:50.981 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:50.984 TYA: fnId=21 RX value 15 from dpId 2 
11:16:51.086 CFG: Saved to flash at FB, Count 3099, Bytes 4096
11:16:52.691 SRC: WebGui from xxx.xxx.xxx.xxx1
11:16:52.694 CMD: Grp 0, Cmd 'DIMMER', Idx 1, Len 2, Pld 41, Data '41'
11:16:52.698 TYA: setchannels
11:16:52.701 TYA: DP 2 desiredvalue set (0x13000000 len 4)
11:16:52.703 TYA: set of dpid 2 to 19 requested
11:16:52.705 TYA: Valid DP 2 type 2 (val) mcuval 15 desired 19 setflag 1 rxed 1
11:16:52.707 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:52.724 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":41}
11:16:52.782 TYA: Dim command 0 deferred for 200ms
11:16:52.946 TYA: Dim Delay 0 -> 0.
11:16:52.964 TYA: Send "55aa00060008020200040000001328"
11:16:52.974 TYA: s 11 -> 12 - sends 20, rxs 138
11:16:52.980 TYA: s 12 -> 11 - sends 20, rxs 139
11:16:52.983 {"TuyaReceived":{"Data":"55AA0307000802020004000000132C","Cmnd":7,"CmndData":"0202000400000013","DpType2Id2":19,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000013"}}}
11:16:52.985 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 19 setflag 0 rxed 1
11:16:52.987 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:52.989 TYA: fnId=21 RX value 19 from dpId 2 
11:16:52.991 SRC: Switch
11:16:52.993 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 39, Data '39'
11:16:52.997 TYA: setchannels
11:16:53.017 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":39}
11:16:53.082 CFG: Saved to flash at FA, Count 3100, Bytes 4096
11:16:56.347 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
11:16:56.349 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
11:16:56.352 {"TuyaReceived":{"Data":"55AA03070008020200040000000A23","Cmnd":7,"CmndData":"020200040000000A","DpType2Id2":10,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000000A"}}}
11:16:56.354 TYA: Valid DP 2 type 2 (val) mcuval 10 desired 19 setflag 0 rxed 1
11:16:56.357 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
11:16:56.359 TYA: fnId=21 RX value 10 from dpId 2 
11:16:56.422 CFG: Saved to flash at F9, Count 3101, Bytes 4096
11:16:56.451 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
11:16:56.453 TYA: Valid DP 2 type 2 (val) mcuval 10 desired 19 setflag 0 rxed 1
11:16:56.455 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
11:16:56.457 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
11:16:56.461 {"TuyaReceived":{"Data":"55AA03070008020200040000000922","Cmnd":7,"CmndData":"0202000400000009","DpType2Id2":9,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000009"}}}
11:16:56.464 TYA: Valid DP 2 type 2 (val) mcuval 9 desired 19 setflag 0 rxed 1
11:16:56.466 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
11:16:56.468 TYA: fnId=21 RX value 9 from dpId 2 
11:16:56.472 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
11:16:56.475 TYA: Valid DP 2 type 2 (val) mcuval 9 desired 19 setflag 0 rxed 1
11:16:56.477 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
11:16:56.478 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
11:16:56.482 {"TuyaReceived":{"Data":"55AA03070008020200040000000821","Cmnd":7,"CmndData":"0202000400000008","DpType2Id2":8,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000008"}}}
11:16:56.484 TYA: Valid DP 2 type 2 (val) mcuval 8 desired 19 setflag 0 rxed 1
11:16:56.487 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
11:16:56.488 TYA: fnId=21 RX value 8 from dpId 2 
11:16:56.498 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
11:16:56.501 TYA: Valid DP 2 type 2 (val) mcuval 8 desired 19 setflag 0 rxed 1
11:16:56.503 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
11:16:56.506 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
11:16:56.514 {"TuyaReceived":{"Data":"55AA03070008020200040000000720","Cmnd":7,"CmndData":"0202000400000007","DpType2Id2":7,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000007"}}}
11:16:56.517 TYA: Valid DP 2 type 2 (val) mcuval 7 desired 19 setflag 0 rxed 1
11:16:56.519 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
11:16:56.521 TYA: fnId=21 RX value 7 from dpId 2 
11:16:56.559 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
11:16:56.562 TYA: Valid DP 2 type 2 (val) mcuval 7 desired 19 setflag 0 rxed 1
11:16:56.564 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
11:16:56.566 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
11:16:56.574 {"TuyaReceived":{"Data":"55AA0307000802020004000000061F","Cmnd":7,"CmndData":"0202000400000006","DpType2Id2":6,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000006"}}}
11:16:56.578 TYA: Valid DP 2 type 2 (val) mcuval 6 desired 19 setflag 0 rxed 1
11:16:56.580 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
11:16:56.581 TYA: fnId=21 RX value 6 from dpId 2 
11:16:59.087 {"TuyaReceived":{"Data":"55AA0307000802020004000000112A","Cmnd":7,"CmndData":"0202000400000011","DpType2Id2":17,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000011"}}}
11:16:59.089 TYA: Valid DP 2 type 2 (val) mcuval 17 desired 11 setflag 0 rxed 1
11:16:59.091 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:59.094 TYA: fnId=21 RX value 17 from dpId 2 
11:16:59.095 SRC: Switch
11:16:59.098 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 31, Data '31'
11:16:59.102 TYA: setchannels
11:16:59.131 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":31}
11:16:59.134 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
11:16:59.137 TYA: Valid DP 2 type 2 (val) mcuval 17 desired 11 setflag 0 rxed 1
11:16:59.139 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:59.141 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
11:16:59.144 {"TuyaReceived":{"Data":"55AA0307000802020004000000122B","Cmnd":7,"CmndData":"0202000400000012","DpType2Id2":18,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000012"}}}
11:16:59.147 TYA: Valid DP 2 type 2 (val) mcuval 18 desired 11 setflag 0 rxed 1
11:16:59.149 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:59.151 TYA: fnId=21 RX value 18 from dpId 2 
11:16:59.153 SRC: Switch
11:16:59.156 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 35, Data '35'
11:16:59.160 TYA: setchannels
11:16:59.187 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":35}
11:16:59.190 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
11:16:59.193 TYA: Valid DP 2 type 2 (val) mcuval 18 desired 11 setflag 0 rxed 1
11:16:59.195 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:59.197 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
11:16:59.241 {"TuyaReceived":{"Data":"55AA0307000802020004000000132C","Cmnd":7,"CmndData":"0202000400000013","DpType2Id2":19,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000013"}}}
11:16:59.244 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
11:16:59.246 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:59.248 TYA: fnId=21 RX value 19 from dpId 2 
11:16:59.250 SRC: Switch
11:16:59.253 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 39, Data '39'
11:16:59.257 TYA: setchannels
11:16:59.283 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":39}
11:16:59.289 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
11:16:59.291 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
11:16:59.294 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:59.296 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
11:16:59.302 {"TuyaReceived":{"Data":"55AA0307000802020004000000132C","Cmnd":7,"CmndData":"0202000400000013","DpType2Id2":19,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000013"}}}
11:16:59.305 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
11:16:59.307 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
11:16:59.309 TYA: fnId=21 RX value 19 from dpId 2 
11:16:59.372 CFG: Saved to flash at F6, Count 3104, Bytes 4096
11:17:01.204 TYA: Dim Delay 0 -> 0.
11:17:01.507 TYA: s 11 -> 13 - sends 22, rxs 221
11:17:01.642 TYA: Send "55aa00000000ff"
11:17:01.644 TYA: s 13 -> 14 - sends 23, rxs 221
11:17:01.651 TYA: s 14 -> 11 - sends 23, rxs 222
11:17:01.653 {"TuyaReceived":{"Data":"55AA030000010104","Cmnd":0,"CmndData":"01"}}

@btsimonh
Copy link
Owner Author

btsimonh commented Apr 9, 2022

@tzagim - thankyou so much for trying the modified software! It feels a bit like a pulling teeth to get people to test :(.
I'll check the log over tomorrow. What you describe is not necessarily unexpected - it is a complex thing with both tuya MCU and TAS trying to be in control of the dim value.
Could you get a log of the original software for comparison?

@btsimonh
Copy link
Owner Author

btsimonh commented Apr 9, 2022

p.s. enabled wiki (https://github.com/btsimonh/Tasmota/wiki) to document issues. We can edit as they are resolved....

@tzagim
Copy link

tzagim commented Apr 9, 2022

@btsimonh You're right, people are afraid of the unknown.
Ok, I checked the old software again (Version 10).
It returns to action at the same intensity of brightness or less.
The dimmer knows what the brightness intensity was the last time it was turned on, see the log I attached above.

EDIT:
I'm not sure which behavior is better.
Since in the old version there is also a problem with the light brightness, it seems to me that full brightness is better than minimal brightness.

@btsimonh
Copy link
Owner Author

@tzagim - I added a device page for your dev in the wiki, and copied the log and comments there. Have a quick check to ensure it says what you want it to say.
If you get a moment, read through the other wiki pages I created - e.g. testing strategy.
The specifics of what dim level is used may be affected by setoption20 and setoption54 - you may want to try with them off, and then with them on. I'm no expert on those though. I'm suggesting we all test with them off for the moment.

@btsimonh
Copy link
Owner Author

Testing binaries moved to https://github.com/btsimonh/Tasmota/wiki/Current-Binaries

@btsimonh
Copy link
Owner Author

@tzagim - looking at your log, it's very helpful.

11:16:34.672 TYA: Reset by char timeout - i think this is caused by the MQTT stat messages above taking so long. I will increase the character timeout to 500ms, hopefully this will be enough.

I think you have setoption54 on. You may wish to try with setoption54 off. pls confirm using setoption54 on it's own...

@tzagim
Copy link

tzagim commented Apr 11, 2022

Sorry for the delay in response, I had a very busy day.
I have now installed the latest version (2022-04-10T11:15:18).

Setoption20 and setoption54 have not been enabled.

I think together with you, maybe you should set when it changes from off to on, that it will set after a few ms the brightness intensity again?

This is my original configuration:

{"NAME":"Avatto Dimmer Switch","GPIO":[0,0,0,0,0,0,0,0,0,0,290,0,0,0],"FLAG":0,"BASE":54,"CMND":"TuyaMCU 21,2||DimmerRange 10,30"}
rule1 ON Dimmer#State<35 DO Dimmer 35 ENDON

EDIT: update my log with WebLog 4

Log with Setoption 20 & 54
07:42:01.591 MQT: stat/dimmer_salon/RESULT = {"SerialLog":{"0":{"Active":"0"}}}
07:42:01.599 MQT: stat/dimmer_salon/RESULT = {"WebLog":4}
07:42:01.602 SRC: Backlog
07:42:01.605 CMD: Grp 0, Cmd 'MQTTLOG', Idx 1, Len 1, Pld 4, Data '4'
07:42:01.608 MQT: stat/dimmer_salon/RESULT = {"MqttLog":4}
07:42:01.611 SRC: Backlog
07:42:01.614 CMD: Grp 0, Cmd 'SYSLOG', Idx 1, Len 1, Pld 4, Data '4'
07:42:01.617 MQT: stat/dimmer_salon/RESULT = {"SysLog":{"4":{"Active":"4"}}}
07:42:01.620 SRC: Backlog
07:42:01.623 CMD: Grp 0, Cmd 'LOGHOST', Idx 1, Len 1, Pld 1, Data '1'
07:42:01.625 CFG: CR 407/699, Busy 0
07:42:01.629 MQT: stat/dimmer_salon/RESULT = {"LogHost":""}
07:42:01.632 SRC: Backlog
07:42:01.634 CMD: Grp 0, Cmd 'LOGPORT', Idx 1, Len 3, Pld 514, Data '514'
07:42:01.640 MQT: stat/dimmer_salon/RESULT = {"LogPort":514}
07:42:01.645 SRC: Backlog
07:42:01.648 CMD: Grp 0, Cmd 'TELEPERIOD', Idx 1, Len 3, Pld 300, Data '300'
07:42:01.653 MQT: stat/dimmer_salon/RESULT = {"TelePeriod":300}
07:42:01.807 CFG: Saved to flash at FB, Count 3308, Bytes 4096
07:42:02.469 MQT: tele/dimmer_salon/STATE = {"Time":"2022-04-11T07:42:02","Uptime":"0T00:48:36","UptimeSec":2916,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":25,"MqttCount":1,"POWER":"OFF","Dimmer":6,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"XXXX","BSSId":"35:EE:88:CC:34:CC","Channel":3,"Mode":"11n","RSSI":100,"Signal":-47,"LinkCount":1,"Downtime":"0T00:00:03"}}
07:42:02.633 HTP: Main Menu
07:42:04.026 HTP: Console
07:42:06.953 WIF: Checking connection...
07:42:09.484 TYA: s 11 -> 13 - sends 291, rxs 980
07:42:09.591 TYA: Send "55aa00000000ff"
07:42:09.593 TYA: s 13 -> 14 - sends 292, rxs 980
07:42:09.600 TYA: s 14 -> 11 - sends 292, rxs 981
07:42:09.602 {"TuyaReceived":{"Data":"55AA030000010104","Cmnd":0,"CmndData":"01"}}
07:42:09.604 TYA: Heartbeat
07:42:19.209 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:42:19.211 TYA: Valid DP 2 type 2 (val) mcuval 16 desired 11 setflag 0 rxed 1
07:42:19.214 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:42:19.216 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:42:19.218 {"TuyaReceived":{"Data":"55AA0307000802020004000000112A","Cmnd":7,"CmndData":"0202000400000011","DpType2Id2":17,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000011"}}}
07:42:19.221 TYA: Valid DP 2 type 2 (val) mcuval 17 desired 11 setflag 0 rxed 1
07:42:19.223 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:42:19.226 TYA: fnId=21 RX value 17 from dpId 2 
07:42:19.227 SRC: Switch
07:42:19.230 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 31, Data '31'
07:42:19.234 TYA: setchannels
07:42:19.285 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":31}
07:42:19.288 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:42:19.291 TYA: Valid DP 2 type 2 (val) mcuval 17 desired 11 setflag 0 rxed 1
07:42:19.293 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:42:19.295 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:42:19.300 {"TuyaReceived":{"Data":"55AA0307000802020004000000122B","Cmnd":7,"CmndData":"0202000400000012","DpType2Id2":18,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000012"}}}
07:42:19.303 TYA: Valid DP 2 type 2 (val) mcuval 18 desired 11 setflag 0 rxed 1
07:42:19.305 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:42:19.308 TYA: fnId=21 RX value 18 from dpId 2 
07:42:19.309 SRC: Switch
07:42:19.312 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 35, Data '35'
07:42:19.316 TYA: setchannels
07:42:19.359 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":35}
07:42:19.363 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:42:19.366 TYA: Valid DP 2 type 2 (val) mcuval 18 desired 11 setflag 0 rxed 1
07:42:19.368 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:42:19.370 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:42:19.375 {"TuyaReceived":{"Data":"55AA0307000802020004000000132C","Cmnd":7,"CmndData":"0202000400000013","DpType2Id2":19,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000013"}}}
07:42:19.378 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
07:42:19.380 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:42:19.383 TYA: fnId=21 RX value 19 from dpId 2 
07:42:19.384 SRC: Switch
07:42:19.387 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 39, Data '39'
07:42:19.392 TYA: setchannels
07:42:19.438 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":39}
07:42:19.444 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:42:19.447 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
07:42:19.449 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:42:19.451 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:42:19.454 {"TuyaReceived":{"Data":"55AA0307000802020004000000132C","Cmnd":7,"CmndData":"0202000400000013","DpType2Id2":19,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000013"}}}
07:42:19.457 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
07:42:19.459 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:42:19.461 TYA: fnId=21 RX value 19 from dpId 2 
07:42:19.525 CFG: Saved to flash at FA, Count 3309, Bytes 4096
07:42:20.483 TYA: s 11 -> 13 - sends 293, rxs 1022
07:42:20.592 TYA: Send "55aa00000000ff"
07:42:20.593 TYA: s 13 -> 14 - sends 294, rxs 1022
07:42:20.601 TYA: s 14 -> 11 - sends 294, rxs 1023
07:42:20.603 {"TuyaReceived":{"Data":"55AA030000010104","Cmnd":0,"CmndData":"01"}}
07:42:20.605 TYA: Heartbeat
07:42:21.485 TYA: Dim Delay 0 -> 0.
07:42:26.166 SRC: WebGui from xxx.xxx.xxx.xxx
07:42:26.169 CMD: Grp 0, Cmd 'DIMMER', Idx 1, Len 2, Pld 97, Data '97'
07:42:26.176 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":97}
07:42:26.252 TYA: setchannels
07:42:26.254 TYA: DP 2 desiredvalue set (0x21000000 len 4)
07:42:26.256 TYA: set of dpid 2 to 33 requested
07:42:26.258 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 33 setflag 1 rxed 1
07:42:26.260 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:42:26.309 TYA: Send "55aa00060008020200040000002136"
07:42:26.316 TYA: s 11 -> 12 - sends 295, rxs 1023
07:42:26.325 TYA: s 12 -> 11 - sends 295, rxs 1024
07:42:26.328 {"TuyaReceived":{"Data":"55AA0307000802020004000000213A","Cmnd":7,"CmndData":"0202000400000021","DpType2Id2":33,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000021"}}}
07:42:26.331 TYA: Valid DP 2 type 2 (val) mcuval 33 desired 33 setflag 0 rxed 1
07:42:26.333 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:42:26.335 TYA: fnId=21 RX value 33 from dpId 2 
07:42:26.337 SRC: Switch
07:42:26.340 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 3, Pld 100, Data '100'
07:42:26.344 TYA: setchannels
07:42:26.387 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":100}
07:42:26.544 CFG: Saved to flash at F9, Count 3310, Bytes 4096
07:42:27.405 WIF: Sending Gratuitous ARP
07:42:27.685 SRC: WebGui from xxx.xxx.xxx.xxx
07:42:27.688 CMD: Grp 0, Cmd 'DIMMER', Idx 1, Len 2, Pld 59, Data '59'
07:42:27.694 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":59}
07:42:27.754 TYA: setchannels
07:42:27.757 TYA: DP 2 desiredvalue set (0x18000000 len 4)
07:42:27.759 TYA: set of dpid 2 to 24 requested
07:42:27.761 TYA: Valid DP 2 type 2 (val) mcuval 33 desired 24 setflag 1 rxed 1
07:42:27.762 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:42:27.808 TYA: Dim command 0 deferred for 600ms
07:42:27.811 WIF: Checking connection...
07:42:28.387 TYA: Dim Delay 0 -> 0.
07:42:28.405 TYA: Send "55aa0006000802020004000000182d"
07:42:28.425 TYA: s 11 -> 12 - sends 296, rxs 1024
07:42:28.435 TYA: s 12 -> 11 - sends 296, rxs 1025
07:42:28.437 {"TuyaReceived":{"Data":"55AA03070008020200040000001831","Cmnd":7,"CmndData":"0202000400000018","DpType2Id2":24,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000018"}}}
07:42:28.440 TYA: Valid DP 2 type 2 (val) mcuval 24 desired 24 setflag 0 rxed 1
07:42:28.442 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:42:28.445 TYA: fnId=21 RX value 24 from dpId 2 
07:42:28.446 SRC: Switch
07:42:28.449 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 61, Data '61'
07:42:28.454 TYA: setchannels
07:42:28.489 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":61}
07:42:28.557 CFG: Saved to flash at F8, Count 3311, Bytes 4096
07:42:28.660 SRC: WebGui from xxx.xxx.xxx.xxx
07:42:28.663 CMD: Grp 0, Cmd 'DIMMER', Idx 1, Len 2, Pld 40, Data '40'
07:42:28.670 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":40}
07:42:28.735 TYA: setchannels
07:42:28.737 TYA: DP 2 desiredvalue set (0x13000000 len 4)
07:42:28.739 TYA: set of dpid 2 to 19 requested
07:42:28.741 TYA: Valid DP 2 type 2 (val) mcuval 24 desired 19 setflag 1 rxed 1
07:42:28.743 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:42:28.787 TYA: Dim command 0 deferred for 1700ms
07:42:31.712 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
07:42:31.714 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:42:31.717 {"TuyaReceived":{"Data":"55AA0307000802020004000000021B","Cmnd":7,"CmndData":"0202000400000002","DpType2Id2":2,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000002"}}}
07:42:31.720 TYA: Valid DP 2 type 2 (val) mcuval 2 desired 19 setflag 0 rxed 1
07:42:31.721 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
07:42:31.723 TYA: fnId=21 RX value 2 from dpId 2 
07:42:31.987 CFG: Saved to flash at F6, Count 3313, Bytes 4096
07:42:34.039 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":48}
07:42:34.043 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:42:34.046 TYA: Valid DP 2 type 2 (val) mcuval 21 desired 11 setflag 0 rxed 1
07:42:34.048 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:42:34.050 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:42:34.055 {"TuyaReceived":{"Data":"55AA0307000802020004000000162F","Cmnd":7,"CmndData":"0202000400000016","DpType2Id2":22,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000016"}}}
07:42:34.058 TYA: Valid DP 2 type 2 (val) mcuval 22 desired 11 setflag 0 rxed 1
07:42:34.060 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:42:34.062 TYA: fnId=21 RX value 22 from dpId 2 
07:42:34.064 SRC: Switch
07:42:34.067 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 52, Data '52'
07:42:34.071 TYA: setchannels
07:42:34.117 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":52}
07:42:34.120 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:42:34.123 TYA: Valid DP 2 type 2 (val) mcuval 22 desired 11 setflag 0 rxed 1
07:42:34.125 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:42:34.127 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:42:34.132 {"TuyaReceived":{"Data":"55AA03070008020200040000001730","Cmnd":7,"CmndData":"0202000400000017","DpType2Id2":23,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000017"}}}
07:42:34.135 TYA: Valid DP 2 type 2 (val) mcuval 23 desired 11 setflag 0 rxed 1
07:42:34.137 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:42:34.140 TYA: fnId=21 RX value 23 from dpId 2 
07:42:34.142 SRC: Switch
07:42:34.144 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 56, Data '56'
07:42:34.149 TYA: setchannels
07:42:34.208 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":56}
07:42:34.212 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:42:34.215 TYA: Valid DP 2 type 2 (val) mcuval 23 desired 11 setflag 0 rxed 1
07:42:34.217 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:42:34.219 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:42:34.224 {"TuyaReceived":{"Data":"55AA03070008020200040000001831","Cmnd":7,"CmndData":"0202000400000018","DpType2Id2":24,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000018"}}}
07:42:34.227 TYA: Valid DP 2 type 2 (val) mcuval 24 desired 11 setflag 0 rxed 1
07:42:34.229 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:42:34.231 TYA: fnId=21 RX value 24 from dpId 2 
07:42:34.233 SRC: Switch
07:42:34.236 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 61, Data '61'
07:42:34.240 TYA: setchannels
07:42:34.294 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":61}
07:42:34.298 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:42:34.301 TYA: Valid DP 2 type 2 (val) mcuval 24 desired 11 setflag 0 rxed 1
07:42:34.303 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:42:34.305 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:42:34.308 {"TuyaReceived":{"Data":"55AA03070008020200040000001831","Cmnd":7,"CmndData":"0202000400000018","DpType2Id2":24,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000018"}}}
07:42:34.310 TYA: Valid DP 2 type 2 (val) mcuval 24 desired 11 setflag 0 rxed 1
07:42:34.313 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:42:34.315 TYA: fnId=21 RX value 24 from dpId 2 
07:42:35.135 CFG: Saved to flash at F5, Count 3314, Bytes 4096
07:42:36.226 TYA: Dim Delay 0 -> 0.
07:42:43.811 TYA: Valid DP 2 type 2 (val) mcuval 1 desired 11 setflag 0 rxed 1
07:42:43.813 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
07:42:43.815 TYA: fnId=21 RX value 1 from dpId 2 
07:42:43.819 {"TuyaReceived":{"Data":"55AA03070005010100010011","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
07:42:43.821 TYA: Valid DP 2 type 2 (val) mcuval 1 desired 11 setflag 0 rxed 1
07:42:43.824 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
07:42:43.825 TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:On
07:42:43.827 SRC: Switch
07:42:43.829 TYA: setchannels
07:42:43.831 TYA: DP 2 desiredvalue set (0x0b000000 len 4)
07:42:43.833 TYA: set of dpid 2 to 11 requested
07:42:43.835 TYA: Valid DP 2 type 2 (val) mcuval 1 desired 11 setflag 1 rxed 1
07:42:43.837 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
07:42:43.914 TYA: rpower 0 val 0 dpid 1 ignored src 4 dev 0
07:42:43.923 MQT: stat/dimmer_salon/RESULT = {"POWER":"OFF"}
07:42:43.927 MQT: stat/dimmer_salon/POWER = OFF
07:42:43.930 {"TuyaReceived":{"Data":"55AA03070008020200040000000019","Cmnd":7,"CmndData":"0202000400000000","DpType2Id2":0,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000000"}}}
07:42:43.933 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 1 rxed 1
07:42:43.935 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
07:42:43.937 TYA: fnId=21 RX value 0 from dpId 2 
07:42:43.940 {"TuyaReceived":{"Data":"55AA03070005010100010011","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
07:42:43.942 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 1 rxed 1
07:42:43.944 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
07:42:43.946 TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
07:42:43.949 {"TuyaReceived":{"Data":"55AA03070008020200040000000019","Cmnd":7,"CmndData":"0202000400000000","DpType2Id2":0,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000000"}}}
07:42:43.952 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 1 rxed 1
07:42:43.953 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
07:42:43.955 TYA: fnId=21 RX value 0 from dpId 2 
07:42:43.969 TYA: Send "55aa00000000ff"
07:42:43.970 TYA: s 13 -> 14 - sends 301, rxs 1179
07:42:43.978 TYA: s 14 -> 11 - sends 301, rxs 1180
07:42:43.980 {"TuyaReceived":{"Data":"55AA030000010104","Cmnd":0,"CmndData":"01"}}
07:42:43.982 TYA: Heartbeat
07:42:44.080 TYA: Dim command 0 deferred for 1800ms
07:42:46.301 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:42:46.304 TYA: Valid DP 2 type 2 (val) mcuval 23 desired 11 setflag 0 rxed 1
07:42:46.306 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:42:46.308 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:42:46.312 {"TuyaReceived":{"Data":"55AA03070008020200040000001831","Cmnd":7,"CmndData":"0202000400000018","DpType2Id2":24,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000018"}}}
07:42:46.315 TYA: Valid DP 2 type 2 (val) mcuval 24 desired 11 setflag 0 rxed 1
07:42:46.317 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:42:46.320 TYA: fnId=21 RX value 24 from dpId 2 
07:42:46.321 SRC: Switch
07:42:46.324 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 61, Data '61'
07:42:46.328 TYA: setchannels
07:42:46.374 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":61}
07:42:46.378 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:42:46.381 TYA: Valid DP 2 type 2 (val) mcuval 24 desired 11 setflag 0 rxed 1
07:42:46.383 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:42:46.385 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:42:46.389 {"TuyaReceived":{"Data":"55AA03070008020200040000001831","Cmnd":7,"CmndData":"0202000400000018","DpType2Id2":24,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000018"}}}
07:42:46.392 TYA: Valid DP 2 type 2 (val) mcuval 24 desired 11 setflag 0 rxed 1
07:42:46.394 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:42:46.396 TYA: fnId=21 RX value 24 from dpId 2 
07:42:46.717 CFG: Saved to flash at FB, Count 3316, Bytes 4096
07:42:48.309 TYA: Dim Delay 0 -> 0.
07:42:52.910 WIF: Checking connection...
07:42:55.415 TYA: s 11 -> 13 - sends 302, rxs 1231
07:42:55.523 TYA: Send "55aa00000000ff"
07:42:55.525 TYA: s 13 -> 14 - sends 303, rxs 1231
07:42:55.532 TYA: s 14 -> 11 - sends 303, rxs 1232
07:42:55.534 {"TuyaReceived":{"Data":"55AA030000010104","Cmnd":0,"CmndData":"01"}}
07:42:55.536 TYA: Heartbeat
07:43:02.180 TYA: Valid DP 2 type 2 (val) mcuval 8 desired 11 setflag 0 rxed 1
07:43:02.182 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
07:43:02.184 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:43:02.187 {"TuyaReceived":{"Data":"55AA03070008020200040000000720","Cmnd":7,"CmndData":"0202000400000007","DpType2Id2":7,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000007"}}}
07:43:02.189 TYA: Valid DP 2 type 2 (val) mcuval 7 desired 11 setflag 0 rxed 1
07:43:02.192 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
07:43:02.194 TYA: fnId=21 RX value 7 from dpId 2 
07:43:02.196 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:43:02.199 TYA: Valid DP 2 type 2 (val) mcuval 7 desired 11 setflag 0 rxed 1
07:43:02.200 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
07:43:02.203 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:43:02.206 {"TuyaReceived":{"Data":"55AA0307000802020004000000061F","Cmnd":7,"CmndData":"0202000400000006","DpType2Id2":6,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000006"}}}
07:43:02.209 TYA: Valid DP 2 type 2 (val) mcuval 6 desired 11 setflag 0 rxed 1
07:43:02.211 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
07:43:02.213 TYA: fnId=21 RX value 6 from dpId 2 
07:43:02.215 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:43:02.218 TYA: Valid DP 2 type 2 (val) mcuval 6 desired 11 setflag 0 rxed 1
07:43:02.220 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
07:43:02.222 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:43:02.225 {"TuyaReceived":{"Data":"55AA0307000802020004000000051E","Cmnd":7,"CmndData":"0202000400000005","DpType2Id2":5,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000005"}}}
07:43:02.227 TYA: Valid DP 2 type 2 (val) mcuval 5 desired 11 setflag 0 rxed 1
07:43:02.230 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
07:43:02.231 TYA: fnId=21 RX value 5 from dpId 2 
07:43:02.234 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:43:02.237 TYA: Valid DP 2 type 2 (val) mcuval 5 desired 11 setflag 0 rxed 1
07:43:02.239 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
07:43:02.241 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:43:02.243 {"TuyaReceived":{"Data":"55AA0307000802020004000000041D","Cmnd":7,"CmndData":"0202000400000004","DpType2Id2":4,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000004"}}}
07:43:02.246 TYA: Valid DP 2 type 2 (val) mcuval 4 desired 11 setflag 0 rxed 1
07:43:02.248 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
07:43:02.250 TYA: fnId=21 RX value 4 from dpId 2 
07:43:02.253 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:43:02.256 TYA: Valid DP 2 type 2 (val) mcuval 4 desired 11 setflag 0 rxed 1
07:43:02.258 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
07:43:02.260 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:43:02.262 {"TuyaReceived":{"Data":"55AA0307000802020004000000031C","Cmnd":7,"CmndData":"0202000400000003","DpType2Id2":3,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000003"}}}
07:43:02.265 TYA: Valid DP 2 type 2 (val) mcuval 3 desired 11 setflag 0 rxed 1
07:43:02.267 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
07:43:02.269 TYA: fnId=21 RX value 3 from dpId 2 
07:43:05.248 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":48}
07:43:05.252 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:43:05.255 TYA: Valid DP 2 type 2 (val) mcuval 21 desired 11 setflag 0 rxed 1
07:43:05.257 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:05.259 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:43:05.263 {"TuyaReceived":{"Data":"55AA0307000802020004000000162F","Cmnd":7,"CmndData":"0202000400000016","DpType2Id2":22,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000016"}}}
07:43:05.265 TYA: Valid DP 2 type 2 (val) mcuval 22 desired 11 setflag 0 rxed 1
07:43:05.267 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:05.270 TYA: fnId=21 RX value 22 from dpId 2 
07:43:05.272 SRC: Switch
07:43:05.274 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 52, Data '52'
07:43:05.279 TYA: setchannels
07:43:05.338 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":52}
07:43:05.342 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:43:05.345 TYA: Valid DP 2 type 2 (val) mcuval 22 desired 11 setflag 0 rxed 1
07:43:05.347 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:05.349 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:43:05.351 {"TuyaReceived":{"Data":"55AA03070008020200040000001730","Cmnd":7,"CmndData":"0202000400000017","DpType2Id2":23,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000017"}}}
07:43:05.354 TYA: Valid DP 2 type 2 (val) mcuval 23 desired 11 setflag 0 rxed 1
07:43:05.356 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:05.359 TYA: fnId=21 RX value 23 from dpId 2 
07:43:05.360 SRC: Switch
07:43:05.363 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 56, Data '56'
07:43:05.367 TYA: setchannels
07:43:05.412 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":56}
07:43:05.418 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:43:05.420 TYA: Valid DP 2 type 2 (val) mcuval 23 desired 11 setflag 0 rxed 1
07:43:05.423 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:05.425 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:43:05.428 {"TuyaReceived":{"Data":"55AA03070008020200040000001831","Cmnd":7,"CmndData":"0202000400000018","DpType2Id2":24,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000018"}}}
07:43:05.431 TYA: Valid DP 2 type 2 (val) mcuval 24 desired 11 setflag 0 rxed 1
07:43:05.433 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:05.436 TYA: fnId=21 RX value 24 from dpId 2 
07:43:05.437 SRC: Switch
07:43:05.440 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 61, Data '61'
07:43:05.444 TYA: setchannels
07:43:05.489 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":61}
07:43:05.492 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:43:05.495 TYA: Valid DP 2 type 2 (val) mcuval 24 desired 11 setflag 0 rxed 1
07:43:05.497 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:05.499 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:43:05.503 {"TuyaReceived":{"Data":"55AA03070008020200040000001831","Cmnd":7,"CmndData":"0202000400000018","DpType2Id2":24,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000018"}}}
07:43:05.506 TYA: Valid DP 2 type 2 (val) mcuval 24 desired 11 setflag 0 rxed 1
07:43:05.508 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:05.510 TYA: fnId=21 RX value 24 from dpId 2 
07:43:06.328 CFG: Saved to flash at F8, Count 3319, Bytes 4096
07:43:07.417 TYA: Dim Delay 0 -> 0.
07:43:08.522 TYA: s 11 -> 13 - sends 305, rxs 1334
07:43:08.621 TYA: Send "55aa00000000ff"
07:43:08.623 TYA: s 13 -> 14 - sends 306, rxs 1334
07:43:08.630 TYA: s 14 -> 11 - sends 306, rxs 1335
07:43:08.632 {"TuyaReceived":{"Data":"55AA030000010104","Cmnd":0,"CmndData":"01"}}
07:43:08.634 TYA: Heartbeat
07:43:11.208 SRC: WebGui from xxx.xxx.xxx.xxx
07:43:11.211 CMD: Grp 0, Cmd 'DIMMER', Idx 1, Len 2, Pld 69, Data '69'
07:43:11.218 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":69}
07:43:11.279 TYA: setchannels
07:43:11.281 TYA: DP 2 desiredvalue set (0x1a000000 len 4)
07:43:11.283 TYA: set of dpid 2 to 26 requested
07:43:11.285 TYA: Valid DP 2 type 2 (val) mcuval 24 desired 26 setflag 1 rxed 1
07:43:11.287 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:11.344 TYA: Send "55aa00060008020200040000001a2f"
07:43:11.352 TYA: s 11 -> 12 - sends 307, rxs 1335
07:43:11.417 CFG: Saved to flash at F7, Count 3320, Bytes 4096
07:43:11.435 TYA: s 12 -> 11 - sends 307, rxs 1336
07:43:11.438 {"TuyaReceived":{"Data":"55AA03070008020200040000001A33","Cmnd":7,"CmndData":"020200040000001A","DpType2Id2":26,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000001A"}}}
07:43:11.441 TYA: Valid DP 2 type 2 (val) mcuval 26 desired 26 setflag 0 rxed 1
07:43:11.443 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:11.445 TYA: fnId=21 RX value 26 from dpId 2 
07:43:13.319 TYA: Dim Delay 0 -> 0.
07:43:13.617 SRC: WebGui from xxx.xxx.xxx.xxx
07:43:13.620 CMD: Grp 0, Cmd 'DIMMER', Idx 1, Len 2, Pld 15, Data '15'
07:43:13.626 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":15}
07:43:13.693 TYA: setchannels
07:43:13.695 TYA: DP 2 desiredvalue set (0x0d000000 len 4)
07:43:13.696 TYA: set of dpid 2 to 13 requested
07:43:13.699 TYA: Valid DP 2 type 2 (val) mcuval 26 desired 13 setflag 1 rxed 1
07:43:13.701 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:13.751 TYA: Send "55aa00060008020200040000000d22"
07:43:13.758 TYA: s 11 -> 12 - sends 308, rxs 1336
07:43:13.768 TYA: s 12 -> 11 - sends 308, rxs 1337
07:43:13.770 {"TuyaReceived":{"Data":"55AA03070008020200040000000D26","Cmnd":7,"CmndData":"020200040000000D","DpType2Id2":13,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000000D"}}}
07:43:13.773 TYA: Valid DP 2 type 2 (val) mcuval 13 desired 13 setflag 0 rxed 1
07:43:13.776 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:13.778 TYA: fnId=21 RX value 13 from dpId 2 
07:43:14.332 CFG: Saved to flash at F6, Count 3321, Bytes 4096
07:43:17.911 TYA: Valid DP 2 type 2 (val) mcuval 10 desired 15 setflag 0 rxed 1
07:43:17.913 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
07:43:17.915 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:43:17.919 {"TuyaReceived":{"Data":"55AA03070008020200040000000922","Cmnd":7,"CmndData":"0202000400000009","DpType2Id2":9,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000009"}}}
07:43:17.922 TYA: Valid DP 2 type 2 (val) mcuval 9 desired 15 setflag 0 rxed 1
07:43:17.924 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
07:43:17.926 TYA: fnId=21 RX value 9 from dpId 2 
07:43:17.929 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:43:17.932 TYA: Valid DP 2 type 2 (val) mcuval 9 desired 15 setflag 0 rxed 1
07:43:17.934 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
07:43:17.936 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:43:17.939 {"TuyaReceived":{"Data":"55AA03070008020200040000000821","Cmnd":7,"CmndData":"0202000400000008","DpType2Id2":8,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000008"}}}
07:43:17.941 TYA: Valid DP 2 type 2 (val) mcuval 8 desired 15 setflag 0 rxed 1
07:43:17.943 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
07:43:17.945 TYA: fnId=21 RX value 8 from dpId 2 
07:43:17.948 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:43:17.951 TYA: Valid DP 2 type 2 (val) mcuval 8 desired 15 setflag 0 rxed 1
07:43:17.953 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
07:43:17.955 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:43:17.958 {"TuyaReceived":{"Data":"55AA03070008020200040000000720","Cmnd":7,"CmndData":"0202000400000007","DpType2Id2":7,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000007"}}}
07:43:17.960 TYA: Valid DP 2 type 2 (val) mcuval 7 desired 15 setflag 0 rxed 1
07:43:17.962 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
07:43:17.964 TYA: fnId=21 RX value 7 from dpId 2 
07:43:17.967 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:43:17.970 TYA: Valid DP 2 type 2 (val) mcuval 7 desired 15 setflag 0 rxed 1
07:43:17.971 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
07:43:17.974 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:43:17.976 {"TuyaReceived":{"Data":"55AA0307000802020004000000061F","Cmnd":7,"CmndData":"0202000400000006","DpType2Id2":6,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000006"}}}
07:43:17.979 TYA: Valid DP 2 type 2 (val) mcuval 6 desired 15 setflag 0 rxed 1
07:43:17.982 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
07:43:17.983 TYA: fnId=21 RX value 6 from dpId 2 
07:43:17.986 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:43:17.989 TYA: Valid DP 2 type 2 (val) mcuval 6 desired 15 setflag 0 rxed 1
07:43:17.991 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
07:43:17.993 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:43:17.996 {"TuyaReceived":{"Data":"55AA0307000802020004000000051E","Cmnd":7,"CmndData":"0202000400000005","DpType2Id2":5,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000005"}}}
07:43:17.998 TYA: Valid DP 2 type 2 (val) mcuval 5 desired 15 setflag 0 rxed 1
07:43:17.000 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
07:43:17.002 TYA: fnId=21 RX value 5 from dpId 2 
07:43:18.360 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:43:18.363 {"TuyaReceived":{"Data":"55AA0307000802020004000000021B","Cmnd":7,"CmndData":"0202000400000002","DpType2Id2":2,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000002"}}}
07:43:18.365 TYA: Valid DP 2 type 2 (val) mcuval 2 desired 15 setflag 0 rxed 1
07:43:18.367 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
07:43:18.369 TYA: fnId=21 RX value 2 from dpId 2 
07:43:18.372 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:43:18.374 TYA: Valid DP 2 type 2 (val) mcuval 2 desired 15 setflag 0 rxed 1
07:43:18.376 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
07:43:18.378 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:43:18.381 {"TuyaReceived":{"Data":"55AA0307000802020004000000011A","Cmnd":7,"CmndData":"0202000400000001","DpType2Id2":1,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000001"}}}
07:43:18.384 TYA: Valid DP 2 type 2 (val) mcuval 1 desired 15 setflag 0 rxed 1
07:43:18.386 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
07:43:18.387 TYA: fnId=21 RX value 1 from dpId 2 
07:43:18.390 {"TuyaReceived":{"Data":"55AA03070005010100010011","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
07:43:18.392 TYA: Valid DP 2 type 2 (val) mcuval 1 desired 15 setflag 0 rxed 1
07:43:18.395 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
07:43:18.397 TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:On
07:43:18.398 SRC: Switch
07:43:18.400 TYA: setchannels
07:43:18.402 TYA: DP 2 desiredvalue set (0x0b000000 len 4)
07:43:18.404 TYA: set of dpid 2 to 11 requested
07:43:18.406 TYA: Valid DP 2 type 2 (val) mcuval 1 desired 11 setflag 1 rxed 1
07:43:18.408 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
07:43:18.547 TYA: rpower 0 val 0 dpid 1 ignored src 4 dev 0
07:43:18.555 MQT: stat/dimmer_salon/RESULT = {"POWER":"OFF"}
07:43:18.560 MQT: stat/dimmer_salon/POWER = OFF
07:43:18.563 TYA: Dim command 0 deferred for 2000ms
07:43:18.566 {"TuyaReceived":{"Data":"55AA03070008020200040000000019","Cmnd":7,"CmndData":"0202000400000000","DpType2Id2":0,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000000"}}}
07:43:18.569 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 1 rxed 1
07:43:18.570 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
07:43:18.573 TYA: fnId=21 RX value 0 from dpId 2 
07:43:18.576 {"TuyaReceived":{"Data":"55AA03070005010100010011","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
07:43:18.579 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 1 rxed 1
07:43:18.581 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
07:43:18.583 TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
07:43:18.586 {"TuyaReceived":{"Data":"55AA03070008020200040000000019","Cmnd":7,"CmndData":"0202000400000000","DpType2Id2":0,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000000"}}}
07:43:18.589 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 1 rxed 1
07:43:18.591 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
07:43:18.593 TYA: fnId=21 RX value 0 from dpId 2 
07:43:19.162 CFG: Saved to flash at FB, Count 3324, Bytes 4096
07:43:19.517 TYA: s 11 -> 13 - sends 310, rxs 1371
07:43:19.624 TYA: Send "55aa00000000ff"
07:43:19.626 TYA: s 13 -> 14 - sends 311, rxs 1371
07:43:19.633 TYA: s 14 -> 11 - sends 311, rxs 1372
07:43:19.635 {"TuyaReceived":{"Data":"55AA030000010104","Cmnd":0,"CmndData":"01"}}
07:43:19.637 TYA: Heartbeat
07:43:20.604 TYA: Dim Delay 0 -> 0.
07:43:22.813 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:22.815 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:43:22.824 {"TuyaReceived":{"Data":"55AA0307000802020004000000051E","Cmnd":7,"CmndData":"0202000400000005","DpType2Id2":5,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000005"}}}
07:43:22.827 TYA: Valid DP 2 type 2 (val) mcuval 5 desired 11 setflag 1 rxed 1
07:43:22.829 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:22.831 TYA: fnId=21 RX value 5 from dpId 2 
07:43:23.019 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:43:23.022 TYA: Valid DP 2 type 2 (val) mcuval 5 desired 11 setflag 1 rxed 1
07:43:23.024 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:23.026 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:43:23.028 {"TuyaReceived":{"Data":"55AA0307000802020004000000061F","Cmnd":7,"CmndData":"0202000400000006","DpType2Id2":6,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000006"}}}
07:43:23.031 TYA: Valid DP 2 type 2 (val) mcuval 6 desired 11 setflag 1 rxed 1
07:43:23.033 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:23.035 TYA: fnId=21 RX value 6 from dpId 2 
07:43:23.038 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:43:23.041 TYA: Valid DP 2 type 2 (val) mcuval 6 desired 11 setflag 1 rxed 1
07:43:23.043 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:23.045 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:43:23.048 {"TuyaReceived":{"Data":"55AA03070008020200040000000720","Cmnd":7,"CmndData":"0202000400000007","DpType2Id2":7,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000007"}}}
07:43:23.050 TYA: Valid DP 2 type 2 (val) mcuval 7 desired 11 setflag 1 rxed 1
07:43:23.052 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:23.054 TYA: fnId=21 RX value 7 from dpId 2 
07:43:23.057 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:43:23.059 TYA: Valid DP 2 type 2 (val) mcuval 7 desired 11 setflag 1 rxed 1
07:43:23.061 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:23.063 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:43:23.066 {"TuyaReceived":{"Data":"55AA03070008020200040000000821","Cmnd":7,"CmndData":"0202000400000008","DpType2Id2":8,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000008"}}}
07:43:23.069 TYA: Valid DP 2 type 2 (val) mcuval 8 desired 11 setflag 1 rxed 1
07:43:23.071 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:23.072 TYA: fnId=21 RX value 8 from dpId 2 
07:43:23.075 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:43:23.078 TYA: Valid DP 2 type 2 (val) mcuval 8 desired 11 setflag 1 rxed 1
07:43:23.080 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:23.082 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:43:23.085 {"TuyaReceived":{"Data":"55AA03070008020200040000000922","Cmnd":7,"CmndData":"0202000400000009","DpType2Id2":9,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000009"}}}
07:43:23.087 TYA: Valid DP 2 type 2 (val) mcuval 9 desired 11 setflag 1 rxed 1
07:43:23.089 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:23.091 TYA: fnId=21 RX value 9 from dpId 2 
07:43:23.259 CFG: Saved to flash at FA, Count 3325, Bytes 4096
07:43:23.555 TYA: Valid DP 2 type 2 (val) mcuval 12 desired 11 setflag 0 rxed 1
07:43:23.557 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:23.559 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:43:23.563 {"TuyaReceived":{"Data":"55AA03070008020200040000000D26","Cmnd":7,"CmndData":"020200040000000D","DpType2Id2":13,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000000D"}}}
07:43:23.566 TYA: Valid DP 2 type 2 (val) mcuval 13 desired 11 setflag 0 rxed 1
07:43:23.568 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:23.570 TYA: fnId=21 RX value 13 from dpId 2 
07:43:23.572 SRC: Switch
07:43:23.574 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 14, Data '14'
07:43:23.578 TYA: setchannels
07:43:23.624 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":14}
07:43:23.628 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:43:23.631 TYA: Valid DP 2 type 2 (val) mcuval 13 desired 11 setflag 0 rxed 1
07:43:23.633 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:23.635 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:43:23.640 {"TuyaReceived":{"Data":"55AA03070008020200040000000E27","Cmnd":7,"CmndData":"020200040000000E","DpType2Id2":14,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000000E"}}}
07:43:23.643 TYA: Valid DP 2 type 2 (val) mcuval 14 desired 11 setflag 0 rxed 1
07:43:23.645 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:23.647 TYA: fnId=21 RX value 14 from dpId 2 
07:43:23.649 SRC: Switch
07:43:23.651 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 18, Data '18'
07:43:23.656 TYA: setchannels
07:43:23.699 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":18}
07:43:23.704 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:43:23.707 TYA: Valid DP 2 type 2 (val) mcuval 14 desired 11 setflag 0 rxed 1
07:43:23.709 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:23.711 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:43:23.716 {"TuyaReceived":{"Data":"55AA03070008020200040000000F28","Cmnd":7,"CmndData":"020200040000000F","DpType2Id2":15,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000000F"}}}
07:43:23.719 TYA: Valid DP 2 type 2 (val) mcuval 15 desired 11 setflag 0 rxed 1
07:43:23.721 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:23.723 TYA: fnId=21 RX value 15 from dpId 2 
07:43:23.725 SRC: Switch
07:43:23.727 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 23, Data '23'
07:43:23.731 TYA: setchannels
07:43:23.777 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":23}
07:43:23.781 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:43:23.784 TYA: Valid DP 2 type 2 (val) mcuval 15 desired 11 setflag 0 rxed 1
07:43:23.786 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:23.788 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:43:23.793 {"TuyaReceived":{"Data":"55AA03070008020200040000000F28","Cmnd":7,"CmndData":"020200040000000F","DpType2Id2":15,"2":{"DpId":2,"DpIdType":2,"DpIdData":"0000000F"}}}
07:43:23.796 TYA: Valid DP 2 type 2 (val) mcuval 15 desired 11 setflag 0 rxed 1
07:43:23.798 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:23.801 TYA: fnId=21 RX value 15 from dpId 2 
07:43:24.417 CFG: Saved to flash at F9, Count 3326, Bytes 4096
07:43:25.713 TYA: Dim Delay 0 -> 0.
07:43:26.466 SRC: WebGui from xxx.xxx.xxx.xxx
07:43:26.469 CMD: Grp 0, Cmd 'DIMMER', Idx 1, Len 2, Pld 57, Data '57'
07:43:26.475 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":57}
07:43:26.538 TYA: setchannels
07:43:26.540 TYA: DP 2 desiredvalue set (0x17000000 len 4)
07:43:26.542 TYA: set of dpid 2 to 23 requested
07:43:26.544 TYA: Valid DP 2 type 2 (val) mcuval 15 desired 23 setflag 1 rxed 1
07:43:26.546 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:26.603 TYA: Send "55aa0006000802020004000000172c"
07:43:26.610 TYA: s 11 -> 12 - sends 313, rxs 1405
07:43:26.620 TYA: s 12 -> 11 - sends 313, rxs 1406
07:43:26.623 {"TuyaReceived":{"Data":"55AA03070008020200040000001730","Cmnd":7,"CmndData":"0202000400000017","DpType2Id2":23,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000017"}}}
07:43:26.626 TYA: Valid DP 2 type 2 (val) mcuval 23 desired 23 setflag 0 rxed 1
07:43:26.628 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:26.630 TYA: fnId=21 RX value 23 from dpId 2 
07:43:27.419 CFG: Saved to flash at F8, Count 3327, Bytes 4096
07:43:27.454 WIF: Sending Gratuitous ARP
07:43:28.088 SRC: WebGui from xxx.xxx.xxx.xxx
07:43:28.091 TYA: setchannels
07:43:28.093 TYA: DP 2 desiredvalue set (0x17000000 len 4)
07:43:28.095 TYA: set of dpid 2 to 23 requested
07:43:28.097 TYA: Valid DP 2 type 2 (val) mcuval 23 desired 23 setflag 1 rxed 1
07:43:28.099 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:28.131 TYA: DP 1 desiredvalue set (0x00000000 len 1)
07:43:28.133 TYA: set of dpid 1 to 0 requested
07:43:28.135 TYA: Valid DP 2 type 2 (val) mcuval 23 desired 23 setflag 1 rxed 1
07:43:28.137 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 1 rxed 1
07:43:28.140 TYA: posted rpower 0 val 0 to dpid 1 src 0 dev 0
07:43:28.163 MQT: stat/dimmer_salon/RESULT = {"POWER":"OFF"}
07:43:28.169 MQT: stat/dimmer_salon/POWER = OFF
07:43:28.232 TYA: DP set ignored - same value dpid 2, value 0x17000000, len 4
07:43:28.247 TYA: Send "55aa0006000501010001000d"
07:43:28.263 TYA: s 11 -> 12 - sends 314, rxs 1406
07:43:29.921 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 1 rxed 1
07:43:29.923 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
07:43:29.925 TYA: fnId=21 RX value 0 from dpId 2 
07:43:29.928 {"TuyaReceived":{"Data":"55AA03070005010100010011","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
07:43:29.930 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 1 rxed 1
07:43:29.932 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
07:43:29.934 TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
07:43:29.941 {"TuyaReceived":{"Data":"55AA03070008020200040000000019","Cmnd":7,"CmndData":"0202000400000000","DpType2Id2":0,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000000"}}}
07:43:29.943 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 1 rxed 1
07:43:29.945 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
07:43:29.947 TYA: fnId=21 RX value 0 from dpId 2 
07:43:30.613 CFG: Saved to flash at F6, Count 3329, Bytes 4096
07:43:33.218 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:33.220 TYA: fnId=21 RX value 23 from dpId 2 
07:43:33.222 SRC: Switch
07:43:33.225 CMD: Grp 0, Cmd 'DIMMER', Idx 3, Len 2, Pld 56, Data '56'
07:43:33.229 TYA: setchannels
07:43:33.281 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":56}
07:43:33.284 {"TuyaReceived":{"Data":"55AA03070005010100010112","Cmnd":7,"CmndData":"0101000101","DpType1Id1":1,"1":{"DpId":1,"DpIdType":1,"DpIdData":"01"}}}
07:43:33.287 TYA: Valid DP 2 type 2 (val) mcuval 23 desired 11 setflag 0 rxed 1
07:43:33.289 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:33.291 TYA: fnId=11 RX Relay-1 --> MCU State: On Current State:On
07:43:33.295 {"TuyaReceived":{"Data":"55AA03070008020200040000001730","Cmnd":7,"CmndData":"0202000400000017","DpType2Id2":23,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000017"}}}
07:43:33.297 TYA: Valid DP 2 type 2 (val) mcuval 23 desired 11 setflag 0 rxed 1
07:43:33.299 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
07:43:33.302 TYA: fnId=21 RX value 23 from dpId 2 
07:43:33.623 CFG: Saved to flash at F4, Count 3331, Bytes 4096
07:43:35.212 TYA: Dim Delay 0 -> 0.
07:43:40.621 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
07:43:40.718 TYA: rpower 0 val 0 dpid 1 ignored src 4 dev 0
07:43:40.726 MQT: stat/dimmer_salon/RESULT = {"POWER":"OFF"}
07:43:40.729 MQT: stat/dimmer_salon/POWER = OFF
07:43:40.732 TYA: Dim command 0 deferred for 2000ms
07:43:40.734 {"TuyaReceived":{"Data":"55AA03070008020200040000000019","Cmnd":7,"CmndData":"0202000400000000","DpType2Id2":0,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000000"}}}
07:43:40.737 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 1 rxed 1
07:43:40.739 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
07:43:40.741 TYA: fnId=21 RX value 0 from dpId 2 
07:43:40.748 {"TuyaReceived":{"Data":"55AA03070005010100010011","Cmnd":7,"CmndData":"0101000100","DpType1Id1":0,"1":{"DpId":1,"DpIdType":1,"DpIdData":"00"}}}
07:43:40.750 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 1 rxed 1
07:43:40.752 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
07:43:40.754 TYA: fnId=11 RX Relay-1 --> MCU State: Off Current State:Off
07:43:40.757 {"TuyaReceived":{"Data":"55AA03070008020200040000000019","Cmnd":7,"CmndData":"0202000400000000","DpType2Id2":0,"2":{"DpId":2,"DpIdType":2,"DpIdData":"00000000"}}}
07:43:40.760 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 1 rxed 1
07:43:40.762 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
07:43:40.764 TYA: fnId=21 RX value 0 from dpId 2 
07:43:40.828 CFG: Saved to flash at FB, Count 3332, Bytes 4096

@btsimonh
Copy link
Owner Author

@tzagim - is that the weblog? if so, pls raise the loglevel to 4....
we want to see all the debug too...

@tzagim
Copy link

tzagim commented Apr 11, 2022

@tzagim - is that the weblog? if so, pls raise the loglevel to 4.... we want to see all the debug too...

I updated the log.

After setting Setoption 20 & 54 I see a second +- after I turn it on it reaches the last set dimming.

@btsimonh
Copy link
Owner Author

hmm.. The logs are not complete - to get complete ones we'd need MQTT or syslog logs (if you have Node-Red, see the logging section in the wiki). I tried to do some interpretation, but for example the sequence at 07:43:13.620 would only make sense if TAS had asked for OFF, so I think we lost that message.
If you can't get MQTT or syslog logs, you could try "webrefresh 1000" (default is 2345ms) - unfortunately 1000ms is the fastest it will go, and we were still losing logs at 1000ms MQTT log servicing.

But I do think there will have to be different modes, which would be selected according to the dimmer type, because they do behave differently :(.

Like you said, maybe TAS should set a timer to set the MCU values AGAIN some time after the first set request. But only once (i.e. we should not say 'if different, set' we should say 'set once more in 2 seconds').

Also, I think we need to enforce a DP set order. When I list the DPs, your dimmer gets dim/power in that order, whereas mine gets power/dim. The order is determined by initial rx order... effectively this means that if TAS asks for power then dim, on yours, we try to send dim then power. If the power is currently off, the dim is deferred until the power is on. But if, for example it was turning the power off (power was on), the dim command would be sent, followed immediately by a power off request. The MCU may go into a fade, and so everything gets a little confused at that point?

If you can get better logs, great. in the mean time, I'll think on meaningful mods tonight.
br, and thanks again for your testing! Simon

@btsimonh
Copy link
Owner Author

Note firmware updates in wiki.
The mod is simple - ignore TAS trying to set dimmer values if the command was causes by the MCU. This should avoid odd feedback loops with the MCU basically trying to control itself.
@Ysbrand - may make a difference for your dimmer?

@tzagim
Copy link

tzagim commented Apr 22, 2022

Hi @btsimonh

Sorry for the delay in response, again :(

A detailed log is attached.
Sometimes after a few seconds of switche is on the dimmer reach the last dimming position.
Sometimes at low dimming it is turned on to correct the dimming.
And sometimes it goes to the highest brightness and I have to go to 100 and go back to dimming for it to dim.

When do you think to push the fix?

Log
14:57:31.880 TYA: Valid DP 2 type 2 (val) mcuval 18 desired 11 setflag 0 rxed 1
14:57:31.883 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:57:31.941 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":35}
14:57:31.949 TYA: Valid DP 2 type 2 (val) mcuval 18 desired 11 setflag 0 rxed 1
14:57:31.951 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:57:31.959 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
14:57:31.961 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:57:32.015 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":39}
14:57:32.024 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
14:57:32.026 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:57:32.035 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
14:57:32.038 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:57:32.092 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":44}
14:57:32.099 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
14:57:32.101 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:57:32.112 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
14:57:32.114 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 114:57:31.949 TYA: Valid DP 2 type 2 (val) mcuval 18 desired 11 setflag 0 rxed 1
14:57:31.951 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:57:31.959 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
14:57:31.961 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:57:32.015 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":39}
14:57:32.024 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
14:57:32.026 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:57:32.035 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
14:57:32.038 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:57:32.092 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":44}
14:57:32.099 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
14:57:32.101 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:57:32.112 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
14:57:32.114 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:58:14.554 TYA: Valid DP 2 type 2 (val) mcuval 8 desired 11 setflag 0 rxed 1
14:58:14.557 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
14:58:14.564 TYA: Valid DP 2 type 2 (val) mcuval 7 desired 11 setflag 0 rxed 1
14:58:14.566 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
14:58:14.574 TYA: Valid DP 2 type 2 (val) mcuval 7 desired 11 setflag 0 rxed 1
14:58:14.576 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
14:58:14.584 TYA: Valid DP 2 type 2 (val) mcuval 6 desired 11 setflag 0 rxed 1
14:58:14.586 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
14:58:14.593 TYA: Valid DP 2 type 2 (val) mcuval 6 desired 11 setflag 0 rxed 1
14:58:14.595 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
14:58:14.602 TYA: Valid DP 2 type 2 (val) mcuval 5 desired 11 setflag 0 rxed 1
14:58:14.604 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
14:58:14.611 TYA: Valid DP 2 type 2 (val) mcuval 5 desired 11 setflag 0 rxed 1
14:58:14.614 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
14:58:14.621 TYA: Valid DP 2 type 2 (val) mcuval 4 desired 11 setflag 0 rxed 1
14:58:14.623 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
14:58:14.630 TYA: Valid DP 2 type 2 (val) mcuval 4 desired 11 setflag 0 rxed 1
14:58:14.632 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
14:58:14.640 TYA: Valid DP 2 type 2 (val) mcuval 3 desired 11 setflag 0 rxed 1
14:58:14.642 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
14:58:14.987 TYA: Valid DP 2 type 2 (val) mcuval 3 desired 11 setflag 0 rxed 1
14:58:14.989 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
14:58:15.005 TYA: Valid DP 2 type 2 (val) mcuval 2 desired 11 setflag 0 rxed 1
14:58:15.007 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
14:58:15.014 TYA: Valid DP 2 type 2 (val) mcuval 2 desired 11 setflag 0 rxed 1
14:58:15.016 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
14:58:15.024 TYA: Valid DP 2 type 2 (val) mcuval 1 desired 11 setflag 0 rxed 1
14:58:15.026 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
14:58:15.033 TYA: Valid DP 2 type 2 (val) mcuval 1 desired 11 setflag 0 rxed 1
14:58:15.035 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
14:58:15.127 MQT: stat/dimmer_salon/RESULT = {"POWER":"OFF"}
14:58:15.131 MQT: stat/dimmer_salon/POWER = OFF
14:58:15.138 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 0 rxed 1
14:58:15.140 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
14:58:15.149 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 0 rxed 1
14:58:15.151 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
14:58:15.159 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 0 rxed 1
14:58:15.161 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
14:58:21.938 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 1 rxed 1
14:58:21.941 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:58:21.948 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 1 rxed 1
14:58:21.950 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:58:21.957 TYA: Valid DP 2 type 2 (val) mcuval 1 desired 11 setflag 1 rxed 1
14:58:21.959 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:58:21.967 TYA: Valid DP 2 type 2 (val) mcuval 1 desired 11 setflag 1 rxed 1
14:58:21.969 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:58:21.982 TYA: Valid DP 2 type 2 (val) mcuval 2 desired 11 setflag 1 rxed 1
14:58:21.983 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:58:22.026 TYA: Valid DP 2 type 2 (val) mcuval 2 desired 11 setflag 1 rxed 1
14:58:22.028 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:58:22.041 TYA: Valid DP 2 type 2 (val) mcuval 3 desired 11 setflag 1 rxed 1
14:58:22.043 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:58:22.086 TYA: Valid DP 2 type 2 (val) mcuval 3 desired 11 setflag 1 rxed 1
14:58:22.088 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:58:22.102 TYA: Valid DP 2 type 2 (val) mcuval 4 desired 11 setflag 1 rxed 1
14:58:22.103 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:58:22.145 TYA: Valid DP 2 type 2 (val) mcuval 4 desired 11 setflag 1 rxed 1
14:58:22.148 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:58:23.137 TYA: Valid DP 2 type 2 (val) mcuval 18 desired 11 setflag 0 rxed 1
14:58:23.140 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:58:23.196 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":35}
14:58:23.202 TYA: Valid DP 2 type 2 (val) mcuval 18 desired 11 setflag 0 rxed 1
14:58:23.205 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:58:23.216 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
14:58:23.218 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:58:23.274 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":39}
14:58:23.281 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
14:58:23.284 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:58:23.291 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
14:58:23.294 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:58:23.361 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":44}
14:58:23.368 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
14:58:23.370 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:58:23.380 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
14:58:23.383 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:59:10.988 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":67}
14:59:11.077 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 26 setflag 1 rxed 1
14:59:11.079 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:59:11.198 TYA: Valid DP 2 type 2 (val) mcuval 26 desired 26 setflag 0 rxed 1
14:59:11.200 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:59:11.259 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":69}
14:59:16.387 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":100}
14:59:16.464 TYA: Valid DP 2 type 2 (val) mcuval 26 desired 33 setflag 1 rxed 1
14:59:16.466 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:59:16.611 TYA: Valid DP 2 type 2 (val) mcuval 33 desired 33 setflag 0 rxed 1
14:59:16.614 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:59:17.906 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":43}
14:59:17.987 TYA: Valid DP 2 type 2 (val) mcuval 33 desired 20 setflag 1 rxed 1
14:59:17.989 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:59:18.663 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 20 setflag 0 rxed 1
14:59:18.666 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:59:20.239 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 22 setflag 1 rxed 1
14:59:20.241 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:59:20.279 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":53}
14:59:20.637 TYA: Valid DP 2 type 2 (val) mcuval 22 desired 22 setflag 0 rxed 1
14:59:20.639 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:59:25.105 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 22 setflag 0 rxed 1
14:59:25.107 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
14:59:45.801 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
14:59:45.804 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:59:45.813 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
14:59:45.815 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:59:45.871 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":44}
14:59:45.878 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
14:59:45.880 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:59:45.888 TYA: Valid DP 2 type 2 (val) mcuval 21 desired 11 setflag 0 rxed 1
14:59:45.890 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:59:45.946 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":48}
14:59:45.953 TYA: Valid DP 2 type 2 (val) mcuval 21 desired 11 setflag 0 rxed 1
14:59:45.955 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:59:45.966 TYA: Valid DP 2 type 2 (val) mcuval 22 desired 11 setflag 0 rxed 1
14:59:45.968 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:59:46.028 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":52}
14:59:46.035 TYA: Valid DP 2 type 2 (val) mcuval 22 desired 11 setflag 0 rxed 1
14:59:46.037 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:59:46.048 TYA: Valid DP 2 type 2 (val) mcuval 22 desired 11 setflag 0 rxed 1
14:59:46.051 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 114:59:45.871 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":44}
14:59:45.878 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
14:59:45.880 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:59:45.888 TYA: Valid DP 2 type 2 (val) mcuval 21 desired 11 setflag 0 rxed 1
14:59:45.890 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:59:45.946 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":48}
14:59:45.953 TYA: Valid DP 2 type 2 (val) mcuval 21 desired 11 setflag 0 rxed 1
14:59:45.955 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:59:45.966 TYA: Valid DP 2 type 2 (val) mcuval 22 desired 11 setflag 0 rxed 1
14:59:45.968 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:59:46.028 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":52}
14:59:46.035 TYA: Valid DP 2 type 2 (val) mcuval 22 desired 11 setflag 0 rxed 1
14:59:46.037 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
14:59:46.048 TYA: Valid DP 2 type 2 (val) mcuval 22 desired 11 setflag 0 rxed 1
14:59:46.051 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:00:42.559 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":89}
15:00:42.631 TYA: Valid DP 2 type 2 (val) mcuval 25 desired 31 setflag 1 rxed 1
15:00:42.634 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:00:43.998 TYA: Valid DP 2 type 2 (val) mcuval 31 desired 31 setflag 0 rxed 1
15:00:43.000 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:00:45.106 TYA: Valid DP 2 type 2 (val) mcuval 31 desired 33 setflag 1 rxed 1
15:00:45.108 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:00:45.145 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":100}
15:00:45.998 TYA: Valid DP 2 type 2 (val) mcuval 33 desired 33 setflag 0 rxed 1
15:00:45.000 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:00:48.207 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":86}
15:00:48.271 TYA: Valid DP 2 type 2 (val) mcuval 33 desired 30 setflag 1 rxed 1
15:00:48.273 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:00:48.357 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 30 setflag 0 rxed 1
15:00:48.359 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:00:58.854 TYA: Valid DP 2 type 2 (val) mcuval 3 desired 30 setflag 0 rxed 1
15:00:58.856 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:00:58.863 TYA: Valid DP 2 type 2 (val) mcuval 3 desired 30 setflag 0 rxed 1
15:00:58.865 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:00:58.872 TYA: Valid DP 2 type 2 (val) mcuval 2 desired 30 setflag 0 rxed 1
15:00:58.874 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:00:58.881 TYA: Valid DP 2 type 2 (val) mcuval 2 desired 30 setflag 0 rxed 1
15:00:58.883 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:00:58.892 TYA: Valid DP 2 type 2 (val) mcuval 1 desired 30 setflag 0 rxed 1
15:00:58.894 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:00:58.901 TYA: Valid DP 2 type 2 (val) mcuval 1 desired 30 setflag 0 rxed 1
15:00:58.903 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
15:00:59.116 MQT: stat/dimmer_salon/RESULT = {"POWER":"OFF"}
15:00:59.119 MQT: stat/dimmer_salon/POWER = OFF
15:00:59.124 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 30 setflag 0 rxed 1
15:00:59.126 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
15:00:59.134 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 30 setflag 0 rxed 1
15:00:59.137 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
15:00:59.144 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 30 setflag 0 rxed 1
15:00:59.146 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
15:01:07.092 TYA: Valid DP 2 type 2 (val) mcuval 27 desired 11 setflag 0 rxed 1
15:01:07.094 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:07.102 TYA: Valid DP 2 type 2 (val) mcuval 28 desired 11 setflag 0 rxed 1
15:01:07.104 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:07.159 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":77}
15:01:07.166 TYA: Valid DP 2 type 2 (val) mcuval 28 desired 11 setflag 0 rxed 1
15:01:07.168 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:07.179 TYA: Valid DP 2 type 2 (val) mcuval 29 desired 11 setflag 0 rxed 1
15:01:07.181 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:07.234 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":82}
15:01:07.243 TYA: Valid DP 2 type 2 (val) mcuval 29 desired 11 setflag 0 rxed 1
15:01:07.245 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:07.254 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:07.257 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:07.315 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":86}
15:01:07.322 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:07.324 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:07.334 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:07.336 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 115:01:07.102 TYA: Valid DP 2 type 2 (val) mcuval 28 desired 11 setflag 0 rxed 1
15:01:07.104 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:07.159 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":77}
15:01:07.166 TYA: Valid DP 2 type 2 (val) mcuval 28 desired 11 setflag 0 rxed 1
15:01:07.168 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:07.179 TYA: Valid DP 2 type 2 (val) mcuval 29 desired 11 setflag 0 rxed 1
15:01:07.181 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:07.234 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":82}
15:01:07.243 TYA: Valid DP 2 type 2 (val) mcuval 29 desired 11 setflag 0 rxed 1
15:01:07.245 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:07.254 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:07.257 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:07.315 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":86}
15:01:07.322 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:07.324 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:07.334 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:07.336 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:32.548 TYA: Valid DP 2 type 2 (val) mcuval 3 desired 11 setflag 0 rxed 1
15:01:32.550 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:01:32.557 TYA: Valid DP 2 type 2 (val) mcuval 3 desired 11 setflag 0 rxed 1
15:01:32.559 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:01:32.567 TYA: Valid DP 2 type 2 (val) mcuval 2 desired 11 setflag 0 rxed 1
15:01:32.568 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:01:32.576 TYA: Valid DP 2 type 2 (val) mcuval 2 desired 11 setflag 0 rxed 1
15:01:32.578 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:01:32.586 TYA: Valid DP 2 type 2 (val) mcuval 1 desired 11 setflag 0 rxed 1
15:01:32.588 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:01:32.597 TYA: Valid DP 2 type 2 (val) mcuval 1 desired 11 setflag 0 rxed 1
15:01:32.599 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
15:01:32.793 MQT: stat/dimmer_salon/RESULT = {"POWER":"OFF"}
15:01:32.796 MQT: stat/dimmer_salon/POWER = OFF
15:01:32.801 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 0 rxed 1
15:01:32.803 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
15:01:32.812 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 0 rxed 1
15:01:32.815 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
15:01:32.822 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 0 rxed 1
15:01:32.824 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 115:01:32.557 TYA: Valid DP 2 type 2 (val) mcuval 3 desired 11 setflag 0 rxed 1
15:01:32.559 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:01:32.567 TYA: Valid DP 2 type 2 (val) mcuval 2 desired 11 setflag 0 rxed 1
15:01:32.568 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:01:32.576 TYA: Valid DP 2 type 2 (val) mcuval 2 desired 11 setflag 0 rxed 1
15:01:32.578 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:01:32.586 TYA: Valid DP 2 type 2 (val) mcuval 1 desired 11 setflag 0 rxed 1
15:01:32.588 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:01:32.597 TYA: Valid DP 2 type 2 (val) mcuval 1 desired 11 setflag 0 rxed 1
15:01:32.599 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
15:01:32.793 MQT: stat/dimmer_salon/RESULT = {"POWER":"OFF"}
15:01:32.796 MQT: stat/dimmer_salon/POWER = OFF
15:01:32.801 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 0 rxed 1
15:01:32.803 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
15:01:32.812 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 0 rxed 1
15:01:32.815 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
15:01:32.822 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 0 rxed 1
15:01:32.824 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
15:01:41.268 TYA: Valid DP 2 type 2 (val) mcuval 27 desired 11 setflag 0 rxed 1
15:01:41.270 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.279 TYA: Valid DP 2 type 2 (val) mcuval 28 desired 11 setflag 0 rxed 1
15:01:41.281 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.337 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":77}
15:01:41.344 TYA: Valid DP 2 type 2 (val) mcuval 28 desired 11 setflag 0 rxed 1
15:01:41.346 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.357 TYA: Valid DP 2 type 2 (val) mcuval 29 desired 11 setflag 0 rxed 1
15:01:41.360 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.416 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":82}
15:01:41.423 TYA: Valid DP 2 type 2 (val) mcuval 29 desired 11 setflag 0 rxed 1
15:01:41.425 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.436 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.438 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.508 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":86}
15:01:41.515 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.517 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.526 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.529 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 115:01:41.337 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":77}
15:01:41.344 TYA: Valid DP 2 type 2 (val) mcuval 28 desired 11 setflag 0 rxed 1
15:01:41.346 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.357 TYA: Valid DP 2 type 2 (val) mcuval 29 desired 11 setflag 0 rxed 1
15:01:41.360 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.416 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":82}
15:01:41.423 TYA: Valid DP 2 type 2 (val) mcuval 29 desired 11 setflag 0 rxed 1
15:01:41.425 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.436 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.438 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.508 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":86}
15:01:41.515 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.517 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.526 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.529 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 115:01:41.344 TYA: Valid DP 2 type 2 (val) mcuval 28 desired 11 setflag 0 rxed 1
15:01:41.346 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.357 TYA: Valid DP 2 type 2 (val) mcuval 29 desired 11 setflag 0 rxed 1
15:01:41.360 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.416 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":82}
15:01:41.423 TYA: Valid DP 2 type 2 (val) mcuval 29 desired 11 setflag 0 rxed 1
15:01:41.425 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.436 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.438 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.508 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":86}
15:01:41.515 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.517 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.526 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.529 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 115:01:41.346 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.357 TYA: Valid DP 2 type 2 (val) mcuval 29 desired 11 setflag 0 rxed 1
15:01:41.360 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.416 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":82}
15:01:41.423 TYA: Valid DP 2 type 2 (val) mcuval 29 desired 11 setflag 0 rxed 1
15:01:41.425 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.436 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.438 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.508 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":86}
15:01:41.515 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.517 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.526 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.529 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 115:01:41.346 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.357 TYA: Valid DP 2 type 2 (val) mcuval 29 desired 11 setflag 0 rxed 1
15:01:41.360 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.416 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":82}
15:01:41.423 TYA: Valid DP 2 type 2 (val) mcuval 29 desired 11 setflag 0 rxed 1
15:01:41.425 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.436 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.438 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.508 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":86}
15:01:41.515 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.517 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.526 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.529 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 115:01:41.357 TYA: Valid DP 2 type 2 (val) mcuval 29 desired 11 setflag 0 rxed 1
15:01:41.360 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.416 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":82}
15:01:41.423 TYA: Valid DP 2 type 2 (val) mcuval 29 desired 11 setflag 0 rxed 1
15:01:41.425 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.436 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.438 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.508 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":86}
15:01:41.515 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.517 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.526 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.529 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 115:01:41.357 TYA: Valid DP 2 type 2 (val) mcuval 29 desired 11 setflag 0 rxed 1
15:01:41.360 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.416 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":82}
15:01:41.423 TYA: Valid DP 2 type 2 (val) mcuval 29 desired 11 setflag 0 rxed 1
15:01:41.425 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.436 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.438 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.508 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":86}
15:01:41.515 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.517 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.526 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.529 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 115:01:41.357 TYA: Valid DP 2 type 2 (val) mcuval 29 desired 11 setflag 0 rxed 1
15:01:41.360 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.416 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":82}
15:01:41.423 TYA: Valid DP 2 type 2 (val) mcuval 29 desired 11 setflag 0 rxed 1
15:01:41.425 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.436 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.438 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.508 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":86}
15:01:41.515 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.517 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.526 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.529 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 115:01:41.357 TYA: Valid DP 2 type 2 (val) mcuval 29 desired 11 setflag 0 rxed 1
15:01:41.360 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.416 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":82}
15:01:41.423 TYA: Valid DP 2 type 2 (val) mcuval 29 desired 11 setflag 0 rxed 1
15:01:41.425 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.436 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.438 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.508 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":86}
15:01:41.515 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.517 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.526 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.529 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 115:01:41.416 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":82}
15:01:41.423 TYA: Valid DP 2 type 2 (val) mcuval 29 desired 11 setflag 0 rxed 1
15:01:41.425 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.436 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.438 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.508 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":86}
15:01:41.515 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.517 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.526 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.529 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 115:01:41.416 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":82}
15:01:41.423 TYA: Valid DP 2 type 2 (val) mcuval 29 desired 11 setflag 0 rxed 1
15:01:41.425 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.436 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.438 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.508 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":86}
15:01:41.515 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.517 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.526 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.529 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 115:01:41.416 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":82}
15:01:41.423 TYA: Valid DP 2 type 2 (val) mcuval 29 desired 11 setflag 0 rxed 1
15:01:41.425 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.436 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.438 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.508 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":86}
15:01:41.515 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.517 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:01:41.526 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 11 setflag 0 rxed 1
15:01:41.529 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:02:25.494 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":46}
15:02:25.570 TYA: Valid DP 2 type 2 (val) mcuval 30 desired 21 setflag 1 rxed 1
15:02:25.572 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:02:25.707 TYA: Valid DP 2 type 2 (val) mcuval 21 desired 21 setflag 0 rxed 1
15:02:25.709 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:02:25.758 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":48}
15:02:31.387 MQT: tele/dimmer_salon/STATE = {"Time":"2022-04-22T15:02:31","Uptime":"10T01:03:29","UptimeSec":867809,"Heap":22,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":2,"POWER":"ON","Dimmer":48,"Fade":"OFF","Speed":1,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"XXXX","BSSId":"35:EE:88:CC:34:CC","Channel":5,"Mode":"11n","RSSI":100,"Signal":-49,"LinkCount":2,"Downtime":"0T00:00:41"}}
15:02:31.757 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":100}
15:02:31.833 TYA: Valid DP 2 type 2 (val) mcuval 21 desired 33 setflag 1 rxed 1
15:02:31.835 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:02:31.984 TYA: Valid DP 2 type 2 (val) mcuval 33 desired 33 setflag 0 rxed 1
15:02:31.986 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:02:33.964 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":44}
15:02:34.039 TYA: Valid DP 2 type 2 (val) mcuval 33 desired 20 setflag 1 rxed 1
15:02:34.041 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:02:34.126 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 20 setflag 0 rxed 1
15:02:34.128 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:02:38.088 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":100}
15:02:38.157 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 33 setflag 1 rxed 1
15:02:38.159 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:02:38.236 TYA: Valid DP 2 type 2 (val) mcuval 33 desired 33 setflag 0 rxed 1
15:02:38.238 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:02:41.904 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":46}
15:02:41.967 TYA: Valid DP 2 type 2 (val) mcuval 33 desired 21 setflag 1 rxed 1
15:02:41.970 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:02:42.049 TYA: Valid DP 2 type 2 (val) mcuval 21 desired 21 setflag 0 rxed 1
15:02:42.050 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:02:42.108 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":48}
15:02:43.926 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":60}
15:02:43.004 TYA: Valid DP 2 type 2 (val) mcuval 21 desired 24 setflag 1 rxed 1
15:02:43.005 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:02:44.169 TYA: Valid DP 2 type 2 (val) mcuval 24 desired 24 setflag 0 rxed 1
15:02:44.171 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:02:45.428 TYA: Valid DP 2 type 2 (val) mcuval 24 desired 33 setflag 1 rxed 1
15:02:45.430 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:02:45.468 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":100}
15:02:46.295 TYA: Valid DP 2 type 2 (val) mcuval 33 desired 33 setflag 0 rxed 1
15:02:46.298 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:02:47.676 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":42}
15:02:47.757 TYA: Valid DP 2 type 2 (val) mcuval 33 desired 20 setflag 1 rxed 1
15:02:47.759 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:02:48.291 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 20 setflag 0 rxed 1
15:02:48.293 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:02:48.352 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":44}
15:02:59.131 TYA: Valid DP 2 type 2 (val) mcuval 3 desired 20 setflag 0 rxed 1
15:02:59.133 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:02:59.140 TYA: Valid DP 2 type 2 (val) mcuval 3 desired 20 setflag 0 rxed 1
15:02:59.143 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:02:59.150 TYA: Valid DP 2 type 2 (val) mcuval 2 desired 20 setflag 0 rxed 1
15:02:59.152 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:02:59.159 TYA: Valid DP 2 type 2 (val) mcuval 2 desired 20 setflag 0 rxed 1
15:02:59.161 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:02:59.169 TYA: Valid DP 2 type 2 (val) mcuval 1 desired 20 setflag 0 rxed 1
15:02:59.171 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:02:59.178 TYA: Valid DP 2 type 2 (val) mcuval 1 desired 20 setflag 0 rxed 1
15:02:59.180 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
15:02:59.295 MQT: stat/dimmer_salon/RESULT = {"POWER":"OFF"}
15:02:59.300 MQT: stat/dimmer_salon/POWER = OFF
15:02:59.307 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 20 setflag 0 rxed 1
15:02:59.309 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
15:02:59.318 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 20 setflag 0 rxed 1
15:02:59.320 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
15:02:59.327 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 20 setflag 0 rxed 1
15:02:59.329 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
15:03:04.461 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 1 rxed 1
15:03:04.464 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
15:03:04.504 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 1 rxed 1
15:03:04.506 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000001 setflag 1 rxed 1
15:03:04.535 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON"}
15:03:04.538 MQT: stat/dimmer_salon/POWER = ON
15:03:04.654 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 1 rxed 1
15:03:04.656 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:04.693 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 1 rxed 1
15:03:04.695 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:04.710 TYA: Valid DP 2 type 2 (val) mcuval 1 desired 11 setflag 1 rxed 1
15:03:04.712 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:04.790 TYA: Valid DP 2 type 2 (val) mcuval 1 desired 11 setflag 1 rxed 1
15:03:04.792 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:04.799 TYA: Valid DP 2 type 2 (val) mcuval 2 desired 11 setflag 1 rxed 1
15:03:04.801 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:04.813 TYA: Valid DP 2 type 2 (val) mcuval 2 desired 11 setflag 1 rxed 1
15:03:04.815 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:05.895 TYA: Valid DP 2 type 2 (val) mcuval 17 desired 11 setflag 0 rxed 1
15:03:05.897 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:05.905 TYA: Valid DP 2 type 2 (val) mcuval 18 desired 11 setflag 0 rxed 1
15:03:05.908 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:05.964 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":35}
15:03:05.971 TYA: Valid DP 2 type 2 (val) mcuval 18 desired 11 setflag 0 rxed 1
15:03:05.973 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:05.981 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
15:03:05.984 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:06.049 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":39}
15:03:06.056 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
15:03:06.058 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:06.069 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
15:03:06.071 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:06.142 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":44}
15:03:06.151 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
15:03:06.153 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:06.162 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
15:03:06.164 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:12.066 TYA: Valid DP 2 type 2 (val) mcuval 3 desired 11 setflag 0 rxed 1
15:03:12.068 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:03:12.075 TYA: Valid DP 2 type 2 (val) mcuval 3 desired 11 setflag 0 rxed 1
15:03:12.077 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:03:12.084 TYA: Valid DP 2 type 2 (val) mcuval 2 desired 11 setflag 0 rxed 1
15:03:12.086 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:03:12.093 TYA: Valid DP 2 type 2 (val) mcuval 2 desired 11 setflag 0 rxed 1
15:03:12.095 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:03:12.103 TYA: Valid DP 2 type 2 (val) mcuval 1 desired 11 setflag 0 rxed 1
15:03:12.105 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:03:12.112 TYA: Valid DP 2 type 2 (val) mcuval 1 desired 11 setflag 0 rxed 1
15:03:12.114 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
15:03:12.228 MQT: stat/dimmer_salon/RESULT = {"POWER":"OFF"}
15:03:12.232 MQT: stat/dimmer_salon/POWER = OFF
15:03:12.238 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 0 rxed 1
15:03:12.240 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
15:03:12.248 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 0 rxed 1
15:03:12.250 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
15:03:12.257 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 0 rxed 1
15:03:12.259 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
15:03:15.004 TYA: Valid DP 2 type 2 (val) mcuval 17 desired 11 setflag 0 rxed 1
15:03:15.006 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:15.014 TYA: Valid DP 2 type 2 (val) mcuval 18 desired 11 setflag 0 rxed 1
15:03:15.017 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:15.080 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":35}
15:03:15.088 TYA: Valid DP 2 type 2 (val) mcuval 18 desired 11 setflag 0 rxed 1
15:03:15.090 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:15.097 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
15:03:15.100 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:15.155 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":39}
15:03:15.164 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
15:03:15.166 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:15.175 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
15:03:15.178 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:15.235 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":44}
15:03:15.244 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
15:03:15.246 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:15.255 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
15:03:15.258 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:22.440 TYA: Valid DP 2 type 2 (val) mcuval 3 desired 11 setflag 0 rxed 1
15:03:22.442 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:03:22.449 TYA: Valid DP 2 type 2 (val) mcuval 3 desired 11 setflag 0 rxed 1
15:03:22.451 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:03:22.459 TYA: Valid DP 2 type 2 (val) mcuval 2 desired 11 setflag 0 rxed 1
15:03:22.461 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:03:22.469 TYA: Valid DP 2 type 2 (val) mcuval 2 desired 11 setflag 0 rxed 1
15:03:22.471 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:03:22.479 TYA: Valid DP 2 type 2 (val) mcuval 1 desired 11 setflag 0 rxed 1
15:03:22.481 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:03:22.488 TYA: Valid DP 2 type 2 (val) mcuval 1 desired 11 setflag 0 rxed 1
15:03:22.490 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
15:03:22.623 MQT: stat/dimmer_salon/RESULT = {"POWER":"OFF"}
15:03:22.627 MQT: stat/dimmer_salon/POWER = OFF
15:03:22.634 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 0 rxed 1
15:03:22.636 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
15:03:22.646 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 0 rxed 1
15:03:22.649 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
15:03:22.657 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 0 rxed 1
15:03:22.659 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
15:03:25.866 TYA: Valid DP 2 type 2 (val) mcuval 17 desired 11 setflag 0 rxed 1
15:03:25.868 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:25.876 TYA: Valid DP 2 type 2 (val) mcuval 18 desired 11 setflag 0 rxed 1
15:03:25.878 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:25.935 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":35}
15:03:25.942 TYA: Valid DP 2 type 2 (val) mcuval 18 desired 11 setflag 0 rxed 1
15:03:25.944 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:25.952 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
15:03:25.955 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:26.013 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":39}
15:03:26.022 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
15:03:26.024 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:26.033 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
15:03:26.036 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:26.092 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":44}
15:03:26.101 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
15:03:26.103 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:26.113 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
15:03:26.115 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 115:03:25.876 TYA: Valid DP 2 type 2 (val) mcuval 18 desired 11 setflag 0 rxed 1
15:03:25.878 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:25.935 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":35}
15:03:25.942 TYA: Valid DP 2 type 2 (val) mcuval 18 desired 11 setflag 0 rxed 1
15:03:25.944 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:25.952 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
15:03:25.955 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:26.013 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":39}
15:03:26.022 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
15:03:26.024 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:26.033 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
15:03:26.036 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:26.092 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":44}
15:03:26.101 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
15:03:26.103 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:26.113 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
15:03:26.115 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 115:03:25.935 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":35}
15:03:25.942 TYA: Valid DP 2 type 2 (val) mcuval 18 desired 11 setflag 0 rxed 1
15:03:25.944 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:25.952 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
15:03:25.955 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:26.013 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":39}
15:03:26.022 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
15:03:26.024 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:26.033 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
15:03:26.036 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:26.092 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":44}
15:03:26.101 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
15:03:26.103 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:26.113 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
15:03:26.115 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:03:55.021 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
15:03:55.023 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 1 rxed 1
15:03:55.054 MQT: stat/dimmer_salon/RESULT = {"POWER":"OFF"}
15:03:55.058 MQT: stat/dimmer_salon/POWER = OFF
15:03:56.223 TYA: Valid DP 2 type 2 (val) mcuval 3 desired 11 setflag 0 rxed 1
15:03:56.225 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:03:56.506 TYA: Valid DP 2 type 2 (val) mcuval 3 desired 11 setflag 0 rxed 1
15:03:56.508 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:03:56.517 TYA: Valid DP 2 type 2 (val) mcuval 2 desired 11 setflag 0 rxed 1
15:03:56.519 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:03:56.526 TYA: Valid DP 2 type 2 (val) mcuval 2 desired 11 setflag 0 rxed 1
15:03:56.529 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:03:56.536 TYA: Valid DP 2 type 2 (val) mcuval 1 desired 11 setflag 0 rxed 1
15:03:56.538 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000000 setflag 0 rxed 1
15:03:56.545 TYA: Valid DP 2 type 2 (val) mcuval 1 desired 11 setflag 0 rxed 1
15:03:56.547 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
15:03:56.633 MQT: stat/dimmer_salon/RESULT = {"POWER":"OFF"}
15:03:56.638 MQT: stat/dimmer_salon/POWER = OFF
15:03:56.645 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 0 rxed 1
15:03:56.647 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
15:03:56.656 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 0 rxed 1
15:03:56.658 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
15:03:56.665 TYA: Valid DP 2 type 2 (val) mcuval 0 desired 11 setflag 0 rxed 1
15:03:56.667 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000000 desired[0] 0x00000000 setflag 0 rxed 1
15:04:02.203 TYA: Valid DP 2 type 2 (val) mcuval 17 desired 11 setflag 0 rxed 1
15:04:02.205 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:04:02.213 TYA: Valid DP 2 type 2 (val) mcuval 18 desired 11 setflag 0 rxed 1
15:04:02.215 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:04:02.270 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":35}
15:04:02.278 TYA: Valid DP 2 type 2 (val) mcuval 18 desired 11 setflag 0 rxed 1
15:04:02.280 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:04:02.290 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
15:04:02.292 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:04:02.349 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":39}
15:04:02.356 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
15:04:02.358 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:04:02.368 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
15:04:02.371 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:04:02.425 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":44}
15:04:02.434 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
15:04:02.436 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:04:02.445 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
15:04:02.447 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 115:04:02.270 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":35}
15:04:02.278 TYA: Valid DP 2 type 2 (val) mcuval 18 desired 11 setflag 0 rxed 1
15:04:02.280 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:04:02.290 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
15:04:02.292 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:04:02.349 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":39}
15:04:02.356 TYA: Valid DP 2 type 2 (val) mcuval 19 desired 11 setflag 0 rxed 1
15:04:02.358 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:04:02.368 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
15:04:02.371 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:04:02.425 MQT: stat/dimmer_salon/RESULT = {"POWER":"ON","Dimmer":44}
15:04:02.434 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
15:04:02.436 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1
15:04:02.445 TYA: Valid DP 2 type 2 (val) mcuval 20 desired 11 setflag 0 rxed 1
15:04:02.447 TYA: Valid DP 1 type 1 (bool/enum) mcuval[0] 0x00000001 desired[0] 0x00000001 setflag 0 rxed 1

@Ysbrand
Copy link

Ysbrand commented May 3, 2022

Looks like the WF-DS01 dimmer is pretty stable with the build you've provided. I sometimes see that the dimmer doesn't go exactly to the requested value, but its hard to duplicate and determine the exact scenario:
e.g dimmer 11 - results in dimmer 8 (but not always).

@m-jarzebowski
Copy link

@Ysbrand which build did you use? My device (WF-DS01) does not work properly. I can't control it via Tasmota. Buttons are working fine.

@btsimonh
Copy link
Owner Author

@m-jarzebowski - the 'current' binaries are attached in the wiki here:

https://github.com/btsimonh/Tasmota/wiki/Current-Binaries

double check your template....

(sorry for the absence, likely to get back to this in june now, probably to propose a PR, so your results will be great to add, thankyou :) )

@Ysbrand
Copy link

Ysbrand commented May 20, 2022

This is my buildinfo:
{"StatusFWR":{"Version":"11.0.0.5(tasmota)","BuildDateTime":"2022-04-15T08:06:11","Boot":31,"Core":"2_7_4_9","SDK":"2.2.2-dev(38a443e)","CpuFrequency":80,"Hardware":"ESP8266EX","CR":"378/699"}}

Template:
{"NAME":"Dimmer WF-DS01","GPIO":[1,1,1,1,1,1,0,0,1,1,290,1,1,0],"FLAG":0,"BASE":54}

@m-jarzebowski
Copy link

No worries @btsimonh, thanks for the reply. So, I've used correct binaries. I'm wondering what is different in my case. I've run Reset 6 then updated template like explained here https://templates.blakadder.com/WF-DS01.html. Also Issued Backlog Ledtable 0; TuyaMCU 21,2
What worries me is constantly repeated messages:

08:42:16.909 TYA: Protocol timeout state 1 -> 0
08:42:18.093 TYA: Protocol timeout state 3 -> 0

Information page:
Screen Shot 2022-05-20 at 09 41 11

@m-jarzebowski
Copy link

{"NAME":"Dimmer WF-DS01","GPIO":[1,1,1,1,1,1,0,0,1,1,290,1,1,0],"FLAG":0,"BASE":54}

So it is different than mine. I need to try it. Thanks @Ysbrand .

@m-jarzebowski
Copy link

Unfortunately, changing template does not help.

@btsimonh
Copy link
Owner Author

@m-jarzebowski - for me, with my device, the original software would crash the MCU in a strange way. The manufacturer stated 'only works from power on, not from soft restart'.
On a soft restart, TAS has no way to hard reset the MCU, so if the MCU has died, there's no recovery except a power off.... (A right pain in the arse if the switch is in the wall - destroys the WAF factor!).
So, try a hard power restart if you can.

@btsimonh
Copy link
Owner Author

if you can get a startup log (see logging in the wiki), attach it here.

@m-jarzebowski
Copy link

After cutting power of the dimmer behaves as expected finally. @btsimonh thanks a lot!

Startup log:

00:00:00.001 HDW: ESP8266EX
00:00:00.050 CFG: Loaded from flash at F6, Count 14
00:00:00.055 FRC: Some settings have been reset (2)
00:00:00.059 TYA: init struct done
00:00:00.106 SNS: Hardware Serial
00:00:00.116 Project tasmota - Tasmota Version 11.0.0.5(lite)-2_7_4_9(2022-04-15T08:03:21)
00:00:00.117 T:E55 0xFF
00:00:00.132 TYA: Errorcnt 0->1
00:00:00.522 WIF: Connecting to AP1 ap_name Channel 6 BSSId XX:XX:XX:XX:XX:XX in mode 11n as tasmota-5C1638-5688...
00:00:01.710 TYA: MCU Product ID: bSXSSFArVKtc4DyC1.0.0
00:00:02.010 TYA: Protocol timeout state 4 -> 5
00:00:02.102 RSL: RESULT = {"POWER":"ON"}
00:00:02.103 RSL: POWER = ON
00:00:02.120 RSL: RESULT = {"POWER":"ON","Dimmer":100}
00:00:02.437 WIF: Connected
00:00:02.689 HTP: Web server active on tasmota-5C1638-5688 with IP address 192.154.1.178
00:00:02.703 RSL: RESULT = {"POWER":"OFF"}
00:00:02.705 RSL: POWER = OFF
10:33:11.223 RSL: INFO1 = {"Info1":{"Module":"Dimmer WF-DS01","Version":"11.0.0.5(lite)","FallbackTopic":"cmnd/DVES_5C1638_fb/","GroupTopic":"cmnd/tasmotas/"}}
10:33:11.225 RSL: INFO2 = {"Info2":{"WebServerMode":"Admin","Hostname":"tasmota-5C1638-5688","IPAddress":"192.168.1.154"}}
10:33:11.227 RSL: INFO3 = {"Info3":{"RestartReason":"Software/System restart","BootCount":4}}
10:33:11.229 RSL: RESULT = {"POWER":"OFF"}
10:33:11.230 RSL: POWER = OFF
10:33:14.445 QPC: Reset
10:33:16.411 RSL: STATE = {"Time":"2022-05-20T10:33:16","Uptime":"0T00:00:10","UptimeSec":10,"Vcc":3.513,"Heap":31,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":0,"POWER":"OFF","Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"ap_name","BSSId":"XX:XX:XX:XX:XX:XX","Channel":6,"Mode":"11n","RSSI":54,"Signal":-73,"LinkCount":1,"Downtime":"0T00:00:04"}}

@mvanlijden
Copy link

mvanlijden commented Jun 24, 2022

Can confirm that on my WF-DS01, with a simple philips 6W dimmable light bulb, all seems to working extremely well and fast in response.

Tested and confirmed working:

  • Direct command with random switching power, dimmer, power, dimmer, dimmer, incl backlog testing always ending on last value
  • Buttons work with a very fast response, dimming only works when on (like designed i think). Always restoring last value.
  • Switching and dimmer randomly with buttons, web, mqtt, web, button, etc. Have found no issues of missing a adjustment.
  • Dimming value updated correctly in HA (so MQTT) when using physical buttons
  • Behavior with SetOption20 and SetOption54 enabled works as designed, shifting to stored dim value 2 sec after power on

Cannot find any scenario that does not meet expectations. For me this feels much more stable and also responsive. Would love to see it merged into main :)

@Ysbrand
Copy link

Ysbrand commented Jun 25, 2022

I agree it's way more stae than it used to be.

I can't remember if dimmer preset is working (set the dim value to a specific setting while the dimmer is off). Will try this again once I'm back home.
But even if this doesn't work, I'm still extremely happy with the progress.

@esackbauer
Copy link

Thank you guys, version 11.0.0.5 is working really well on my WF-DS01. Also Soft-On and Soft-Off is working.

@mvanlijden
Copy link

Just a question, seeing that Tasmota is already on 12.0.2, will you need to rebase on that?
I saw some updates on Tuya in the 11.1 releasenotes (arendst#15267 and arendst#15216)
Do you have a plan going forward?

@mvanlijden
Copy link

Any activity or has the project been abandoned?
Still a wish to have this followed through and merged with the main tree?

@btsimonh
Copy link
Owner Author

Moving to a new issue - this one takes too long to load....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants