SonoffLAN: Cloud error: cannot found access token info
All of my entities suddenly stopped working today after a long time of not touching anything. I can log in to ewelink normally, tried re-adding the integration.
From debug page:
2022-12-17 15:49:32 [D] CLOUD None => None
2022-12-17 15:49:32 [W] Can't load devices| File "/config/custom_components/sonoff/__init__.py", line 199, in internal_normal_setup| devices = await registry.cloud.get_devices(homes)|Exception: cannot found access token info|
2022-12-17 15:49:33 [D] 7 devices loaded from Cache
...
...
2022-12-17 15:49:33 [D] AUTO mode start
2022-12-17 15:49:33 [D] 100178fa3c <= Local0 | {'switch': 'off', 'startup': 'off', 'pulseConfig': {'pulse': 'off', 'switch': 'off', 'pulseWidth': 500}, 'sledOnline': 'on', 'tempUnit': 0, 'timeZone': 2, 'sensorType': 'AM2301', 'currentTemperature': '7.7', 'currentHumidity': '67.5', 'autoControlEnabled': 0, 'fwVersion': '1.0.2', 'rssi': -71} | 778384
2022-12-17 15:49:33 [E] Cloud WS exception| File "/config/custom_components/sonoff/core/ewelink/cloud.py", line 318, in connect| raise Exception(resp)|Exception: {'error': 406, 'apikey': 'XXXXX', 'sequence': '1671288573520', 'actionName': 'userOnline'}|
2022-12-17 15:49:33 [D] CLOUD None => False
2022-12-17 15:49:33 [D] Cloud connection retrying in 15 seconds
2022-12-17 15:49:33 [D] Add 22 entities
2022-12-17 15:49:33 [D] Add 22 entities
cannot found access token info - is this tied to dev token maybe? Then everyone would have the same issue?
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 30 (1 by maintainers)
It was temporary cloud bug
I am the person who opened the issue, and my issue self-resolved after some readding/reloading/restarting both in HA and in eWeLink. I suspect that you are right, something is messy with the integration when an outage happens, confirmed by several people reporting the same issue at the same time.
Ive upgraded home assistant and home assitant core to the latest version and all seems to work again.