signalkraft / myPyllant

A Python library to interact with the API behind the myVAILLANT app
MIT License
44 stars 17 forks source link

Probleme mit der API - Error fetching myVAILLANT data: 403, message='Forbidden' #57

Closed grex67 closed 8 months ago

grex67 commented 9 months ago

Hallo, Ich habe MyVaillant nun in meinen HomeAsisstant integriert und den HUB eingerichtet, hier kann ich mich auch mit meinen Zugangsdaten Authentifizieren.

Aber ich bekomme eine Fehlermeldung, Error fetching myVAILLANT data: 403, message='Forbidden' sobald ich auf die Kunden API des Server zugreifen möchte.

Es geht um diese URL: https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/systems/None/meta-info/time-zone

Hier noch ein Logfileauszug

MyVailland Debug Log

2024-02-07 10:42:53.789 DEBUG (MainThread) [custom_components.mypyllant] Starting mypyllant component v0.7.2 (library 0.7.7) with homeassistant 2024.1.6, dacite 1.8.1, and aiohttp 3.9.3 2024-02-07 10:42:53.790 DEBUG (MainThread) [custom_components.mypyllant] Creating API and logging in with [my@mailadress(mailto:my@mailadress) in realm germany 2024-02-07 10:42:57.981 DEBUG (MainThread) [custom_components.mypyllant] Refreshing SystemCoordinator 2024-02-07 10:42:57.981 DEBUG (MainThread) [custom_components.mypyllant] Starting async update data for SystemCoordinator 2024-02-07 10:42:57.981 DEBUG (MainThread) [custom_components.mypyllant] Waiting 119s until token refresh for my@mailadress 2024-02-07 10:42:58.314 ERROR (MainThread) [custom_components.mypyllant] Error fetching myVAILLANT data: 403, message='Forbidden', url=URL('https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/systems/None/meta-info/time-zone') 2024-02-07 10:42:58.315 DEBUG (MainThread) [custom_components.mypyllant] Finished fetching myVAILLANT data in 0.334 seconds (success: False) 2024-02-07 10:42:58.315 DEBUG (MainThread) [custom_components.mypyllant] Refreshing DailyDataCoordinator 2024-02-07 10:42:58.315 DEBUG (MainThread) [custom_components.mypyllant] Starting async update data for DailyDataCoordinator 2024-02-07 10:42:58.315 DEBUG (MainThread) [custom_components.mypyllant] Waiting 119s until token refresh for my@mailadresst 2024-02-07 10:42:58.436 ERROR (MainThread) [custom_components.mypyllant] Error fetching myVAILLANT data: 403, message='Forbidden', url=URL('https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/systems/None/meta-info/time-zone') 2024-02-07 10:42:58.436 DEBUG (MainThread) [custom_components.mypyllant] Finished fetching myVAILLANT data in 0.121 seconds (success: False) 2024-02-07 10:42:58.444 WARNING (MainThread) [custom_components.mypyllant.binary_sensor] No system data, skipping binary sensors 2024-02-07 10:42:58.444 WARNING (MainThread) [custom_components.mypyllant.calendar] No system data, skipping calendar entities 2024-02-07 10:42:58.444 WARNING (MainThread) [custom_components.mypyllant.climate] No system data, skipping climate 2024-02-07 10:42:58.444 WARNING (MainThread) [custom_components.mypyllant.datetime] No system data, skipping date time entities 2024-02-07 10:42:58.445 WARNING (MainThread) [custom_components.mypyllant.number] No system data, skipping number entities 2024-02-07 10:42:58.445 WARNING (MainThread) [custom_components.mypyllant.sensor] No system data, skipping sensors 2024-02-07 10:42:58.445 DEBUG (MainThread) [custom_components.mypyllant.sensor] Daily data: None 2024-02-07 10:42:58.445 WARNING (MainThread) [custom_components.mypyllant.sensor] No daily data, skipping sensors 2024-02-07 10:42:58.445 WARNING (MainThread) [custom_components.mypyllant.switch] No system data, skipping switch entities 2024-02-07 10:42:58.445 WARNING (MainThread) [custom_components.mypyllant.water_heater] No system data, skipping water heater

signalkraft commented 9 months ago

Du hast scheinbar in deinem Benutzer noch kein System hinterlegt, funktioniert die myVAILLANT app denn schon?