peterbuga / HASS-sonoff-ewelink

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

Check config stuck on loop #265

Open Poker1410 opened 3 years ago

Poker1410 commented 3 years ago

Hi all I have Hass.io (64bit) installed on a RaspberryPi 4 8GB (32bit is not available on 8GB). I am trying to install the sonoff component but I am having problems with the configuration.yaml file.

As soon as I add to the config.yaml the sonoff lines, as per below, hassio's check config sits there and "thinks" with the spinning circle. If I comment the sonoff component in the config.yaml the check config gives me green light immediately. This makes me say that it is an issue with the sonoff config...? The .py files are saved, as per instructions, in custom_components/sonoff.

Restarting the raspberrypi is not an option because otherwise Hassio does not start anymore (I guess it is because it is trying to check config.yaml and gets "stuck"). hassio does not give any errors in the log.

Any help would be greatly appreciated!


sonoff:
  username: email@abcd.com
  password: password
  scan_interval: 60 
  grace_period: 600 
  api_region: 'cn' 
DomBros commented 3 years ago

same here

williamd314 commented 3 years ago

Same issue for me.

beke76 commented 3 years ago

Same problem!

dtalens commented 3 years ago

Same issue.

Component error: sonoff - Requirements for sonoff not found: ['uuid'].

jamess5 commented 3 years ago

Same issue here.

Horusek commented 3 years ago

any solution to that?

MikeColza commented 3 years ago

Same for me. I think i find solution: https://github.com/peterbuga/HASS-sonoff-ewelink/pull/272

egon013 commented 3 years ago

same issue. Solution #272 don't work

kocsis-antal commented 3 years ago

Try this: pip3 install uuid

kocsis-antal commented 3 years ago

Another fix in #263

hansharhoff commented 3 years ago

@kocsis-antal , where do I put in the pip3 install uuid command? On the terminal? I am able to log into ha host but I get "command not found" as root on the host. Am I missing some option for a terminal "inside" ha?