peterbuga / HASS-sonoff-ewelink

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

all sonoff lights are now, entity not available. #258

Open cyberrock opened 4 years ago

cyberrock commented 4 years ago

After a Hassio updated 2 weeks ago, I started getting error messages. My light switches are coming up as Entity not available. switch.sonoff.** This has been running perfectly and with out change for about 3-4 months

In the logs, I get Setup failed for sonoff: Requirements for sonoff not found: ['uuid'].

and there is another error message just before it, that may be apart of it:

Logger: homeassistant.util.package
Source: util/package.py:95
First occurred: 8:17:08 (1 occurrences)
Last logged: 8:17:08

Unable to install package uuid: ERROR: Could not find a version that satisfies the requirement uuid==1000000000.0.0 (from -c /usr/src/homeassistant/homeassistant/package_constraints.txt (line 51)) (from versions: 1.30) ERROR: No matching distribution found for uuid==1000000000.0.0 (from -c /usr/src/homeassistant/homeassistant/package_constraints.txt (line 51)) WARNING: You are using pip version 20.2.2; however, version 20.2.3 is available. You should consider upgrading via the '/usr/local/bin/python3 -m pip install --upgrade pip' command.
ghost commented 4 years ago

got same error All my light devices shows "unavailable" now

nikolas22t commented 4 years ago

same error on Home Assistant 0.115.0

vangelis86 commented 4 years ago

2020-09-17 21:08:20 ERROR (SyncWorker_10) [homeassistant.util.package] Unable to install package uuid: ERROR: Could not find a version that satisfies the requirement uuid==1000000000.0.0 (from -c /usr/src/homeassistant/homeassistant/package_constraints.txt (line 51)) (from versions: 1.30) ERROR: No matching distribution found for uuid==1000000000.0.0 (from -c /usr/src/homeassistant/homeassistant/package_constraints.txt (line 51)) 2020-09-17 21:08:20 ERROR (MainThread) [homeassistant.setup] Setup failed for sonoff: Requirements for sonoff not found: ['uuid'].

tdroza commented 4 years ago

I'm seeing the same errors reported above since upgrading to 0.115.0:

Setup failed for sonoff: Requirements for sonoff not found: ['uuid'].
20:11:32 – setup.py (ERROR)
Unable to install package uuid: ERROR: Could not find a version that satisfies the requirement uuid==1000000000.0.0 (from -c /usr/src/homeassistant/homeassistant/package_constraints.txt (line 51)) (from versions: 1.30) ERROR: No matching distribution found for uuid==1000000000.0.0 (from -c /usr/src/homeassistant/homeassistant/package_constraints.txt (line 51))
20:11:32 – util/package.py (ERROR)
thoompje commented 4 years ago

Same issue here, please somebody with an solution. Really appreciate that!!

[homeassistant.util.package] Unable to install package uuid: ERROR: Could not find a version that satisfies the requirement uuid==1000000000.0.0 (from -c /usr/src/homeassistant/homeassistant/package_constraints.txt (line 51)) (from versions: 1.30) ERROR: No matching distribution found for uuid==1000000000.0.0 (from -c /usr/src/homeassistant/homeassistant/package_constraints.txt (line 51)) 2020-09-17 22:48:36 ERROR (MainThread) [homeassistant.setup] Setup failed for sonoff: Requirements for sonoff not found: [‘uuid’]. 2020-09-17 22:48:38 ERROR (MainThread) [homeassistant.components.sensor] The openweathermap platform for the sensor integration does not support platform setup. Please remove it from your config.

artipixel commented 4 years ago

Same issue - Setup failed for sonoff: Requirements for sonoff not found: ['uuid'].

cyberrock commented 4 years ago

For any 1 interested, I removed this add on and installed https://github.com/AlexxIT/SonoffLAN it works the same but with more files

vangelis86 commented 4 years ago

A temporary workaround found here : https://community.home-assistant.io/t/sonoff-ewelink-component-for-original-firmware/81369/964

pip3 install uuid

Not tested

thoompje commented 4 years ago

For any 1 interested, I removed this add on and installed https://github.com/AlexxIT/SonoffLAN it works the same but with more files

This version is much better and did the trick! Thanks a lot.

artipixel commented 4 years ago

For any 1 interested, I removed this add on and installed https://github.com/AlexxIT/SonoffLAN it works the same but with more files

Exactly what I did at the end, works perfectly.

lbouriez commented 4 years ago

Same here, I also switched to the SonoffLAN and it works again.

pristis commented 4 years ago

I am working with SonoffLAN now. It's working.

tyjtyj commented 4 years ago

I posted a fix here incase someone still needed it

https://github.com/peterbuga/HASS-sonoff-ewelink/issues/261

ghost commented 4 years ago

I posted a fix here incase someone still needed it

261

It works! Thank you tyjtyj!