-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Seems that AlphaESS is doing maintenance during end of year break period
Since this morning 29/12 UTC +13 I get the following exception in my HA logs, this is when it started
2023-12-29 01:35:17.654 ERROR (MainThread) [alphaess.alphaess] 502, message='Bad Gateway', url=URL('https://openapi.alphaess.com/api/getEssList')
2023-12-29 01:35:17.655 ERROR (MainThread) [alphaess.alphaess] Error: 502, message='Bad Gateway', url=URL('https://openapi.alphaess.com/api/getEssList') when calling https://openapi.alphaess.com/api/getEssList
2023-12-29 01:35:17.655 ERROR (MainThread) [alphaess.alphaess] 'NoneType' object is not iterable
2023-12-29 01:35:17.655 ERROR (MainThread) [custom_components.alphaess] Unexpected error fetching alphaess data: 'NoneType' object is not iterable
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 300, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/alphaess/coordinator.py", line 30, in _async_update_data
jsondata: json = await self.api.getdata()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/alphaess/alphaess.py", line 301, in getdata
for unit in units:
TypeError: 'NoneType' object is not iterable
2023-12-29 01:36:20.295 INFO (MainThread) [custom_components.alphaess] Fetching alphaess data recovered
2023-12-29 01:41:35.304 ERROR (MainThread) [alphaess.alphaess] Unexpected json_response : {'code': 6053, 'msg': 'The maximum number of requests has been reached', 'expMsg': None, 'data': None, 'extra': None} when calling https://openapi.alphaess.com/api/getDisChargeConfigInfo?sysSn=XXXXXXXXXXX
2023-12-29 01:42:38.653 ERROR (MainThread) [alphaess.alphaess] Unexpected json_response : {'code': 6053, 'msg': 'The maximum number of requests has been reached', 'expMsg': None, 'data': None, 'extra': None} when calling https://openapi.alphaess.com/api/getDisChargeConfigInfo?sysSn=XXXXXXXXXXX
and after updating core and restarting
2023-12-29 11:50:13.129 ERROR (MainThread) [alphaess.alphaess] Unexpected json_response : {'code': 6053, 'msg': 'The maximum number of requests has been reached', 'expMsg': None, 'data': None, 'extra': None} when calling https://openapi.alphaess.com/api/getDisChargeConfigInfo?sysSn=XXXXXXXXXXX
2023-12-29 11:51:16.260 ERROR (MainThread) [alphaess.alphaess] Unexpected json_response : {'code': 6053, 'msg': 'The maximum number of requests has been reached', 'expMsg': None, 'data': None, 'extra': None} when calling https://openapi.alphaess.com/api/getDisChargeConfigInfo?sysSn=XXXXXXXXXXX
2023-12-29 11:52:19.625 ERROR (MainThread) [alphaess.alphaess] Unexpected json_response : {'code': 6053, 'msg': 'The maximum number of requests has been reached', 'expMsg': None, 'data': None, 'extra': None} when calling https://openapi.alphaess.com/api/getDisChargeConfigInfo?sysSn=XXXXXXXXXXX
2023-12-29 11:53:22.283 ERROR (MainThread) [alphaess.alphaess] Unexpected json_response : {'code': 6053, 'msg': 'The maximum number of requests has been reached', 'expMsg': None, 'data': None, 'extra': None} when calling https://openapi.alphaess.com/api/getDisChargeConfigInfo?sysSn=XXXXXXXXXXX
Only getDischargeConfigInfo returns this error and all other calls work fine.
Confirmed using Postman to test all requests.
Metadata
Metadata
Assignees
Labels
No labels