mypyllant-component
mypyllant-component copied to clipboard
Could not load energy data
Before submitting a new issue
- [ ] I redownloaded the latest release and restarted Home Assistant
- [X] I've checked known issues
- [X] I've enabled debug logs and attached the relevant logs to this ticket
Problem description
Some entities show unavailable. Logs have exceptions with 4xx responses from API.
Logs
2025-05-01 10:26:25.020 WARNING (MainThread) [myPyllant.api] Could not get rooms data
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/myPyllant/api.py", line 1400, in get_ambisense_rooms
response = await self.aiohttp_session.get(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<2 lines>...
)
^
File "/usr/local/lib/python3.13/site-packages/myPyllant/http_client.py", line 30, in _request
return await super()._request(method, url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client.py", line 832, in _request
await raise_for_status(resp)
File "/usr/local/lib/python3.13/site-packages/myPyllant/http_client.py", line 83, in on_raise_for_status
response.raise_for_status()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client_reqrep.py", line 1161, in raise_for_status
raise ClientResponseError(
...<5 lines>...
)
aiohttp.client_exceptions.ClientResponseError: 409, message='Conflict', url='https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/api/v1/ambisense/facilities/22c942a9-c2d0-4da9-bd44-5c4afbe2fbe0/rooms'
2025-05-01 10:26:25.092 WARNING (MainThread) [myPyllant.api] Could not get energy management data
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/myPyllant/api.py", line 1323, in get_energy_management
response = await self.aiohttp_session.get(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<2 lines>...
)
^
File "/usr/local/lib/python3.13/site-packages/myPyllant/http_client.py", line 30, in _request
return await super()._request(method, url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client.py", line 832, in _request
await raise_for_status(resp)
File "/usr/local/lib/python3.13/site-packages/myPyllant/http_client.py", line 83, in on_raise_for_status
response.raise_for_status()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client_reqrep.py", line 1161, in raise_for_status
raise ClientResponseError(
...<5 lines>...
)
aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url='https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/eebus/energy-management/22c942a9-c2d0-4da9-bd44-5c4afbe2fbe0'
2025-05-01 10:26:29.499 DEBUG (MainThread) [custom_components.mypyllant] Creating API and logging in with XXXXX@XXXXX in realm spain
2025-05-01 10:26:30.568 DEBUG (MainThread) [custom_components.mypyllant] Refreshing SystemCoordinator
2025-05-01 10:26:30.568 DEBUG (MainThread) [custom_components.mypyllant.coordinator] Starting async update data for SystemCoordinator
2025-05-01 10:26:30.568 DEBUG (MainThread) [custom_components.mypyllant.coordinator] Waiting 119s until token refresh for XXXXX@XXXXX
2025-05-01 10:26:32.295 WARNING (MainThread) [myPyllant.api] Could not get rooms data
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/myPyllant/api.py", line 1400, in get_ambisense_rooms
response = await self.aiohttp_session.get(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<2 lines>...
)
^
File "/usr/local/lib/python3.13/site-packages/myPyllant/http_client.py", line 30, in _request
return await super()._request(method, url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client.py", line 832, in _request
await raise_for_status(resp)
File "/usr/local/lib/python3.13/site-packages/myPyllant/http_client.py", line 83, in on_raise_for_status
response.raise_for_status()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client_reqrep.py", line 1161, in raise_for_status
raise ClientResponseError(
...<5 lines>...
)
aiohttp.client_exceptions.ClientResponseError: 409, message='Conflict', url='https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/api/v1/ambisense/facilities/22c942a9-c2d0-4da9-bd44-5c4afbe2fbe0/rooms'
2025-05-01 10:26:32.413 WARNING (MainThread) [myPyllant.api] Could not get energy management data
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/myPyllant/api.py", line 1323, in get_energy_management
response = await self.aiohttp_session.get(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<2 lines>...
)
^
File "/usr/local/lib/python3.13/site-packages/myPyllant/http_client.py", line 30, in _request
return await super()._request(method, url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client.py", line 832, in _request
await raise_for_status(resp)
File "/usr/local/lib/python3.13/site-packages/myPyllant/http_client.py", line 83, in on_raise_for_status
response.raise_for_status()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client_reqrep.py", line 1161, in raise_for_status
raise ClientResponseError(
...<5 lines>...
)
aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url='https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/eebus/energy-management/22c942a9-c2d0-4da9-bd44-5c4afbe2fbe0'```
End of February the Vaillant endpoint has been changed. As there are no updates the past 3 months, it looks like the project is dead. If not, can somebody reverse engineer the new endpoint? Without Energy Consumption it makes no sence for me anymore.
i do have them
i also have no energy data anymore, same problem as above
Same to me
@antonio-fiol still an issue?
I still see this on the logs:
Could not get energy management data
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/myPyllant/api.py", line 1335, in get_energy_management
response = await self.aiohttp_session.get(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<2 lines>...
)
^
File "/usr/local/lib/python3.13/site-packages/myPyllant/http_client.py", line 30, in _request
return await super()._request(method, str_or_url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client.py", line 895, in _request
await raise_for_status(resp)
File "/usr/local/lib/python3.13/site-packages/myPyllant/http_client.py", line 82, in on_raise_for_status
raise e
File "/usr/local/lib/python3.13/site-packages/myPyllant/http_client.py", line 79, in on_raise_for_status
response.raise_for_status()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client_reqrep.py", line 629, in raise_for_status
raise ClientResponseError(
...<5 lines>...
)
aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found, response was: {"type":"about:blank","title":"Not Found","status":404,"detail":"Could not retrieve a energy management overview","instance":"/hem/ohpcf/22c942a9-c2d0-4da9-bd44-5c4afbe2fbe0"}', url='https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/eebus/energy-management/22c942a9-c2d0-4da9-bd44-5c4afbe2fbe0'
I'm actually getting quite a few more errors now (likely not related to this specific issue):
and this is on v0.9.6 -- upgrading now to latest.