OpenDTU icon indicating copy to clipboard operation
OpenDTU copied to clipboard

Power Value still shows up after Connection get lost

Open benedictjaeger opened this issue 2 years ago • 3 comments

What happened?

If the inverter no longer has a connection to the OpenDTU, the last indication of power is still displayed until a new value comes in.

To Reproduce Bug

Inverter is not available

Expected Behavior

Set Power to 0W after 30 seconds or variabel time if no connection to the inverter is established

Install Method

Pre-Compiled binary from GitHub

What git-hash/version of OpenDTU?

422d489

Relevant log/trace output

No response

Anything else?

No response

benedictjaeger avatar Jan 29 '23 16:01 benedictjaeger

confirmed, that's happening to me as well. Would be great to get a variable after that the timeout get's reseted to 0. 30 Seconds could be too low.

pijay01 avatar Jan 30 '23 11:01 pijay01

Isn't it better to check the variable "reachable" and as soon as it is "0" set the power to zero? Instead of setting a willy-nilly time intervall.

And also compare https://github.com/tbnobody/OpenDTU/discussions/498

muibusan avatar Feb 04 '23 09:02 muibusan

Your described way is a workaround, but I think this should be solved on the opendtu end. It should be fairly easy, check sunset, power and connectivity to the inverter and send a zero.

pijay01 avatar Feb 04 '23 14:02 pijay01

I can confirm this bug. This is especially problematic if data gets reported via MQTT because then ghost production is being recorded: grafik

markusdd avatar Mar 28 '23 00:03 markusdd

This happens with prometheus metrics endpoint also. And if you summarize values over time within grafana this values became a little to high. btw - this happens to most of the values.

tgruenert avatar Mar 28 '23 18:03 tgruenert

Duplicate of #498

tbnobody avatar Sep 07 '23 12:09 tbnobody

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns.

github-actions[bot] avatar Apr 03 '24 04:04 github-actions[bot]