-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed setup: Error setting up entry 127.0.0.1 for eufy_security #1274
Comments
v8.0.4 works well with HA 2024.9.2. I guess newer versions need HA updated. |
Somehow updating HA made it work for me as well. |
Actually my entities are not showing any states. Does anyone else know what's wrong? I feel like it has something to do with the fact that I'm using a shared account instead of my main but it worked fine before with the shared |
@omar10wahab just an FYI, i'm not using a shared account and getting this issue |
I'm currently running the following and getting this error. Will try and perform an update of HA over the next few evenings and report my findings:
Update 2024-01-08 Im going to go right up to 2025.1.1 and will presume now it will work all ok, but will report back any further findings. |
I can confirm changing to my main account did not make things better. I just realized I had to redownload hacs maybe something to do with the newest release. I'm going to tinker and redownload eufy packages and make sure ha os is up to date. I'm not sure how to read the logs to see if this are breaking but I saw timeout for battery status for my door lock. Idk how that helps me determine what the issue is because there's certain entities that don't populate data but the door lock and door camera devices populate and exist. |
TLDR: Check your ports. It has to be 3000 and doesn't like anything else. If you have something else using 3000, you have to change it on that side. I just spent hours trying to get this setup and kept running into this error. I finally found the fix! (your millage may vary) When I would use port 3000 on the add-on side (eufy-security-ws), it would give me errors but if I changed it to something else like 3003, it seemed to connect and find my devices. When I added the Eufy Security "device" and set the port to 3003, it would not like that and fail to connect with the same error mentioned here even thought he ports matched. The fix was to find what was using port 3000. In my case it was Z-Wave JS UI. I changed the port for that to 2999 so that port 3000 was now available. I changed the add-on/eufy-security-ws back to 3000 and then added the Eufy Security device and set that to 3000 and now everything works. |
Describe the bug
When starting integration, receiving the following error:
Logger: homeassistant.config_entries Source: config_entries.py:604 Error setting up entry 127.0.0.1 for eufy_security
To reproduce
Steps to reproduce the behavior:
Check the logs
Expected behavior
eufy_security to connect to eufy-security-ws
Additional information
Go to Settings -> System -> Repairs -> Click on 3 dots (...) -> System Information and get Version and Installation Type to below fields;
Hardware Information;
Debug Logs from Home Assistant (How to enable debug logs for eufy_security integration? #624) - Without this, I will automatically resolve this issue
Error setting up entry 127.0.0.1 for eufy_security
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/eufy_security/init.py", line 56, in async_setup_entry
await hass.config_entries.async_forward_entry_setups(config_entry, PLATFORMS)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2108, in async_forward_entry_setups
await integration.async_get_platforms(platforms)
File "/usr/src/homeassistant/homeassistant/loader.py", line 1177, in async_get_platforms
import_future.result()
File "/usr/src/homeassistant/homeassistant/loader.py", line 1177, in async_get_platforms
import_future.result()
File "/usr/src/homeassistant/homeassistant/loader.py", line 1177, in async_get_platforms
import_future.result()
[Previous line repeated 7 more times]
File "/usr/src/homeassistant/homeassistant/loader.py", line 1165, in async_get_platforms
platforms.update(self._load_platforms(platform_names))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1090, in _load_platforms
platform_name: self._load_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1264, in _load_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1296, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/loop.py", line 200, in protected_loop_func
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "/config/custom_components/eufy_security/alarm_control_panel.py", line 6, in
from homeassistant.components.alarm_control_panel import (
ImportError: cannot import name 'AlarmControlPanelState' from 'homeassistant.components.alarm_control_panel' (/usr/src/homeassistant/homeassistant/components/alarm_control_panel/init.py)
The text was updated successfully, but these errors were encountered: