Logger: homeassistant.setup
Source: setup.py:398
First occurred: 18:28:55 (1 occurrences)
Last logged: 18:28:55
Error during setup of component eufy
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/homeassistant/setup.py", line 398, in _async_setup_component
result = await task
^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/homeassistant/components/eufy/__init__.py", line 62, in setup
data = lakeside.get_devices(
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/lakeside/__init__.py", line 39, in get_devices
token = r.json()['access_token']
~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: 'access_token'
I am hitting this same issue. I follow the setup instructions for the integration, but logs indicate a key error for the access token.
So, there appears to be an issue with the integration setup instructions, because that should at least work with the username and password from the app, right?
Second, after trying to use the curl command off of the integration page, I get the same Service is temporarily unavailable error message.
Same, I get the http 404 when trying to go to the api URL. I wonder if eufy took down the API. When I log into their web page to view my cameras it forces me to generate a pin from the phone app. Seems like the integration would face this also.
I get an Eufy camera and I get the “Service is temporarily unavailable” message from their API.
Is their api permanently stopped ?
has anyone found a solution ?
Thanks
I got the same issue as above with eufy access token
Logger: homeassistant.setup
Source: setup.py:422
First occurred: 1:36:51 PM (1 occurrences)
Last logged: 1:36:51 PM
Error during setup of component eufy: ‘access_token’
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 422, in _async_setup_component
result = await task
^^^^^^^^^^
File “/usr/local/lib/python3.13/concurrent/futures/thread.py”, line 59, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/homeassistant/homeassistant/components/eufy/init.py”, line 61, in setup
data = lakeside.get_devices(
config[DOMAIN][CONF_USERNAME], config[DOMAIN][CONF_PASSWORD]
)
File “/usr/local/lib/python3.13/site-packages/lakeside/init.py”, line 39, in get_devices
token = r.json()[‘access_token’]
~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: ‘access_token’
I am very new to all this
Only just setup the Green Box
Question is for retrieving the access token
what file do I add the script to
and how do I run it