Open mzaufl opened 2 months ago
Same issue here, unfortunately. Seem, this may be some access/communication error.
Any idea how to solve this issue?
Are you getting energy usage data in the app? If yes, it's a difference in how your setup queries the API. It would require reverse engineering to find out how your system is getting energy data.
If you're not getting any energy data in the app, then this log message is expected.
Are you getting energy usage data in the app?
No, my app does NOT work also since then. The following message is being displayed on my smartphone:
Unknown Error: Unknown error occured while loading data from you heating system. Try again in couple of minutes.
I tried to logout/login back but it doesn't help.
My App works fine and I'm getting no energy data in the App. I'll check it again after starting heating. Just now my device only provides hot water.
Actually all the sensors of myVAILLANT integration are being skipped (remain unavailable
)
What can I do to fix it? Please, advise.
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." }
'''
Yeah have the same together with another quota error:
Error fetching myVAILLANT data: Quota Exceeded on https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/emf/v2/ac07dd0a-01cc-4f25-a8e4-a13d7103dc7e/devices/21aebf05-1ded-5859-a968-020f41de8103/buckets?resolution=HOUR&operationMode=COOLING&energyType=CONSUMED_ELECTRICAL_ENERGY&startDate=2024-10-24T00:00:00.000%2B02:00&endDate=2024-10-25T00:00:00.000%2B02:00, skipping update of myVAILLANT data for another 10761s
I am getting the same error since a few weeks. I also don't get energy data in the app. When i deactivate the integration for some hours the app is working again. After activating it again i get values once and then the Quota is exceeded again. Using standard polling settings.
Before submitting a new issue
Problem description
During HA-start, the following warning will be logged:
Logger: custom_components.mypyllant.sensor Quelle: custom_components/mypyllant/sensor.py:223 Integration: myVAILLANT (Dokumentation, Probleme) Erstmals aufgetreten: 07:20:35 (1 Vorkommnisse) Zuletzt protokolliert: 07:20:35
No daily data, skipping sensors
Logs