HASS-sonoff-ewelink icon indicating copy to clipboard operation
HASS-sonoff-ewelink copied to clipboard

Check config stuck on loop

Open Poker1410 opened this issue 4 years ago • 11 comments

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 protected]
  password: password
  scan_interval: 60 
  grace_period: 600 
  api_region: 'cn' 

Poker1410 avatar Oct 07 '20 15:10 Poker1410

same here

DomBros avatar Oct 17 '20 12:10 DomBros

Same issue for me.

williamd314 avatar Oct 18 '20 21:10 williamd314

Same problem!

beke76 avatar Oct 21 '20 19:10 beke76

Same issue.

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

dtalens avatar Nov 06 '20 14:11 dtalens

Same issue here.

jamess5 avatar Nov 10 '20 19:11 jamess5

any solution to that?

Horusek avatar Nov 18 '20 22:11 Horusek

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

MikeColza avatar Nov 22 '20 15:11 MikeColza

same issue. Solution #272 don't work

egon013 avatar Nov 23 '20 20:11 egon013

Try this: pip3 install uuid

kocsis-antal avatar Dec 07 '20 11:12 kocsis-antal

Another fix in #263

kocsis-antal avatar Dec 07 '20 11:12 kocsis-antal

@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?

hansharhoff avatar Dec 30 '20 14:12 hansharhoff