Describe the bug
I tried to upgrade to the latest version and Predbat is not stuck in a Boot crash loop. The predbat core update says that it is on V8.47.7 and wants to update to V8.48.1
Expected behaviour
I expected the update to happen and not crash
Predbat version
V8.47.7
Environment details
I've got a GivEnergy AIO and Gateway connected through GiveTCPV3.5
Home Assistant OS
Core 2026.8.1
Supervisor 2026.07.5
Operating System 18.2
Frontend 20260729.6
I didn't have a back-up of Predbat so I can't go back to a previous version. I've tried uninstalling and reinstalling Predbat but no joy. I've also tried rebooting HA.
I've attached the Log file from between the last two Killed statements
Screenshots
If applicable, add screenshots to help explain your problem. The most useful ones can be your battery chart, the Predbat HTML plan and your current settings in HA.
Log file
Killed
Running Predbat inside Add-on
Your API key is: ### REMOVED ###
[15:45:34] INFO: Predbat init script running
Bootstrap Predbat
Startup
Predbat files are installed correctly for version v8.47.7
**** Starting Standalone Predbat ****
2026-08-14 15:45:37.022733: Loading secrets from /homeassistant/secrets.yaml
2026-08-14 15:45:37.029391: Loading apps.yaml
2026-08-14 15:45:37.208338: Info: App slug is 6adb4f0d_predbat
2026-08-14 15:45:37.595687: Creating task: <coroutine object ComponentBase.start at 0x7fdb62ffba00>
2026-08-14 15:45:38.602004: Creating task: <coroutine object HAInterface.start at 0x7fdb5bd81460>
2026-08-14 15:45:38.620439: Info: Starting HA interface
2026-08-14 15:45:38.642596: Info: Start socket for url http://supervisor/core/api/websocket
2026-08-14 15:45:38.922338: Info: Web Socket active
2026-08-14 15:45:39.640156: Creating task: <coroutine object ComponentBase.start at 0x7fdb62ffbcc0>
2026-08-14 15:45:39.641657: Info: Starting HAHistory
2026-08-14 15:45:39.641789: Info: HAHistory: Pruning history data started.
2026-08-14 15:45:39.641921: Info: HAHistory: Pruning history data completed.
2026-08-14 15:45:40.641354: Creating task: <coroutine object WebInterface.start at 0x7fdb5bd96240>
Web interface started
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service init-predbat: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-timezone: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service init-predbat successfully stopped
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-timezone successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service init-predbat: starting
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service init-predbat successfully started
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
[16:00:07] INFO: Predbat init script running
Running Predbat inside Add-on
Your API key is: ### REMOVED ###
Add-on: Predbat
Home Battery Prediction and Control
Add-on version: 1.7.1
You are running the latest version of this add-on.
System: Home Assistant OS 18.2 (amd64 / qemux86-64)
Home Assistant Core: 2026.8.1
Home Assistant Supervisor: 2026.07.5
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-timezone: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
[16:00:08] INFO: Configuring timezone (Europe/London)...
s6-rc: info: service base-addon-log-level successfully started
Bootstrap Predbat
Startup
s6-rc: info: service base-addon-timezone successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
Predbat files are installed correctly for version v8.47.7
**** Starting Standalone Predbat ****
2026-08-14 16:00:10.121125: Loading secrets from /homeassistant/secrets.yaml
2026-08-14 16:00:10.125201: Loading apps.yaml
2026-08-14 16:00:10.188345: Info: App slug is 6adb4f0d_predbat
2026-08-14 16:00:10.215162: Creating task: <coroutine object ComponentBase.start at 0x7f017df3ba00>
2026-08-14 16:00:11.216532: Creating task: <coroutine object HAInterface.start at 0x7f0176d79460>
2026-08-14 16:00:11.218800: Info: Starting HA interface
2026-08-14 16:00:11.219186: Info: Start socket for url http://supervisor/core/api/websocket
2026-08-14 16:00:11.241445: Info: Web Socket active
2026-08-14 16:00:12.218635: Creating task: <coroutine object ComponentBase.start at 0x7f017df3bcc0>
2026-08-14 16:00:12.219529: Info: Starting HAHistory
2026-08-14 16:00:12.219642: Info: HAHistory: Pruning history data started.
2026-08-14 16:00:12.219690: Info: HAHistory: Pruning history data completed.
2026-08-14 16:00:12.220229: Creating task: <coroutine object WebInterface.start at 0x7f0176d8e240>
Web interface started
2026-08-14 16:00:15.885637: Creating task: <coroutine object ComponentBase.start at 0x7f017df3be20>
2026-08-14 16:00:16.887369: Creating task: <coroutine object ComponentBase.start at 0x7f0176ca4040>
2026-08-14 16:00:17.942432: Creating task: <coroutine object ComponentBase.start at 0x7f0176ca41a0>
2026-08-14 16:00:18.943284: Creating task: <coroutine object ComponentBase.start at 0x7f0176ca4300>
Killed
Predbat debug yaml file
This is important for any plan related issues.
Once you have captured the issue go to the Web UI, in the Dash tab click on predbat_debug.yaml and wait 30 seconds for it to download. Select 'keep' if your Web Browser thinks the file is dangerous.
Rename the download file to predbat_debug.yaml.txt and upload it to GitHub. This will allow your plan to be reproduced and also stores all your settings for review.
up
Describe the bug
I tried to upgrade to the latest version and Predbat is not stuck in a Boot crash loop. The predbat core update says that it is on V8.47.7 and wants to update to V8.48.1
Expected behaviour
I expected the update to happen and not crash
Predbat version
V8.47.7
Environment details
I've got a GivEnergy AIO and Gateway connected through GiveTCPV3.5
Home Assistant OS
Core 2026.8.1
Supervisor 2026.07.5
Operating System 18.2
Frontend 20260729.6
I didn't have a back-up of Predbat so I can't go back to a previous version. I've tried uninstalling and reinstalling Predbat but no joy. I've also tried rebooting HA.
I've attached the Log file from between the last two Killed statements
Screenshots
If applicable, add screenshots to help explain your problem. The most useful ones can be your battery chart, the Predbat HTML plan and your current settings in HA.
Log file
Killed
Running Predbat inside Add-on
Your API key is: ### REMOVED ###
[15:45:34] INFO: Predbat init script running
Bootstrap Predbat
Startup
Predbat files are installed correctly for version v8.47.7
**** Starting Standalone Predbat ****
2026-08-14 15:45:37.022733: Loading secrets from /homeassistant/secrets.yaml
2026-08-14 15:45:37.029391: Loading apps.yaml
2026-08-14 15:45:37.208338: Info: App slug is 6adb4f0d_predbat
2026-08-14 15:45:37.595687: Creating task: <coroutine object ComponentBase.start at 0x7fdb62ffba00>
2026-08-14 15:45:38.602004: Creating task: <coroutine object HAInterface.start at 0x7fdb5bd81460>
2026-08-14 15:45:38.620439: Info: Starting HA interface
2026-08-14 15:45:38.642596: Info: Start socket for url http://supervisor/core/api/websocket
2026-08-14 15:45:38.922338: Info: Web Socket active
2026-08-14 15:45:39.640156: Creating task: <coroutine object ComponentBase.start at 0x7fdb62ffbcc0>
2026-08-14 15:45:39.641657: Info: Starting HAHistory
2026-08-14 15:45:39.641789: Info: HAHistory: Pruning history data started.
2026-08-14 15:45:39.641921: Info: HAHistory: Pruning history data completed.
2026-08-14 15:45:40.641354: Creating task: <coroutine object WebInterface.start at 0x7fdb5bd96240>
Web interface started
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service init-predbat: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-timezone: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service init-predbat successfully stopped
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-timezone successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service init-predbat: starting
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service init-predbat successfully started
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
[16:00:07] INFO: Predbat init script running
Running Predbat inside Add-on
Your API key is: ### REMOVED ###
Add-on: Predbat
Home Battery Prediction and Control
Add-on version: 1.7.1
You are running the latest version of this add-on.
System: Home Assistant OS 18.2 (amd64 / qemux86-64)
Home Assistant Core: 2026.8.1
Home Assistant Supervisor: 2026.07.5
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-timezone: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
[16:00:08] INFO: Configuring timezone (Europe/London)...
s6-rc: info: service base-addon-log-level successfully started
Bootstrap Predbat
Startup
s6-rc: info: service base-addon-timezone successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
Predbat files are installed correctly for version v8.47.7
**** Starting Standalone Predbat ****
2026-08-14 16:00:10.121125: Loading secrets from /homeassistant/secrets.yaml
2026-08-14 16:00:10.125201: Loading apps.yaml
2026-08-14 16:00:10.188345: Info: App slug is 6adb4f0d_predbat
2026-08-14 16:00:10.215162: Creating task: <coroutine object ComponentBase.start at 0x7f017df3ba00>
2026-08-14 16:00:11.216532: Creating task: <coroutine object HAInterface.start at 0x7f0176d79460>
2026-08-14 16:00:11.218800: Info: Starting HA interface
2026-08-14 16:00:11.219186: Info: Start socket for url http://supervisor/core/api/websocket
2026-08-14 16:00:11.241445: Info: Web Socket active
2026-08-14 16:00:12.218635: Creating task: <coroutine object ComponentBase.start at 0x7f017df3bcc0>
2026-08-14 16:00:12.219529: Info: Starting HAHistory
2026-08-14 16:00:12.219642: Info: HAHistory: Pruning history data started.
2026-08-14 16:00:12.219690: Info: HAHistory: Pruning history data completed.
2026-08-14 16:00:12.220229: Creating task: <coroutine object WebInterface.start at 0x7f0176d8e240>
Web interface started
2026-08-14 16:00:15.885637: Creating task: <coroutine object ComponentBase.start at 0x7f017df3be20>
2026-08-14 16:00:16.887369: Creating task: <coroutine object ComponentBase.start at 0x7f0176ca4040>
2026-08-14 16:00:17.942432: Creating task: <coroutine object ComponentBase.start at 0x7f0176ca41a0>
2026-08-14 16:00:18.943284: Creating task: <coroutine object ComponentBase.start at 0x7f0176ca4300>
Killed
Predbat debug yaml file
This is important for any plan related issues.
Once you have captured the issue go to the Web UI, in the Dash tab click on predbat_debug.yaml and wait 30 seconds for it to download. Select 'keep' if your Web Browser thinks the file is dangerous.
Rename the download file to predbat_debug.yaml.txt and upload it to GitHub. This will allow your plan to be reproduced and also stores all your settings for review.
up