Temporary fix HA 0.115 UUID issue. Setup failed for sonoff: Requirements for sonoff not found: ['uuid'].
See original GitHub issueUUID is some hex
Generate uuid from a python command
python -c 'import uuid; print(uuid.uuid4())'
or simply type any hex with the following format
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
eg. PLEASE CHANGE THIS 12345678-abcd-1234-abcd-123456789012
Open init.py file
Remove UUID requirement Line 45
REQUIREMENTS = ['websocket-client==0.54.0']
Comment out Line 210
#import uuid
Line 223
self._imei = 'your uuid here'
Issue Analytics
- State:
- Created 3 years ago
- Reactions:14
- Comments:10
Top Results From Across the Web
Sonoff /eWeLink component for original firmware
Temporary fix HA 0.115 UUID issue. Setup failed for sonoff: Requirements for sonoff not found: ['uuid']. UUID is some hex Generate uuid from...
Read more >How to Use SONOFF Dongle Plus on Home Assistant? How to ...
Just plug the dongle into your computer, it will be automatically discovered, click “CONFIGURE” to complete the configuration automatically, and ...
Read more >Update from 0.114.1 to 0.115.X breaking switches and more
Hi all, I had this issue when the 0.115 update was first announced ... Setup failed for sonoff: Requirements for sonoff not found:...
Read more >A subtraction of 2 sensor values in a Lovelace Gauge card
I tried them, restarted my pc, but no matter what I did HA could not find the ... get Setup failed for sonoff:...
Read more >HOW TO - Sonoff Zigbee 3.0 Dongle Plus in Home Assistant ...
In todays video we are looking at Sonoffs Zigbee 3.0 USB Dongle Plus. These dongles are great and come pre flashed with the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@tyjtyj You are right. But your line numbers are wrong, These are the correct ones.
Generate UUID from a python command python -c ‘import uuid; print(uuid.uuid4())’ or simply type any hex with the following format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Replace line 26:
REQUIREMENTS = ['uuid', 'websocket-client==0.54.0']
for this:REQUIREMENTS = ['websocket-client==0.54.0']
Line 121:
import uuid
for#import uuid
Line 134:
self._imei = str(uuid.uuid4())
forself._imei = 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
Sorry, I am completely stuck as a newbie.
I tried to install the AlexxIT-sonoff-ingetragtion with HACS, but I also ended up with this “requirements not found”-error.
I do not understand what to do with the phyton-command. It should not be added to the init-file, right?
I also checked my init-file but I could not find the mentioned lines. Searching the entire file for “requirements” or “websocket” failed.
This is how the first lines of my init-file look like: