Hey, after installing the energy monitor I noticed that values don’t update, only Total Energy is updating, leakage current voltage current and power have the same value since day 1
flashed the mcu with the latest esphome
I noticed also that my pcb is a little bit different from the device used here TOMZN TOMPD-63-WiFi | ESPHome Devices
[11:14:46.498][D][tuya:368]: Datapoint 1 update to 1083
[11:14:46.501][D][sensor:135]: 'Total Energy': Sending state 10.83000 kWh with 2 decimals of accuracy
[11:14:46.524][D][tuya:360]: Datapoint 11 update to OFF
[11:14:46.529][D][tuya:368]: Datapoint 13 update to 0
[11:14:47.475][D][tuya:368]: Datapoint 15 update to 0
[11:14:47.482][D][sensor:135]: 'Leakage Current': Sending state 0.00000 mA with 0 decimals of accuracy
[11:14:48.474][D][tuya:368]: Datapoint 104 update to 824
[11:14:48.495][D][tuya:368]: Datapoint 105 update to 500
[11:14:48.516][D][tuya:368]: Datapoint 116 update to 2321
[11:14:48.522][D][tuya:368]: Datapoint 117 update to 2390
[11:14:48.549][D][tuya:368]: Datapoint 118 update to 457
switched on an older model 63-wifi (wb3s chip) the same config (board, api and ota different of course) I get all data
[11:25:31.223][D][tuya:397]: Datapoint 9 update to 00000000
[11:25:31.242][D][tuya:368]: Datapoint 1 update to 61205
[11:25:31.245][D][sensor:135]: 'Total Energy': Sending state 612.04999 kWh with 2 decimals of accuracy
[11:25:31.264][D][tuya:352]: Datapoint 6 update to 09.04.00.00.00.00.00.00 (8)
[11:25:31.266][D][main:049]: on_datapoint_update 09.04.00.00.00.00.00.00 (8)
[11:25:31.269][D][sensor:135]: 'Volt': Sending state 230.80000 V with 1 decimals of accuracy
[11:25:31.270][D][sensor:135]: 'Curent': Sending state 0.00000 A with 2 decimals of accuracy
[11:25:31.272][D][sensor:135]: 'Power': Sending state 0.00000 W with 0 decimals of accuracy
[11:25:31.292][D][tuya:368]: Datapoint 15 update to 0
[11:25:31.293][D][sensor:135]: 'Leakage Current': Sending state 0.00000 mA with 0 decimals of accuracy
[11:25:31.296][D][tuya:368]: Datapoint 13 update to 0
[11:25:31.319][D][tuya:360]: Datapoint 12 update to OFF
[11:25:31.319][D][tuya:397]: Datapoint 9 update to 00000000
you mean on the device display ? displaying normally refreshing 2-5 times /sec
I noticed that the frozen values are refreshing to Hass each time I make an ota update, probably each time the mcu reboots, to sum it updates all the values after wake up but only keep updating Total energy and Leakage
Yes, and I meant the actual values, to correlate with other datapoints, maybe?
Did you try with the tuya app before flashing, to check whether those values were provided to Tuya itself? Maybe that revision of the board only provides meaningful data once, at start?
nope, I flashed the device right from the box no tuya app,
yep update at start then only 2 values updates each time, but it’s updating on the display normally
Such a problem again — I was lazy and didn’t make a backup, nor did I check it on Tuya. Now I don’t have updates and I’m using incorrect Datapoints.
Does anyone have the possibility to access Tuya and obtain the correct data?
I would also like to add that updates occur only through this datapoint
[19:49:00.094][D][tuya:379]: Datapoint 1 update to 2091
[19:49:00.098][D][sensor:129]: ‘Total Energy’ >> 20.91 kWh
[19:49:00.119][D][tuya:371]: Datapoint 11 update to OFF
[19:49:00.126][D][tuya:379]: Datapoint 13 update to 0
[19:49:00.126][D][sensor:129]: ‘Remaining Available Energy’ >> 0.00 kW/h
[19:49:01.084][D][tuya:379]: Datapoint 15 update to 0
[19:49:01.092][D][sensor:129]: ‘Leakage Current’ >> 0 mA
[19:49:02.086][D][tuya:379]: Datapoint 104 update to 481
[19:49:02.108][D][tuya:379]: Datapoint 105 update to 500
[19:49:02.132][D][tuya:379]: Datapoint 116 update to 2359
[19:49:02.138][D][tuya:379]: Datapoint 117 update to 2570
[19:49:02.154][D][tuya:379]: Datapoint 118 update to 292
[19:53:59.536][D][tuya:379]: Datapoint 1 update to 2093
[19:53:59.543][D][sensor:129]: ‘Total Energy’ >> 20.93 kWh
[19:53:59.561][D][tuya:371]: Datapoint 11 update to OFF
[19:53:59.566][D][tuya:379]: Datapoint 13 update to 0
[19:53:59.571][D][sensor:129]: ‘Remaining Available Energy’ >> 0.00 kW/h
[19:54:00.537][D][tuya:379]: Datapoint 15 update to 0
[19:54:00.548][D][sensor:129]: ‘Leakage Current’ >> 0 mA
[19:54:01.531][D][tuya:379]: Datapoint 104 update to 484
[19:54:01.554][D][tuya:379]: Datapoint 105 update to 500
[19:54:01.573][D][tuya:379]: Datapoint 116 update to 2349
[19:54:01.579][D][tuya:379]: Datapoint 117 update to 2570
[19:54:01.588][D][tuya:379]: Datapoint 118 update to 292
Regarding the data from
[21:09:24.556][D][tuya:379]: Datapoint 13 update to 0
[21:09:25.528][D][tuya:379]: Datapoint 15 update to 0
At the moment I don’t know for sure — one of them definitely indicates a leakage (similar to a residual current device). As for the other one, it’s not clear yet.