HASS-sonoff-ewelink
HASS-sonoff-ewelink copied to clipboard
First setup issues
Hi,
I've setup a headless RPi 3B+ with hassio. I am not getting this working... What I've done is the following:
Changes made according to specifications in configuration.yaml aswell as copied the *.py files to .homeassistant/custom_components/sonoff/
First issue log
Logginformation (ERROR) Logger: homeassistant.setup Source: setup.py:127 First occurred: 13:26:17 (8 occurrences) Last logged: 13:26:17
Setup failed for entity_prefix: Integration not found. Setup failed for username: Integration not found. Setup failed for grace_period: Integration not found. Setup failed for sonoff: Integration not found. Setup failed for debug: Integration not found.
Second issue log
Logginformation (ERROR) Logger: homeassistant.loader Source: custom_components/sonoff/init.py:28 First occurred: 13:26:17 (1 occurrences) Last logged: 13:26:17
Error loading custom_components.sonoff. Make sure all dependencies are installed Traceback (most recent call last): File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/loader.py", line 436, in _load_file module = importlib.import_module(path) File "/usr/lib/python3.7/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "
", line 1006, in _gcd_import File " ", line 983, in _find_and_load File " ", line 967, in _find_and_load_unlocked File " ", line 677, in _load_unlocked File " ", line 728, in exec_module File " ", line 219, in _call_with_frames_removed File "/home/homeassistant/.homeassistant/custom_components/sonoff/init.py", line 28, in import websocket ModuleNotFoundError: No module named 'websocket'
Any ideas?
If you used virtual environment:
- enter virtual env
-
pip3 install websocket-client
ORpip install websocket-client
.
And you should good to go