having sporadic issues with Energy metrics #150
Replies: 2 comments 11 replies
-
|
@libussa : Hi, What are you using to monitor routed energy already ? Is it the JSY that is connected to the ESP32 ?
This is not true. A counter that is always increasing is allowed to restart from 0: this is also what can happen even with shellys or water counter or basically any counter since at one point the value will reach the maximum possible amount of what can be stored and will overflow and restarts from 0, or the battery will be depleted and upon restart the counter will be 0. So always increasing does not mean that it cannot reset. I also have the same issue with my OpenDTU: each time I restart, I need to clean the energy counters that go wrong. This is annoying. They fixed the issue in 2023 in HA: home-assistant/core#72943 YaSolR does not keep track of counters: this is the hardware. But I suspect that what you see is that YaSolR receives 2 measures. Remember:
|
Beta Was this translation helpful? Give feedback.
-
|
@libussa @kumy : I have launched a release (v1.0.0-rc69) that should be available in 30 minutes and it includes the fix suggested by @kumy . The idea is not avoid publishing energy counters when their value is 0, because 0 could mean that the reads have expired, or that there is no measurement device setup (no jsy, no pzem) or that there is a read timeout / error. So YaSolR now only publishes energy values to MQTT if they are positive and non 0. I am waiting for your tests and feeback on this, thanks a lot! |
Beta Was this translation helpful? Give feedback.





Uh oh!
There was an error while loading. Please reload this page.
-
hey, about ~once a week I get a pretty annoying issue; the routed energy counter goes to 0 for a moment
pretty hard to debug as it happens quite infrequently 😕
What I can tell is that it's not tied to a reboot of yasolr, but that's about it.
The issue is that it completely messes up HA's energy dashboards, as they rely on the counter being always increasing. Every time I need to remove the bad value by hand.
Beta Was this translation helpful? Give feedback.
All reactions