Closed 0crap closed 1 year ago
It's not only zero readings, but also simply wrong readings on the Total Production counter. Yesterday is a good example, all day a blue sky and little activity at home that day.
First a screenshot of the Total Production counter: A lot of irregularities shown (not a smooth curve) and a peak production value which is definitely not possible. The Enhase App shows the correct peak value:
Lastly the P1 measurement by Domoticz, which shows the return values. (Electricity "Smart meter" values.) Much more smooth curve is shown here:
So IMHO there seems something wrong with the script logic that creates the Envoy-S - total graph. Anything that can be done to improve this? Anyone that uses the script from H4nsie that is willing to add there Envoy-S total graph? I would love to have some comparison to see if I'm not the only one seeing this. Thx!
Could be a temporarly lost connection to the Envoy? It is known when one poll does not read, it is added to the next poll. That could explain the high readings.
The total production counter (kWh / day) is kept by the Envoy and read every time. So that value should always be correct.
Could be a temporarly lost connection to the Envoy? It is known when one poll does not read, it is added to the next poll. That could explain the high readings.
The total production counter (kWh / day) is kept by the Envoy and read every time. So that value should always be correct.
Sporadically, two times a week or so at a random day, I've noticed a temporary connection lost to the Envoy.
Edit: 2023-03-16 23:01:07.884 Error: Envoy-S hardware (6) thread seems to have ended unexpectedly
So that is not the case.
It seems very true that a missing value is added to the next one. That gives crazy spikes, especially mid day when the values are simply higher numbers. I'm not sure what the root cause is. For sure not nice this happens, next to being a messy graph, also peak power delivery (and possible clipping) can not be checked.
When it happens it seems a better idea to just ignore it and not add it to the next sample. Especially, like you say, the total production counter will always be correct. Best is to get it fixed and the graph looks like the individual panels. (Which do not suffer from this issue.)
To increase the polling frequency, you could change the value 2 to a value of 1 on line 50:
self.freq = 2 #multiplier for Domoticz.Heartbeat (no need to update frequent as Envoy itself is updated only every 5 minutes.)
To increase the polling frequency, you could change the value 2 to a value of 1 on line 50:
self.freq = 2 #multiplier for Domoticz.Heartbeat (no need to update frequent as Envoy itself is updated only every 5 minutes.)
Done, let's see if that improves things a bit... I'll report back.
Finally some sun to see how it goes.
Unfortunately setting self.freq = 1
does not help.
As you can see, the total counter is not a nice flat line as it should be, including a mistake which gives crazy offset. The panels give a graph that reflects the reality perfectly. (I had some clipping, so flat line from the panel is correct.) I hope the total counter can be fixed.
Any update on this one? Issue is still there.
If I change to self.freq = 4
the problem gets even worse.
For testing purposes, can we change the Total counter from a Type: P1 Smart Meter
to a Type: General, kWh
??
Happy to test if that gives better results.
Thx.
Switched to Domoticz native implementation.
Switched to Domoticz native implementation.
I would like too, but my Envoy is still on V5 and Domoticz native does not support V5 anymore...
See same kind of problems at HA implementation. https://gathering.tweakers.net/forum/list_message/75503342#75503342
My Envoy is updated to v7 and is supported by Domoticz's native implementation. Not maintaining this source anymore.
With the current script version I do notice some spikes that go to zero on the "Usage Last 3 Days - total counter". This must be a false recording, because it's not suddenly dark mid day and the output is 0 Watt. Also these spikes that go to zero are not seen on any of the Inverters - Generated Last 3 Days graphs themselves.
The total counter - Usage Last Week bar graphs seem to match with the daily recorded kWh as seen in the Enlighten App. So it seems the spikes that go to zero are only a graphical mismatch and not effecting the daily recorded kWh's.
Anyone else seeing this behavior?