signalkraft / mypyllant-component

Home Assistant component for the myVAILLANT API, controls Vaillant devices such as aroTHERM heatpumps and ecoTEC boilers
https://signalkraft.com/mypyllant-component/
MIT License
107 stars 19 forks source link

mypyllant no longer works after restarting HomeAssistant #159

Closed robertstahrkl closed 2 months ago

robertstahrkl commented 2 months ago

Problem description

Once again I have the problem that mypyllant (v0.8.2) no longer works after restarting HomeAssistant (2024.4.3 / OS 12.2). Last time I was able to solve the problem by adding my myvaillant account. I would be happy to provide further information or carry out tests if required. Thanks for this great expansion.

Logs

2024-04-22 13:22:02.645 DEBUG (MainThread) [custom_components.mypyllant] Starting mypyllant component v0.7.3 (library 0.8.9) with homeassistant 2024.4.3, pydantic 1.10.12, and aiohttp 3.9.4 2024-04-22 13:22:02.646 DEBUG (MainThread) [custom_components.mypyllant] Creating API and logging in with xxx@outlook.de in realm germany 2024-04-22 13:22:03.832 DEBUG (MainThread) [custom_components.mypyllant] Refreshing SystemCoordinator 2024-04-22 13:22:03.832 DEBUG (MainThread) [custom_components.mypyllant.coordinator] Starting async update data for SystemCoordinator 2024-04-22 13:22:03.833 DEBUG (MainThread) [custom_components.mypyllant.coordinator] Waiting 119s until token refresh for xxx@outlook.de 2024-04-22 13:22:04.207 ERROR (MainThread) [custom_components.mypyllant.coordinator] Error fetching myVAILLANT data: 404, message='Not Found', url=URL('https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/systems/xxx/meta-info/control-identifier') 2024-04-22 13:22:04.208 DEBUG (MainThread) [custom_components.mypyllant.coordinator] Finished fetching myVAILLANT data in 0.375 seconds (success: False) 2024-04-22 13:22:04.208 DEBUG (MainThread) [custom_components.mypyllant] Refreshing DailyDataCoordinator 2024-04-22 13:22:04.208 DEBUG (MainThread) [custom_components.mypyllant.coordinator] Starting async update data for DailyDataCoordinator 2024-04-22 13:22:04.208 DEBUG (MainThread) [custom_components.mypyllant.coordinator] Waiting 119s until token refresh for xxx@outlook.de 2024-04-22 13:22:04.447 ERROR (MainThread) [custom_components.mypyllant.coordinator] Error fetching myVAILLANT data: 404, message='Not Found', url=URL('https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/systems/xxx/meta-info/control-identifier') 2024-04-22 13:22:04.448 DEBUG (MainThread) [custom_components.mypyllant.coordinator] Finished fetching myVAILLANT data in 0.240 seconds (success: False) 2024-04-22 13:22:04.449 WARNING (MainThread) [custom_components.mypyllant.binary_sensor] No system data, skipping binary sensors 2024-04-22 13:22:04.450 WARNING (MainThread) [custom_components.mypyllant.calendar] No system data, skipping calendar entities 2024-04-22 13:22:04.451 WARNING (MainThread) [custom_components.mypyllant.climate] No system data, skipping climate 2024-04-22 13:22:04.452 WARNING (MainThread) [custom_components.mypyllant.datetime] No system data, skipping date time entities 2024-04-22 13:22:04.453 WARNING (MainThread) [custom_components.mypyllant.number] No system data, skipping number entities 2024-04-22 13:22:04.455 WARNING (MainThread) [custom_components.mypyllant.sensor] No system data, skipping sensors 2024-04-22 13:22:04.455 DEBUG (MainThread) [custom_components.mypyllant.sensor] Daily data: None 2024-04-22 13:22:04.456 WARNING (MainThread) [custom_components.mypyllant.sensor] No daily data, skipping sensors 2024-04-22 13:22:04.457 WARNING (MainThread) [custom_components.mypyllant.switch] No system data, skipping switch entities 2024-04-22 13:22:04.457 WARNING (MainThread) [custom_components.mypyllant.water_heater] No system data, skipping water heater

robertstahrkl commented 2 months ago

Apparently restarting the AmbiSense router helps here. I now have this automated accordingly.