fuatakgun / eufy_security

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

seems read-only mode :( #998

Closed frank777777 closed 10 months ago

frank777777 commented 10 months ago

Describe the bug

Until a few days ago, everything was working perfectly with the Eufy integration. Now, when I try to modify any entity, it reverts back to its previous state after a few seconds without staying set. It seems as if all entities are in read-only mode.

To reproduce

Steps to reproduce the behavior:

  1. Go to 'a camera, activate o toggle whatever button, wait few seconds you see goes back to previous + the PUSH doesn't works neither '

Additional information

Go to Settings -> System -> Repairs -> Click on 3 dots (...) -> System Information and get Version and Installation Type to below fields; Versione core-2023.11.2 Tipo di installazione Home Assistant OS Sviluppo false Supervisor true Docker true Utente root Ambiente virtuale false Versione Python 3.11.6

Eufy Security Add-on (1.3.0) eufy-security-ws (1.7.1)

Hardware Information;

2023-11-15 17:17:48.395 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'station', 'event': 'connected', 'serialNumber': 'T81XXXXXXXXXXXXX1'}} 2023-11-15 17:17:48.711 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'property changed', 'serialNumber': 'T81XXXXXXXXXXXXX1', 'name': 'enabled', 'value': False}} 2023-11-15 17:17:48.711 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] camera _handle_property_changed - enabled 2023-11-15 17:17:48.741 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'command result', 'serialNumber': 'T81XXXXXXXXXXXXX1', 'command': 'set_property', 'returnCode': 0, 'returnCodeName': 'ERROR_PPCS_SUCCESSFUL', 'customData': {'property': {'name': 'enabled', 'value': False}}}} 2023-11-15 17:17:49.714 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'property changed', 'serialNumber': 'T81XXXXXXXXXXXXX1', 'name': 'batteryTemperature', 'value': 10}} 2023-11-15 17:17:49.715 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] camera _handle_property_changed - batteryTemperature 2023-11-15 17:17:49.737 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'property changed', 'serialNumber': 'T81XXXXXXXXXXXXX1', 'name': 'wifiRssi', 'value': -58}} 2023-11-15 17:17:49.738 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] camera _handle_property_changed - wifiRssi [..]

Traceback (most recent call last): [...] 2023-11-15 17:17:52.195 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - device - EventSourceType.product - device.set_property - {'domain': 'device', 'serial_no': 'T81XXXXXXXXXXXXX1', 'name': 'enabled', 'value': True} - {'name': 'enabled', 'value': True, 'serialNumber': 'T81XXXXXXXXXXXXX1'} 2023-11-15 17:17:52.195 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'name': 'enabled', 'value': True, 'serialNumber': 'T81XXXXXXXXXXXXX1', 'command': 'device.set_property', 'messageId': 'device.set_property.97xxxxxxxxxxxxxxxxxxxxxxxxxxx6d4'} 2023-11-15 17:17:52.195 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'name': 'enabled', 'value': True, 'serialNumber': 'T81XXXXXXXXXXXXX1', 'command': 'device.set_property', 'messageId': 'device.set_property.97xxxxxxxxxxxxxxxxxxxxxxxxxxx6d4'} 2023-11-15 17:17:52.215 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'device.set_property.97xxxxxxxxxxxxxxxxxxxxxxxxxxx6d4', 'result': {'async': True}} 2023-11-15 17:17:52.685 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'property changed', 'serialNumber': 'T81XXXXXXXXXXXXX1', 'name': 'enabled', 'value': True}} 2023-11-15 17:17:52.686 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] camera _handle_property_changed - enabled 2023-11-15 17:17:52.709 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'command result', 'serialNumber': 'T81XXXXXXXXXXXXX1', 'command': 'set_property', 'returnCode': 0, 'returnCodeName': 'ERROR_PPCS_SUCCESSFUL', 'customData': {'property': {'name': 'enabled', 'value': True}}}} 2023-11-15 17:17:52.904 ERROR (MainThread) [custom_components.tapo_control] [initOnvifEvents] Initiating onvif connection failed. 2023-11-15 17:17:52.904 ERROR (MainThread) [custom_components.tapo_control] Authority failure 2023-11-15 17:18:00.371 DEBUG (MainThread) [custom_components.eufy_security] image 1 - False - None 2023-11-15 17:18:00.372 DEBUG (MainThread) [custom_components.eufy_security] async_camera_image 5 - is_empty False 2023-11-15 17:18:00.372 DEBUG (MainThread) [custom_components.eufy_security] async_camera_image 6 - 21189 [...]

2023-11-15 17:18:03.125 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'device.set_property.8d4xxxxxxxxxxxxxxxxxxxxxxxxxx575', 'result': {'async': True}}

2023-11-15 17:18:03.832 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'property changed', 'serialNumber': 'T81XXXXXXXXXXXXX1', 'name': 'wifiRssi', 'value': -60}} 2023-11-15 17:18:03.833 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] camera _handle_property_changed - wifiRssi 2023-11-15 17:18:14.040 ERROR (MainThread) [custom_components.tapo_control] [initOnvifEvents] Initiating onvif connection failed. 2023-11-15 17:18:14.041 ERROR (MainThread) [custom_components.tapo_control] Authority failure

2023-11-15 17:18:18.885 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'property changed', 'serialNumber': 'T81XXXXXXXXXXXXX1', 'name': 'wifiRssi', 'value': -57}} 2023-11-15 17:18:18.885 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] camera _handle_property_changed - wifiRssi

fuatakgun commented 10 months ago

Sometimes add-on losing connection to devices and restarting it might mitigate it.

If it solves for you, I do not have another solution in my hand

frank777777 commented 10 months ago

thanks for watching this . I'll test

derksendd commented 10 months ago

Same issue over here... Everything is readonly. Restart won't give a solution.

23-11-19 14:00:47.035 ERROR Message error InvalidPropertyError Station has no writable property

derksendd commented 10 months ago

Same issue over here... Everything is readonly. Restart won't give a solution.

I switched off the two factor authentication in the eufy app / control center. Rebooted the eufy addon in HA en suddenly it works again.

frank777777 commented 10 months ago

thank for advices . it helps