Closed ivenhov closed 2 weeks ago
What version are you using, I thought I had fixed a few of those issues already?
I was on 7.22.2 back then, currently on 7.22.5. Just did the restart test and Predbat started OK so I guest that has been fixed. I still see some warnings on startup but it settles down after 1-2 attempts and I know this is work in progress anyway. I guess Predbat can ignore the errors if it knows HA's uptime is only few minutes? Just an idea.
Thanks for the great piece of software btw.
I'm not sure if this should be here on in predbat repo
After successful migration from appdaemon version to addon everything was working as expected. Full restart of the HA caused the following though
This was happening in a tight loop. Restart of the addon fixed the problem.
2024-06-06 00:37:07.037832: Info: Start socket for url http://supervisor/core/api/websocket 2024-06-06 00:37:16.090140: Loading apps.yaml 2024-06-06 00:37:16.118438: Predbat: Startup predbat 2024-06-06 00:37:16.148738: --------------- PredBat - update at 2024-06-06 00:35:00+01:00 with clock skew 0 minutes, minutes now 35 2024-06-06 00:37:16.148939: Config root is /config 2024-06-06 00:37:16.159226: Info: Connected to Home Assistant at http://supervisor/core 2024-06-06 00:37:16.159507: Creating task: <coroutine object HAInterface.socketLoop at 0x7f5b09b19930> 2024-06-06 00:37:16.160101: Info: Start socket for url http://supervisor/core/api/websocket 2024-06-06 00:37:16.160292: Info: Web Socket task started 2024-06-06 00:37:16.160619: Sanity check: 2024-06-06 00:37:16.160743: Sanity scan files in '/config' : ['predbat.py', 'predbat_dashboard.yaml', 'predbat_v7.22.2.zip', 'predbat.log.1', 'predbat_save', 'apps-brandnew.yaml', 'hass.py', 'apps.yaml', 'unzip', 'predbat.log'] 2024-06-06 00:37:16.160803: Warn: unable to find /config/appdaemon.yaml skipping checks as maybe outside AppDaemon 2024-06-06 00:37:16.198117: Info: Web Socket active ...