Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Predbat crashes when can't connect to meteoalarm #2062

Open
gcoan opened this issue Feb 28, 2025 · 0 comments
Open

Predbat crashes when can't connect to meteoalarm #2062

gcoan opened this issue Feb 28, 2025 · 0 comments
Assignees

Comments

@gcoan
Copy link
Collaborator

gcoan commented Feb 28, 2025

Describe the bug
In brief (longer explanation below), when predbat tries to connect to meteoalarm (e.g. internet down), if this fails, then predbat crashes and stops executing the plan.

Could be similar to #2043

Longer version:

Took me a bit to work this out, but internet went down earlier today (twice) first time at about 13:28. I was unable to connect remotely and the GivEnergy app and portal showed that there were no updates received after 13:25.
I surmised (correctly) that the internet had gone down.

Looking at the predbat logs I can see it attempts to connect to meteoalarm, fails as the internet is down, crashes, and this process repeats until the internet comes back 2 hours later.

My inverters were left stuck in export and didn't start charging in the power up event at 13:30.
When internet came back at about 15:00 predbat correctly swapped inverters to charging mode.

Expected behaviour
Failure to connect to meteoalarm or indeed any external service including Octopus, Solcast, Github, etc should not be a fatal error. Wherever possible Predbat should continue executing the plan with the latest data it has

Predbat version
8.14.4

Environment details
GivTCP 3.04
HAOS 2025.2.5
Gen 1 hybrid inverter x2

Screenshots
GivTCP log shows no activity betweem 13:25 and 15:10
image

Home Assistant entity state show that HA was connected to the inverters OK, receiving PV power and exporting it, and receiving regular inverter time statii updates. However predbat stuck in force export mode
image

I don't have the actual plan, but it was to force export up to 13:30, then charge from 13:30 to 16:00 (2 hour power up then Cosy cheap rate), then Demand mode for the peak.

Log file
I'll try to capture the full logfile when I have better internet connection, but screenshots of the error:

image
image
image
image

@gcoan gcoan changed the title Predbat crashes when can't connect to metoalarm Predbat crashes when can't connect to meteoalarm Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants