Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

All Sonoff devices/entities on HA unavailable, while still working in eWeLink

See original GitHub issue

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/", line 199, in internal_normal_setup|    devices = await|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/", 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?

Issue Analytics

  • State:open
  • Created 9 months ago
  • Comments:16

github_iconTop GitHub Comments

Sereen666commented, Dec 18, 2022

Ive upgraded home assistant and home assitant core to the latest version and all seems to work again.

fuzzybear62commented, Dec 21, 2022

Same problem 2022.12.7 release

Read more comments on GitHub >

github_iconTop Results From Across the Web

Control Sonoff Devices with eWeLink (original) firmware over ...
Pros: work with original Sonoff firmware work over local network (LAN) work with devices without DIY-mode work with devices in DIY-mode ...
Read more >
How SONOFF Works with Home Assistant
Open eWeLink Smart Home Add-on, click Sync Home Assistant Devices and you will see the Devices List, enable its toggle switch on the...
Read more >
UPDATED eWeLink add-on V1.3.3 for Home Assistant
Wall switches, outlets, light bulbs, light strips, and ZigBee sensors are supported now like SONOFF devices are supported now, but some features ...
Read more >
Shelly support group (English Version) | How can a device ...
How can a device show up as OFFLINE on shelly app but working properly on Home ... Has anyone managed to intergrate all...
Read more >
Integrate ewelink / Sonoff with Home Assistant - YouTube
ewelink #Home_assistant #sonoffIntegrate All your sonoff and ewelink devices with Home Assistant and control them from Home Assistant ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found