fuatakgun / eufy_security

Home Assistant integration to manage Eufy Security devices as cameras, home base stations, doorbells, motion and contact sensors.
842 stars 73 forks source link

Cannot change guard mode #1124

Open Bkl741 opened 3 months ago

Bkl741 commented 3 months ago

Since I update home assistant I think, I can’t change guard mode. Nothing is happening when I edit it.

Homebase version 3.3.3.0h Core 2024.3.3 Supervisor 2024.03.0 Operating System 12.1 UI 20240307.0 Eufy 8.0.1 Homebase 2

Bkl741 commented 3 months ago

I didn't find anything in the logs

Bkl741 commented 3 months ago

Today, I have some informations in logs files :

`Enregistreur: homeassistant Source: custom_components/eufy_security/eufy_security_api/web_socket_client.py:63 intégration: Eufy Security (documentation, problèmes) S'est produit pour la première fois: 12:54:29 (1 occurrences) Dernier enregistrement: 12:54:29

Error doing job: Exception in callback WebSocketClient._on_close(>) Traceback (most recent call last): File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/config/custom_components/eufy_security/eufy_security_api/web_socket_client.py", line 81, in _on_close self.close_callback(future) File "/config/custom_components/eufy_security/eufy_security_api/api_client.py", line 317, in _on_close _LOGGER.debug(f"on_close - executed - {future} = {future.exception()}") ^^^^^^^^^^^^^^^^^^ File "/config/custom_components/eufy_security/eufy_security_api/web_socket_client.py", line 63, in _process_messages async for msg in self.socket: File "/usr/local/lib/python3.12/site-packages/aiohttp/client_ws.py", line 312, in anext msg = await self.receive() ^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiohttp/client_ws.py", line 244, in receive msg = await self._reader.read() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiohttp/streams.py", line 663, in read return await super().read() ^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiohttp/streams.py", line 622, in read await self._waiter asyncio.exceptions.CancelledError`

Bkl741 commented 3 months ago

It's ok, I had to update eufy security ws.

ripple7511 commented 2 months ago

I appear to be having the same issue-- eufy-security-ws is at 1.8.0.2 on my system, is there a newer update I need to get?

michaelblight commented 1 month ago

Mine was doing the same. I only needed to restart the eufy-security-ws addon to get it working again.

mariomaz87 commented 1 month ago

Hi, I'm having the same issue today. If I change the status on Eufy app it's updated in Home Assistant, but I can't change it from Home Assistant. I have tried to restart eufy security ws docker container.

robinhood-code commented 1 month ago

Hi, I'm having the same issue today. If I change the status on Eufy app it's updated in Home Assistant, but I can't change it from Home Assistant. I have tried to restart eufy security ws docker container.

when you can't change the guard mode, is the "Connected" sensor "On" or "Off" for that particular camera? You probably need to enable it under "Diagnostic" if you have not already done so.

mariomaz87 commented 1 month ago

Hi, I'm having the same issue today. If I change the status on Eufy app it's updated in Home Assistant, but I can't change it from Home Assistant. I have tried to restart eufy security ws docker container.

when you can't change the guard mode, is the "Connected" sensor "On" or "Off" for that particular camera? You probably need to enable it under "Diagnostic" if you have not already done so.

In my case it’s the base and not the camera. The Connected sensor is On.

robinhood-code commented 1 month ago

In my case it’s the base and not the camera. The Connected sensor is On.

If you are referring to the base then I can't change its mode as well.

xxpas02 commented 1 month ago

I also can’t set the Homebase Guard Mode. I haven’t tried to before, so don’t know if it worked previously or not. It reports correctly when set from the Eufy app but cannot be changed in HA.

Homebase version 3.3.3.2h Homebase 2 Eufy Security 8.0.2 Core 2024.5.3 Supervisor 2024.05.1 Operating System 12.3 Frontend 20240501.1

thoompje commented 1 month ago

Today, I have some informations in logs files :

`Enregistreur: homeassistant Source: custom_components/eufy_security/eufy_security_api/web_socket_client.py:63 intégration: Eufy Security (documentation, problèmes) S'est produit pour la première fois: 12:54:29 (1 occurrences) Dernier enregistrement: 12:54:29

Error doing job: Exception in callback WebSocketClient._on_close(>) Traceback (most recent call last): File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/config/custom_components/eufy_security/eufy_security_api/web_socket_client.py", line 81, in _on_close self.close_callback(future) File "/config/custom_components/eufy_security/eufy_security_api/api_client.py", line 317, in _on_close _LOGGER.debug(f"on_close - executed - {future} = {future.exception()}") ^^^^^^^^^^^^^^^^^^ File "/config/custom_components/eufy_security/eufy_security_api/web_socket_client.py", line 63, in _process_messages async for msg in self.socket: File "/usr/local/lib/python3.12/site-packages/aiohttp/client_ws.py", line 312, in anext msg = await self.receive() ^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiohttp/client_ws.py", line 244, in receive msg = await self._reader.read() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiohttp/streams.py", line 663, in read return await super().read() ^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiohttp/streams.py", line 622, in read await self._waiter asyncio.exceptions.CancelledError`

I have the same logs here, anyone any idea how to solve this?