Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

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

Open
cyberrock opened this issue Sep 14, 2020 · 14 comments
Open

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

cyberrock opened this issue Sep 14, 2020 · 14 comments

Comments

@cyberrock
Copy link

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
Copy link

ghost commented Sep 15, 2020

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

@nikolas22t
Copy link

same error on Home Assistant 0.115.0

@vangelis86
Copy link

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
Copy link

tdroza commented Sep 17, 2020

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
Copy link

thoompje commented Sep 17, 2020

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
Copy link

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

@cyberrock
Copy link
Author

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
Copy link

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
Copy link

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
Copy link

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
Copy link

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

@pristis
Copy link

pristis commented Sep 23, 2020

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

@tyjtyj
Copy link

tyjtyj commented Sep 27, 2020

I posted a fix here incase someone still needed it

#261

@ghost
Copy link

ghost commented Sep 27, 2020

I posted a fix here incase someone still needed it

#261

It works! Thank you tyjtyj!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants