peterbuga / HASS-sonoff-ewelink

Home Assistant component to control Sonoff/eWeLink devices with original firmware
MIT License
791 stars 296 forks source link

HA web interface not accessible with this component added to config files #205

Closed codeclinic closed 4 years ago

codeclinic commented 4 years ago

With the credentials / config for the component added to my HA configuration.yaml HA fails to startup properly and I cannot access the web interface. I tried running the debug script but this just results in a devices.json file with the following content:

{ "error": 400, "msg": "params incomplete" }

Any ideas on what I should do now. HA works fine with the config entry commented out.

codeclinic commented 4 years ago

After running the script manually it became evident that some of the dependencies were missing. These included:

websocket-client (NOT websocket) voluptuous

However, I'm still not able to get HA running to the point of getting in to the web interface. The logs don't show anything special even with the debugging option enabled and with the HA logging level set to Debug.

The farthest the logs show HA reaching is homeassistant.components.recorder Connected to recorder database.

codeclinic commented 4 years ago

It would probably help to mention the dependencies in the readme or even better to create a requirements file.

peterbuga commented 4 years ago

It would probably help to mention the dependencies in the readme

no need, they are installed automatically (or at least they should)

even better to create a requirements file

according to HA documentation custom components don't need it so i don't bother with it

ps: i find it unbelievable hard to believe you had to install voluptuous manually as this one is one of HA's extremely used package

codeclinic commented 4 years ago

no need, they are installed automatically (or at least they should) "or at least they should".... And when they aren't ???

ps: i find it unbelievable hard to believe you had to install voluptuous manually as this one is one of HA's extremely used package

I must be a idiot or a liar then.