Closed rosarch closed 2 months ago
Thanks for the report. The log shows the warning that's been reported in #60 also, and should now be fixed. However, this was only a warning and shouldn't have caused a 'Failed setup, will retry' error, I think. Was there anything else in the logs? Could you try V2.3.1 now please?
Thanks. I have tried the latest version and am still having the same issue.
It seems to be an Async_setup_entry exception - 'Failed setup, will retry'
(I have cleaned up the logs)
2024-07-05 19:41:43.006 DEBUG (MainThread) [custom_components.hypervolt_charger] Async_setup_entry enter, entry_id: 01J2232N0NGJKWFX99BZFDV4BN
2024-07-05 19:41:43.007 DEBUG (MainThread) [custom_components.hypervolt_charger.utils] get_version_from_manifest loading manifest: /config/custom_components/hypervolt_charger/manifest.json
2024-07-05 19:41:43.009 DEBUG (MainThread) [custom_components.hypervolt_charger.utils] get_version_from_manifest returning version: 2.3.1
2024-07-05 19:41:43.009 DEBUG (MainThread) [custom_components.hypervolt_charger.hypervolt_update_coordinator] Create_hypervolt_coordinator enter
2024-07-05 19:41:43.010 DEBUG (MainThread) [custom_components.hypervolt_charger.hypervolt_update_coordinator] Create_hypervolt_coordinator HypervoltApiClient created, charger_id: 202481599413613
2024-07-05 19:41:43.010 DEBUG (MainThread) [custom_components.hypervolt_charger.hypervolt_update_coordinator] HypervoltUpdateCoordinator init
2024-07-05 19:41:43.010 DEBUG (MainThread) [custom_components.hypervolt_charger.hypervolt_update_coordinator] Create_hypervolt_coordinator HypervoltUpdateCoordinator created
2024-07-05 19:41:43.010 DEBUG (MainThread) [custom_components.hypervolt_charger.hypervolt_update_coordinator] Hypervolt _update enter
2024-07-05 19:41:43.010 DEBUG (MainThread) [custom_components.hypervolt_charger.hypervolt_update_coordinator] HypervoltCoordinator _update, exception: InvalidAuth: No active session
2024-07-05 19:41:43.010 INFO (MainThread) [custom_components.hypervolt_charger.hypervolt_api_client] Attempting log in
2024-07-05 19:41:43.288 INFO (MainThread) [custom_components.hypervolt_charger.hypervolt_api_client] HypervoltApiClient logged in!
2024-07-05 19:41:43.289 DEBUG (MainThread) [custom_components.hypervolt_charger.hypervolt_api_client] notify_on_websocket sync, Task-2029, enter
2024-07-05 19:41:43.289 DEBUG (MainThread) [custom_components.hypervolt_charger.hypervolt_api_client] notify_on_websocket session/in-progress, Task-2030, enter
2024-07-05 19:41:43.402 DEBUG (MainThread) [custom_components.hypervolt_charger.hypervolt_api_client] Hypervolt charger schedule: {"type":"open","enabled":false}
2024-07-05 19:41:43.402 DEBUG (MainThread) [custom_components.hypervolt_charger.hypervolt_update_coordinator] Finished fetching hypervolt_charger data in 0.392 seconds (success: False)
2024-07-05 19:41:43.402 ERROR (MainThread) [custom_components.hypervolt_charger] Async_setup_entry exception.
2024-07-05 19:41:43.402 DEBUG (MainThread) [custom_components.hypervolt_charger.hypervolt_update_coordinator] HypervoltCoordinator async_unload
2024-07-05 19:41:43.403 DEBUG (MainThread) [custom_components.hypervolt_charger.hypervolt_api_client] Unload enter
2024-07-05 19:41:43.404 DEBUG (MainThread) [custom_components.hypervolt_charger.hypervolt_update_coordinator] notify_on_hypervolt_sync_push_task Task-2029 was cancelled :True
2024-07-05 19:41:43.404 DEBUG (MainThread) [custom_components.hypervolt_charger.hypervolt_update_coordinator] notify_on_hypervolt_session_in_progress_push_task Task-2030 was cancelled :True
2024-07-05 19:41:43.405 DEBUG (MainThread) [custom_components.hypervolt_charger.hypervolt_api_client] notify_on_websocket sync, Task-2029, cancelled (main try/catch)
2024-07-05 19:41:43.405 DEBUG (MainThread) [custom_components.hypervolt_charger.hypervolt_api_client] notify_on_websocket sync, Task-2029, exit
2024-07-05 19:41:43.425 DEBUG (MainThread) [custom_components.hypervolt_charger.hypervolt_api_client] notify_on_websocket session/in-progress, Task-2030, cancelled (main try/catch)
2024-07-05 19:41:43.425 DEBUG (MainThread) [custom_components.hypervolt_charger.hypervolt_api_client] notify_on_websocket session/in-progress, Task-2030, exit
As a quick test I briefly went back to v2.26 and this works without issues,
Thanks for the logs. I think I can see what's happening now. Please can you try V2.3.2
That has done the trick - thanks for the quick turnaround
Hypervolt 2.0 Charger
I have been running this HA addon without issue for a number of months, I have just applied the latest update and am now getting a 'Failed setup, will retry' error.
To rule out anything odd, I deleted the app and installed it again, I still have the same issue; I have confirmed I am adding the right username and password. The mobile app is working without issue.
Logs: