question-mark
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.

Sonoff BASIC component hangs HA start

See original GitHub issue

Hi,

I downloaded the code and added to the folder but when I start the HA, it hangs on the following line:

de febr. 26 21:14:55 raspberrypi hass[3845]: 2020-02-26 21:14:55 INFO (MainThread) [homeassistant.setup] Setting up cloud
de febr. 26 21:14:55 raspberrypi hass[3845]: 2020-02-26 21:14:55 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 3.8 seconds.
de febr. 26 21:14:55 raspberrypi hass[3845]: 2020-02-26 21:14:55 INFO (MainThread) [homeassistant.setup] Setup of domain cloud took 0.1 seconds.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:15 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
browetdcommented, Mar 9, 2020

SOLVED !!!?

I made some additional tests… I restored my initial test environment: HA 0.106.5 running in a venv with python 3.8.2 on a raspberry pi4B (2GB).

I added the file manifest.json in custom_components/sonoff with the following content:

{ “domain”: “sonoff”, “name”: “Sonoff”, “documentation”: “https://github.com/peterbuga/HASS-sonoff-ewelink”, “requirements”: [“websocket-client==0.54.0”], “dependencies”: [], “codeowners”: [“@peterbuga”] }

IT IS WORKING FOR ME !!! SONOFF is finally loading… Check if this is not fixing your issue as well

2reactions
tteclescommented, Mar 9, 2020

solved for me too! Great job @browetd

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sonoff /eWeLink component for original firmware
I have HA in rp3+ and the sonoff componet is working fine. Thanks! However I just install HA in another machine with ubuntu....
Read more >
Sonoff server down? - Reddit
Ha, most of my devices are back on-line except of two that remains blinking. Power re-start did not help.
Read more >
ZigBee Bridge - sonoff.tech
Common Problems. Q: Why my device stays “Offline”? A: The newly added device needs 1 – 2mins to connect Wi-Fi and network. If...
Read more >
FAQ - Tasmota
Use an old router, a mobile phone or, if you're desperate, change the settings on your main router (but remember to turn authentication...
Read more >
GPIO Switch — ESPHome
Contact (no support!) ESPHome is an open source project by Nabu Casa · This site is powered by Netlify · Components ➔; Switch...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found