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

all sonoff lights are now, entity not available.

Open cyberrock opened this issue 4 years ago • 14 comments

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.

cyberrock avatar Sep 14 '20 00:09 cyberrock

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

ghost avatar Sep 15 '20 14:09 ghost

same error on Home Assistant 0.115.0

nikolas22t avatar Sep 17 '20 18:09 nikolas22t

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'].

vangelis86 avatar Sep 17 '20 18:09 vangelis86

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)

tdroza avatar Sep 17 '20 20:09 tdroza

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.

thoompje avatar Sep 17 '20 20:09 thoompje

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

artipixel avatar Sep 17 '20 23:09 artipixel

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

cyberrock avatar Sep 18 '20 00:09 cyberrock

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

pip3 install uuid

Not tested

vangelis86 avatar Sep 18 '20 06:09 vangelis86

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.

thoompje avatar Sep 18 '20 07:09 thoompje

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.

artipixel avatar Sep 20 '20 18:09 artipixel

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

lbouriez avatar Sep 21 '20 15:09 lbouriez

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

pristis avatar Sep 23 '20 16:09 pristis

I posted a fix here incase someone still needed it

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

tyjtyj avatar Sep 27 '20 04:09 tyjtyj

I posted a fix here incase someone still needed it

#261

It works! Thank you tyjtyj!

ghost avatar Sep 27 '20 09:09 ghost