Yaml victron total energy

I would/did use a filter to put the uptime in hours.

Is the time the esp reset the same as when the total counter reset?

If so, just add the restore option from post 8

Sorry but I’m struggling to understand… So what I attach is the graph of the first victron where the graphs show the today energy and the total energy and uptime of esp32. It seems that the network values of the meters have been reset over time in a different way and not the same.

In addition, my HA server is of the remote type as a VM on a cluster, and the esp32 are located in a remote area at about 200 meters from a air distance or the connection is via wifi in VPN.

Also from the photo the arrow indicates the arrangement of the two esp32, as written before can I have interference between them?

You could. I wouldn’t place them that close, but that probably isn’t the real issue.

It looks like your graphs are from different times. The goal is to see if the integration sensor resets happen when the esp32 resets. That is one issue. The solution to the integration sensor reset would be the restore option.

The 2nd issue is why is your esp32 resetting. There are many possibilities for that. It does appear to be resetting, but that might have been an expected reset.

At the moment thank you very much. Now I have separated them, but when disassembling I noticed that because of two screws that fix the esp32 to a wooden panel through plastic spacers the screws had moved the en buttons, I had to reinforce with a weld. I really hope that the cause was precisely this. We’ll see


Hi Neel, I wanted to share with us the progress of the reset of the esp32 sensors, which already after 3 days continue to work. Thank you for showing me the way to check the uptime. I also separated them and welded the connectors as I had already written in the previous post. You were of great help.

1 Like

Hello everyone, I wanted to update the post, because I noticed that the problem was not particularly related to the wifi distance between esp32 and victron, but by chance I noticed that following a malfunction of the access point, esp32 not having a stable signal lost the connection in a random way, so from what I read around a soft restart takes place resetting both the uptime parameter and that of the accumulated energy.

I don’t want to be presumptuous, but having this problem for a few days and now solved, the counter remains stable. I hope someone can intervene in the topic to provide more info.