No success
Maybe dpId 17 is the initial date/time for total enery?
I could not find a plausible correlation between this data and initial date/time reported using Tasmota…maybe it’s in EPOC time? I did not tried EPOC, just converting hex to decinal (no success).
See this old log:
19:18:51.279 RSL: RESULT = {"TuyaReceived":{"Data":"55AA030700101100000C0100003C030001080400006EF1","Cmnd":7,"CmndData":"1100000C0100003C030001080400006E","DpType0Id17":"0x0100003C030001080400006E","17":{"DpId":17,"DpIdType":0,"DpIdData":"0100003C030001080400006E"}}}
19:18:51.308 RSL: RESULT = {"TuyaReceived":{"Data":"55AA030700101203000C31313131313131313131313186","Cmnd":7,"CmndData":"1203000C313131313131313131313131","DpType3Id18":"111111111111","18":{"DpId":18,"DpIdType":3,"DpIdData":"313131313131313131313131","Type3Data":"111111111111"}}}
19:18:52.455 QPC: Reset
19:18:55.421 RSL: STATE = {"Time":"2021-05-16T19:18:55","Uptime":"0T00:00:11","UptimeSec":11,"Vcc":3.447,"Heap":30,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":0,"POWER":"OFF","Wifi":{"AP":1,"SSId":"Skynet","BSSId":"28:D1:27:4E:7E:60","Channel":11,"RSSI":98,"Signal":-51,"LinkCount":1,"Downtime":"0T00:00:05"}}
19:18:55.430 RSL: SENSOR = {"Time":"2021-05-16T19:18:55","ENERGY":{"TotalStartTime":"2021-05-16T16:37:43","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":0,"ApparentPower":0,"ReactivePower":0,"Factor":0.00,"Voltage":0,"Current":0.000}}
Also, note that dpId 17 is not being received during normal run, just in startup…either in Tasmota or ESPHome, only during startup.