Skip to content
btsimonh edited this page Apr 10, 2022 · 4 revisions

this product (DMS01)

TYA: MCU Product ID: {"p":"f7wabowkxhc1elwn","v":"1.0.0","m":0}

Notes from log check:

sends a LOT of dim values during fades. Fade duration ~1s.

did something really weird - MCU was sent fade 0x13, but faded DOWN first, then jumped to 0x13?

At least one log line lost.

character timeout noted - we need to make it longer, maybe ~500ms to cope with TAS being away from the 50ms loop that long.

Original report:

It works great that way on my dimmer.

But I encountered another problem, when turn 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.

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.

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.

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"}}