fuatakgun / eufy_security

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

motion detection switch doesnt work #1022

Closed chrissie469 closed 10 months ago

chrissie469 commented 10 months ago

Describe the bug

when changing the Motion Detection from on to off or the other way it doesnt change, when i do the same in the eufy app on my phone it works in home assistant and i see the updated state after a few minutes.

To reproduce

Steps to reproduce the behavior:

Expected behavior

that the integration changes the state for Motion Detection

Additional information

Go to Settings -> System -> Repairs -> Click on 3 dots (...) -> System Information and get Version and Installation Type to below fields;

Hardware Information;

2023-11-28 21:35:52.569 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration eufy_security which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-11-28 21:35:52.570 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-11-28 21:35:52.571 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration spotcast which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-11-28 21:35:52.571 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration afvalinfo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-11-28 21:35:52.573 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration home_connect_alt which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-11-28 21:36:03.056 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] on_open - executed 2023-11-28 21:36:03.056 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - server - EventSourceType.server - set_api_schema - {'schema_version': 19} - {'schemaVersion': 19} 2023-11-28 21:36:03.058 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'schemaVersion': 19, 'command': 'set_api_schema', 'messageId': 'set_api_schema.94f9f6177ad44ec893d52d4d258afdd0'} 2023-11-28 21:36:03.059 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'schemaVersion': 19, 'command': 'set_api_schema', 'messageId': 'set_api_schema.94f9f6177ad44ec893d52d4d258afdd0'} 2023-11-28 21:36:03.062 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'version', 'driverVersion': '2.9.1', 'serverVersion': '1.7.1', 'minSchemaVersion': 0, 'maxSchemaVersion': 20} 2023-11-28 21:36:03.065 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'set_api_schema.94f9f6177ad44ec893d52d4d258afdd0', 'result': {}} 2023-11-28 21:36:03.066 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _set_products 1 2023-11-28 21:36:03.067 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - server - EventSourceType.server - start_listening - {} - {} 2023-11-28 21:36:03.067 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'command': 'start_listening', 'messageId': 'start_listening.e3cf5120bcea4d94b16292487b14e9b9'} 2023-11-28 21:36:03.068 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'command': 'start_listening', 'messageId': 'start_listening.e3cf5120bcea4d94b16292487b14e9b9'} 2023-11-28 21:36:03.071 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'start_listening.e3cf5120bcea4d94b16292487b14e9b9', 'result': {'state': {'driver': {'version': '2.9.1', 'connected': True, 'pushConnected': True, 'mqttConnected': False}, 'stations': ['T8010P2321150469'], 'devices': ['T8210P332113205F']}}} 2023-11-28 21:36:03.073 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _set_products 2 2023-11-28 21:36:03.073 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - device - EventSourceType.product - device.get_properties - {'domain': 'device', 'serial_no': 'T8210P332113205F'} - {'serialNumber': 'T8210P332113205F'} 2023-11-28 21:36:03.074 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'serialNumber': 'T8210P332113205F', 'command': 'device.get_properties', 'messageId': 'device.get_properties.c4c778526b064f8c92e2e4f4fb9f8edf'} 2023-11-28 21:36:03.075 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'serialNumber': 'T8210P332113205F', 'command': 'device.get_properties', 'messageId': 'device.get_properties.c4c778526b064f8c92e2e4f4fb9f8edf'} 2023-11-28 21:36:03.086 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'device.get_properties.c4c778526b064f8c92e2e4f4fb9f8edf', 'result': {'serialNumber': 'T8210P332113205F', 'properties': {'name': 'Doorbell', 'model': 'T8210', 'serialNumber': 'T8210P332113205F', 'hardwareVersion': 'T8210B', 'softwareVersion': '1.1.2.3', 'type': 7, 'stationSerialNumber': 'T8010P2321150469', 'battery': 78, 'batteryTemperature': 9, 'lastChargingDays': 44, 'lastChargingTotalEvents': 0, 'lastChargingRecordedEvents': 0, 'lastChargingFalseEvents': 0, 'batteryUsageLastWeek': 8, 'wifiRssi': -47, 'wifiSignalLevel': 4, 'enabled': True, 'autoNightvision': True, 'statusLed': False, 'motionDetection': False, 'motionDetectionType': 0, 'motionDetectionSensitivity': 3, 'motionDetected': False, 'personDetected': False, 'personName': '', 'watermark': 2, 'state': 1, 'ringing': False, 'speakerVolume': 100, 'ringtoneVolume': 80, 'audioRecording': True, 'powerWorkingMode': 3, 'chargingStatus': 2, 'recordingEndClipMotionStops': False, 'recording 2023-11-28 21:36:03.087 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - device - EventSourceType.product - device.get_properties_metadata - {'domain': 'device', 'serial_no': 'T8210P332113205F'} - {'serialNumber': 'T8210P332113205F'} 2023-11-28 21:36:03.087 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'serialNumber': 'T8210P332113205F', 'command': 'device.get_properties_metadata', 'messageId': 'device.get_properties_metadata.f308254811a7413caa7a10d7674678fa'} 2023-11-28 21:36:03.088 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'serialNumber': 'T8210P332113205F', 'command': 'device.get_properties_metadata', 'messageId': 'device.get_properties_metadata.f308254811a7413caa7a10d7674678fa'} 2023-11-28 21:36:03.094 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'device.get_properties_metadata.f308254811a7413caa7a10d7674678fa', 'result': {'serialNumber': 'T8210P332113205F', 'properties': {'name': {'key': 'device_name', 'name': 'name', 'label': 'Name', 'readable': True, 'writeable': False, 'type': 'string'}, 'model': {'key': 'device_model', 'name': 'model', 'label': 'Model', 'readable': True, 'writeable': False, 'type': 'string'}, 'serialNumber': {'key': 'device_sn', 'name': 'serialNumber', 'label': 'Serial number', 'readable': True, 'writeable': False, 'type': 'string'}, 'type': {'key': 'device_type', 'name': 'type', 'label': 'Type', 'readable': True, 'writeable': False, 'type': 'number', 'states': {'0': 'Station', '1': 'Camera', '2': 'Sensor (T8900)', '3': 'Floodlight', '4': 'Camera E', '5': 'Doorbell', '7': 'Battery Doorbell', '8': 'Camera 2', '9': 'eufyCam S210 (eufyCam 2C)', '10': 'Motion Sensor (T8910)', '11': 'Keypad', '14': 'eufyCam S221 (eufyCam 2 Pro)', '15': 'eufyCam S220 (eufyCam 2C P 2023-11-28 21:36:03.094 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - device - EventSourceType.product - device.get_commands - {'domain': 'device', 'serial_no': 'T8210P332113205F'} - {'serialNumber': 'T8210P332113205F'} 2023-11-28 21:36:03.096 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'serialNumber': 'T8210P332113205F', 'command': 'device.get_commands', 'messageId': 'device.get_commands.175f61a1a749481d92944989506e975c'} 2023-11-28 21:36:03.096 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'serialNumber': 'T8210P332113205F', 'command': 'device.get_commands', 'messageId': 'device.get_commands.175f61a1a749481d92944989506e975c'} 2023-11-28 21:36:03.098 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'device.get_commands.175f61a1a749481d92944989506e975c', 'result': {'serialNumber': 'T8210P332113205F', 'commands': ['start_livestream', 'stop_livestream', 'quick_response', 'start_download', 'cancel_download', 'start_talkback', 'stop_talkback', 'snooze']}} 2023-11-28 21:36:03.098 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - device - EventSourceType.device - device.is_rtsp_livestreaming - {'serial_no': 'T8210P332113205F'} - {'serialNumber': 'T8210P332113205F'} 2023-11-28 21:36:03.104 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'serialNumber': 'T8210P332113205F', 'command': 'device.is_rtsp_livestreaming', 'messageId': 'device.is_rtsp_livestreaming.a2b3d193a69549d5aa628222d396c5e4'} 2023-11-28 21:36:03.104 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'serialNumber': 'T8210P332113205F', 'command': 'device.is_rtsp_livestreaming', 'messageId': 'device.is_rtsp_livestreaming.a2b3d193a69549d5aa628222d396c5e4'} 2023-11-28 21:36:03.108 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'device.is_rtsp_livestreaming.a2b3d193a69549d5aa628222d396c5e4', 'result': {'serialNumber': 'T8210P332113205F', 'livestreaming': False}} 2023-11-28 21:36:03.109 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - device - EventSourceType.device - device.is_livestreaming - {'serial_no': 'T8210P332113205F'} - {'serialNumber': 'T8210P332113205F'} 2023-11-28 21:36:03.109 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'serialNumber': 'T8210P332113205F', 'command': 'device.is_livestreaming', 'messageId': 'device.is_livestreaming.d39467b8338d4b8ca74f63db60b26811'} 2023-11-28 21:36:03.110 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'serialNumber': 'T8210P332113205F', 'command': 'device.is_livestreaming', 'messageId': 'device.is_livestreaming.d39467b8338d4b8ca74f63db60b26811'} 2023-11-28 21:36:03.118 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'device.is_livestreaming.d39467b8338d4b8ca74f63db60b26811', 'result': {'serialNumber': 'T8210P332113205F', 'livestreaming': False}} 2023-11-28 21:36:03.120 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - device - EventSourceType.device - device.get_voices - {'domain': 'device', 'serial_no': 'T8210P332113205F'} - {'serialNumber': 'T8210P332113205F'} 2023-11-28 21:36:03.120 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'serialNumber': 'T8210P332113205F', 'command': 'device.get_voices', 'messageId': 'device.get_voices.0f82253a8cb447d8abb269a4c8ead6bf'} 2023-11-28 21:36:03.120 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'serialNumber': 'T8210P332113205F', 'command': 'device.get_voices', 'messageId': 'device.get_voices.0f82253a8cb447d8abb269a4c8ead6bf'} 2023-11-28 21:36:03.176 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'device.get_voices.0f82253a8cb447d8abb269a4c8ead6bf', 'result': {'serialNumber': 'T8210P332113205F', 'voices': {'1': {'voice_id': 1, 'user_id': 'c45aae16971fa55709146edc9275f2433f2c8e9d', 'desc': 'Excuse me, can I help you', 'device_sn': '', 'voice_link': 'https://zhixin-security-eu.s3.eu-central-1.amazonaws.com/voice/2019/06/27/mobile/T9001A0218260014/KAFO5JvNNHNIZa3z.Excuse%20me%2C%20can%20I%20help%20you.wav?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJYLV2KOLW6PU4FSA%2F20231128%2Feu-central-1%2Fs3%2Faws4_request&X-Amz-Date=20231128T203603Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=bda71c3d7ec181e2c6644643a63ea657a48adeb9ded7c3c2b063a5958331a626', 'voice_type': 0, 'key_prefix': '/voice/2019/06/27/mobile/T9001A0218260014/KAFO5JvNNHNIZa3z.Excuse me, can I help you.wav'}, '2': {'voice_id': 2, 'user_id': 'c45aae16971fa55709146edc9275f2433f2c8e9d', 'desc': 'Please leave it at the door', 'device_sn': '', 'voice_l 2023-11-28 21:36:03.180 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _set_properties -T8210P332113205F - {'name': 'Doorbell', 'model': 'T8210', 'serialNumber': 'T8210P332113205F', 'hardwareVersion': 'T8210B', 'softwareVersion': '1.1.2.3', 'type': 7, 'stationSerialNumber': 'T8010P2321150469', 'battery': 78, 'batteryTemperature': 9, 'lastChargingDays': 44, 'lastChargingTotalEvents': 0, 'lastChargingRecordedEvents': 0, 'lastChargingFalseEvents': 0, 'batteryUsageLastWeek': 8, 'wifiRssi': -47, 'wifiSignalLevel': 4, 'enabled': True, 'autoNightvision': True, 'statusLed': False, 'motionDetection': False, 'motionDetectionType': 0, 'motionDetectionSensitivity': 3, 'motionDetected': False, 'personDetected': False, 'personName': '', 'watermark': 2, 'state': 1, 'ringing': False, 'speakerVolume': 100, 'ringtoneVolume': 80, 'audioRecording': True, 'powerWorkingMode': 3, 'chargingStatus': 2, 'recordingEndClipMotionStops': False, 'recordingClipLength': 60, 'recordingRetriggerInterval': 5, 'videoStreamingQuality': 5, 'videoWdr': True, 'chimeIndoor': False, 'chimeHomebase': True, 'chimeHomebaseRingtoneVolume': 6, 'chimeHomebaseRingtoneType': 0, 'notificationType': 2, 'notificationRing': True, 'notificationMotion': True, 'snoozeTime': 0, 'snoozeStartTime': 0, 'snoozeHomebase': False, 'snoozeMotion': False, 'snoozeChime': False, 'picture': {'data': {'type': 'Buffer', 'data': [255, 216, 255, 219, 0, 67, 0, 32, 24, 24, 28, 24, 20, 32, 28, 28, 28, 36, 36, 32, 40, 48, 80, 52, 48, 44, 44, 48, 100, 72, 76, 60, 80, 116, 104, 124, 120, 116, 104, 112, 112, 128, 144, 184, 156, 128, 136, 176, 140, 112, 112, 160, 220, 164, 176, 192, 196, 208, 208, 208, 124, 156, 228, 244, 224, 200, 240, 184, 204, 208, 200, 255, 219, 0, 67, 1, 36, 36, 36, 48, 44, 48, 96, 52, 52, 96, 200, 132, 112, 132, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 255, 192, 0, 17, 8, 2, 88, 3, 32, 3, 1, 34, 0, 2, 17, 1, 3, 17, 1, 255, 196, 0, 31, 0, 0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 255, 196, 0, 181, 16, 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 125, 1, 2, 3, 0, 4, 17, 5, 18, 33, 49, 65, 6, 19, 81, 97, 7, 34, 113, 20, 50, 129, 145, 161, 8, 35, 66, 177, 193, 21, 82, 209, 240, 36, 51, 98, 114, 130, 9, 10, 22, 23, 24, 25, 26, 37, 38, 39, 40, 41, 42, 52, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 255, 196, 0, 31, 1, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 255, 196, 0, 181, 17, 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 119, 0, 1, 2, 3, 17, 4, 5, 33, 49, 6, 18, 65, 81, 7, 97, 113, 19, 34, 50, 129, 8, 20, 66, 145, 161, 177, 193, 9, 35, 51, 82, 240, 21, 98, 114, 209, 10, 22, 36, 52, 225, 37, 241, 23, 24, 25, 26, 38, 39, 40, 41, 42, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 130, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 226, 227, 228, 229, 230, 231, 232, 233, 234, 242, 243, 244, 245, 246, 247, 248, 249, 250, 255, 218, 0, 12, 3, 1, 0, 2, 17, 3, 17, 0, 63, 0, 198, 164, 34, 157, 70, 40, 1, 160, 224, 211, 233, 132, 82, 171, 99, 131, 64, 15, 164, 34, 157, 69, 0, 69, 208, 212, 160, 228, 102, 154, 86, 154, 167, 105, 160, 9, 41, 172, 59, 211, 232, 197, 0, 34, 156, 140, 119, 20, 181, 31, 42, 217, 21, 39, 81, 145, 64, 17, 145, 131, 82, 3, 184, 103, 243, 164, 35, 34, 154, 167, 7, 158, 148, 0, 172, 41, 84, 228, 98, 148, 138, 111, 70, 160, 5, 52, 41, 200, 250, 82, 211, 71, 202, 212, 0, 30, 14, 105, 199, 145, 65, 20, 131, 166, 40, 0, 29, 40, 29, 104, 232, 104, 52, 0, 119, 165, 239, 69, 29, 168, 0, 239, 69, 20, 180, 0, 81, 69, 45, 0, 45, 3, 181, 2, 151, 20, 1, 35, 118, 164, 110, 160, 211, 200, 224, 83, 36, 225, 69, 0, 45, 33, 237, 69, 33, 233, 64, 11, 69, 20, 80, 1, 69, 20, 80, 1, 69, 20, 80, 1, 69, 20, 80, 1, 69, 20, 80, 1, 69, 20, 80, 2, 210, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 82, 81, 64, 11, 73, 69, 20, 0, 81, 69, 20, 0, 81, 69, 37, 0, 20, 81, 75, 64, 5, 37, 45, 20, 0, 148, 148, 180, 148, 0, 81, 69, 20, 0, 82, 82, 210, 80, 1, 69, 20, 148, 0, 81, 69, 37, 0, 20, 81, 69, 0, 20, 149, 42, 66, 207, 78, 54, 204, 58, 208, 4, 20, 2023-11-28 21:36:03.181 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] None 2023-11-28 21:36:03.181 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] url - StreamProvider.P2P - rtsp://127.0.0.1:8554/T8210P332113205F 2023-11-28 21:36:03.181 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - station - EventSourceType.product - station.get_properties - {'domain': 'station', 'serial_no': 'T8010P2321150469'} - {'serialNumber': 'T8010P2321150469'} 2023-11-28 21:36:03.184 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'serialNumber': 'T8010P2321150469', 'command': 'station.get_properties', 'messageId': 'station.get_properties.6d8bb37819614bc8bb3f151bac28e2f8'} 2023-11-28 21:36:03.184 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'serialNumber': 'T8010P2321150469', 'command': 'station.get_properties', 'messageId': 'station.get_properties.6d8bb37819614bc8bb3f151bac28e2f8'} 2023-11-28 21:36:03.201 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'station.get_properties.6d8bb37819614bc8bb3f151bac28e2f8', 'result': {'serialNumber': 'T8010P2321150469', 'properties': {'name': 'HomeBase', 'model': 'T8010', 'serialNumber': 'T8010P2321150469', 'type': 0, 'hardwareVersion': 'P0', 'softwareVersion': '3.3.1.5h', 'macAddress': '8C:85:80:98:C0:90', 'timeFormat': 1, 'alarmVolume': 26, 'alarm': False, 'alarmType': 0, 'alarmArmed': False, 'alarmArmDelay': 0, 'alarmDelay': 0, 'alarmDelayType': 0, 'notificationSwitchModeSchedule': True, 'notificationSwitchModeGeofence': True, 'notificationSwitchModeApp': True, 'notificationSwitchModeKeypad': True, 'lanIpAddress': '192.168.178.12', 'alarmTone': 2, 'guardMode': 1, 'sdStatus': 0, 'notificationStartAlarmDelay': True, 'promptVolume': 13, 'sdCapacity': 0, 'sdCapacityAvailable': 0, 'currentMode': 1}}} 2023-11-28 21:36:03.221 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - station - EventSourceType.product - station.get_properties_metadata - {'domain': 'station', 'serial_no': 'T8010P2321150469'} - {'serialNumber': 'T8010P2321150469'} 2023-11-28 21:36:03.222 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'serialNumber': 'T8010P2321150469', 'command': 'station.get_properties_metadata', 'messageId': 'station.get_properties_metadata.f76f4a0777bf48a5ac6d9f6d08ea72a3'} 2023-11-28 21:36:03.222 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'serialNumber': 'T8010P2321150469', 'command': 'station.get_properties_metadata', 'messageId': 'station.get_properties_metadata.f76f4a0777bf48a5ac6d9f6d08ea72a3'} 2023-11-28 21:36:03.277 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'station.get_properties_metadata.f76f4a0777bf48a5ac6d9f6d08ea72a3', 'result': {'serialNumber': 'T8010P2321150469', 'properties': {'name': {'key': 'station_name', 'name': 'name', 'label': 'Name', 'readable': True, 'writeable': False, 'type': 'string'}, 'model': {'key': 'station_model', 'name': 'model', 'label': 'Model', 'readable': True, 'writeable': False, 'type': 'string'}, 'serialNumber': {'key': 'station_sn', 'name': 'serialNumber', 'label': 'Serial number', 'readable': True, 'writeable': False, 'type': 'string'}, 'type': {'key': 'device_type', 'name': 'type', 'label': 'Type', 'readable': True, 'writeable': False, 'type': 'number', 'states': {'0': 'Station', '1': 'Camera', '2': 'Sensor (T8900)', '3': 'Floodlight', '4': 'Camera E', '5': 'Doorbell', '7': 'Battery Doorbell', '8': 'Camera 2', '9': 'eufyCam S210 (eufyCam 2C)', '10': 'Motion Sensor (T8910)', '11': 'Keypad', '14': 'eufyCam S221 (eufyCam 2 Pro)', '15': 'eufyCam S220 (eufyCam 2023-11-28 21:36:03.289 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - station - EventSourceType.product - station.get_commands - {'domain': 'station', 'serial_no': 'T8010P2321150469'} - {'serialNumber': 'T8010P2321150469'} 2023-11-28 21:36:03.295 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'serialNumber': 'T8010P2321150469', 'command': 'station.get_commands', 'messageId': 'station.get_commands.339d5a072aa342dea400fa60436ce135'} 2023-11-28 21:36:03.295 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'serialNumber': 'T8010P2321150469', 'command': 'station.get_commands', 'messageId': 'station.get_commands.339d5a072aa342dea400fa60436ce135'} 2023-11-28 21:36:03.380 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'station.get_commands.339d5a072aa342dea400fa60436ce135', 'result': {'serialNumber': 'T8010P2321150469', 'commands': ['stationReboot', 'stationTriggerAlarmSound', 'stationChime', 'stationDownloadImage', 'stationDatabaseQueryLatestInfo', 'stationDatabaseQueryLocal', 'stationDatabaseCoundByDate', 'stationDatabaseDelete']}} 2023-11-28 21:36:03.387 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _set_properties -T8010P2321150469 - {'name': 'HomeBase', 'model': 'T8010', 'serialNumber': 'T8010P2321150469', 'type': 0, 'hardwareVersion': 'P0', 'softwareVersion': '3.3.1.5h', 'macAddress': '8C:85:80:98:C0:90', 'timeFormat': 1, 'alarmVolume': 26, 'alarm': False, 'alarmType': 0, 'alarmArmed': False, 'alarmArmDelay': 0, 'alarmDelay': 0, 'alarmDelayType': 0, 'notificationSwitchModeSchedule': True, 'notificationSwitchModeGeofence': True, 'notificationSwitchModeApp': True, 'notificationSwitchModeKeypad': True, 'lanIpAddress': '192.168.178.12', 'alarmTone': 2, 'guardMode': 1, 'sdStatus': 0, 'notificationStartAlarmDelay': True, 'promptVolume': 13, 'sdCapacity': 0, 'sdCapacityAvailable': 0, 'currentMode': 1} 2023-11-28 21:37:48.690 DEBUG (MainThread) [custom_components.eufy_security] image 1 - False - None 2023-11-28 21:37:48.690 DEBUG (MainThread) [custom_components.eufy_security] async_camera_image 5 - is_empty False 2023-11-28 21:37:48.690 DEBUG (MainThread) [custom_components.eufy_security] async_camera_image 6 - 17618 2023-11-28 21:37:50.810 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - device - EventSourceType.product - device.set_property - {'domain': 'device', 'serial_no': 'T8210P332113205F', 'name': 'motionDetection', 'value': True} - {'name': 'motionDetection', 'value': True, 'serialNumber': 'T8210P332113205F'} 2023-11-28 21:37:50.811 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'name': 'motionDetection', 'value': True, 'serialNumber': 'T8210P332113205F', 'command': 'device.set_property', 'messageId': 'device.set_property.bb9954f0337747fb9cf0404ee2969ca0'} 2023-11-28 21:37:50.811 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'name': 'motionDetection', 'value': True, 'serialNumber': 'T8210P332113205F', 'command': 'device.set_property', 'messageId': 'device.set_property.bb9954f0337747fb9cf0404ee2969ca0'} 2023-11-28 21:37:50.821 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'command result', 'serialNumber': 'T8210P332113205F', 'command': 'set_property', 'returnCode': -134, 'returnCodeName': 'ERROR_CONNECT_TIMEOUT', 'customData': {'property': {'name': 'motionDetection', 'value': True}}}} 2023-11-28 21:37:50.821 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'device.set_property.bb9954f0337747fb9cf0404ee2969ca0', 'result': {'async': True}}

chrissie469 commented 10 months ago

i feel so stupid....

restarting the addon fixed the issue....

sorry for the inconvenience

fuatakgun commented 10 months ago

If it is fixed by restart, it will soon come back :-)

chrissie469 commented 10 months ago

i noticed something about a timer that sets for 12000 en i was on 89541 or so. will come back when it happens again ;)