HASS-sonoff-ewelink: Sonoff BASIC component hangs HA start
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.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15 (3 by maintainers)
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
solved for me too! Great job @browetd
@browetd Thank you for the tip. it worked for me too. I just added the manifest.json file with the content you mentioned in the location you mentioned and restarted my HA. All my Sonoff appeared immediately.
Looks like I solved mine, but not sure how. Here is what I did (as far as I remember):
1- I applied @browetd solution and restated through Webinterface (I assume it only restarted the docker container) 2- As soon as it was still not working, I went deaper and read @browetd was speaking of Python3 while python was only 2.7.17 on my Hassio host. I Installed Python 3.7.5. 3- (I updated my SSL certificate which was expired - I don’t know if it can be any important) 4- I restarted the whole HOST (sudo reboot on the docker host)
Then it is ok ! I have no idea which point solved the issue or if a combination of several. If any dev/pro need any other information, I’ll be pleased to help.