mypyllant-component: No System Data available. Whole integration stopped working.
Before submitting a new issue
- I redownloaded the latest release and restarted Home Assistant
- I’ve checked known issues
- I’ve enabled debug logs and attached the relevant logs to this ticket
Problem description
Since over 2 days this integration doesn’t work for me.
I’m constantly getting this:
Actually all the sensors of myVAILLANT integration are being skipped (remain unavailable).
What can I do to fix it? Please, advise.
Logs
2024-10-04 10:32:55.909 DEBUG (MainThread) [custom_components.mypyllant] Refreshing SystemCoordinator
2024-10-04 10:32:55.909 DEBUG (MainThread) [custom_components.mypyllant.coordinator] Starting async update data for SystemCoordinator
2024-10-04 10:32:55.910 DEBUG (MainThread) [custom_components.mypyllant.coordinator] Waiting 119s until token refresh
2024-10-04 10:32:55.924 DEBUG (MainThread) [myPyllant.http_client] Starting GET to https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/homes
2024-10-04 10:32:56.140 DEBUG (MainThread) [custom_components.mypyllant.coordinator] Quota was hit 0s ago on 2024-10-04 08:32:56.140637+00:00
Traceback (most recent call last):
File "/config/custom_components/mypyllant/coordinator.py", line 177, in _async_update_data
data = [
^
File "/usr/local/lib/python3.12/site-packages/myPyllant/api.py", line 337, in get_systems
async for home in homes:
File "/usr/local/lib/python3.12/site-packages/myPyllant/api.py", line 294, in get_homes
async with self.aiohttp_session.get(
File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 1355, in __aenter__
self._resp: _RetType = await self._coro
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 787, in _request
await raise_for_status(resp)
File "/usr/local/lib/python3.12/site-packages/myPyllant/http_client.py", line 73, in on_raise_for_status
response.raise_for_status()
File "/usr/local/lib/python3.12/site-packages/aiohttp/client_reqrep.py", line 1121, in raise_for_status
raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 403, message='Quota Exceeded', url='https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/homes'
2024-10-04 10:32:56.168 ERROR (MainThread) [custom_components.mypyllant.coordinator] Error fetching myVAILLANT data: Quota Exceeded on https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/homes, skipping update of myVAILLANT data for another 10800s
2024-10-04 10:32:56.168 DEBUG (MainThread) [custom_components.mypyllant.coordinator] Finished fetching myVAILLANT data in 0.259 seconds (success: False)
2024-10-04 10:32:56.169 DEBUG (MainThread) [custom_components.mypyllant] Refreshing DailyDataCoordinator
2024-10-04 10:32:56.169 DEBUG (MainThread) [custom_components.mypyllant.coordinator] Quota was hit 0s ago on 2024-10-04 08:32:56.140637+00:00
Traceback (most recent call last):
File "/config/custom_components/mypyllant/coordinator.py", line 177, in _async_update_data
data = [
^
File "/usr/local/lib/python3.12/site-packages/myPyllant/api.py", line 337, in get_systems
async for home in homes:
File "/usr/local/lib/python3.12/site-packages/myPyllant/api.py", line 294, in get_homes
async with self.aiohttp_session.get(
File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 1355, in __aenter__
self._resp: _RetType = await self._coro
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 787, in _request
await raise_for_status(resp)
File "/usr/local/lib/python3.12/site-packages/myPyllant/http_client.py", line 73, in on_raise_for_status
response.raise_for_status()
File "/usr/local/lib/python3.12/site-packages/aiohttp/client_reqrep.py", line 1121, in raise_for_status
raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 403, message='Quota Exceeded', url='https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/homes'
2024-10-04 10:32:56.197 ERROR (MainThread) [custom_components.mypyllant.coordinator] Error fetching myVAILLANT data: Quota Exceeded on https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/homes, skipping update of myVAILLANT data for another 10800s
2024-10-04 10:32:56.197 DEBUG (MainThread) [custom_components.mypyllant.coordinator] Finished fetching myVAILLANT data in 0.028 seconds (success: False)
When checking the url url='https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/homes' from the log above I’m getting this:
{ "statusCode": 401, "message": "Access denied due to missing subscription key. Make sure to include subscription key when making requests to an API." }
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 32 (3 by maintainers)
https://github.com/signalkraft/mypyllant-component/releases/tag/v0.8.17 should work, thanks for the test data.
Thanks; it works 👍🏻
Unfortunately 0.8.16 does not resolve the issue with ZoneCooling for me.
This error originated from a custom integration.
Logger: custom_components.mypyllant.coordinator Source: helpers/update_coordinator.py:354 integration: myVAILLANT (documentation, issues) First occurred: 22:20:43 (2 occurrences) Last logged: 22:20:43
Unexpected error fetching myVAILLANT data Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py”, line 354, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/config/custom_components/mypyllant/coordinator.py”, line 177, in _async_update_data data = [ ^ File “/usr/local/lib/python3.12/site-packages/myPyllant/api.py”, line 358, in get_systems system = System.from_api( ^^^^^^^^^^^^^^^^ File “/usr/local/lib/python3.12/site-packages/myPyllant/models.py”, line 945, in from_api Zone.from_api( File “/usr/local/lib/python3.12/site-packages/myPyllant/models.py”, line 441, in from_api return super().from_api(**data) ^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/local/lib/python3.12/site-packages/myPyllant/models.py”, line 83, in from_api return cls(**data) ^^^^^^^^^^^ File “pydantic/dataclasses.py”, line 332, in pydantic.dataclasses._add_pydantic_validation_attributes.new_init File “pydantic/dataclasses.py”, line 447, in pydantic.dataclasses._dataclass_validate_values pydantic.error_wrappers.ValidationError: 1 validation error for Zone cooling ZoneCooling.init() missing 4 required positional arguments: ‘control_identifier’, ‘setpoint_cooling’, ‘operation_mode_cooling’, and ‘time_program_cooling’ (type=type_error)