fuatakgun / eufy_security

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

Light switch not working (eufyCam 2C Pro) #1202

Open Vinz87 opened 1 week ago

Vinz87 commented 1 week ago

Describe the bug

Turning on Light switch, the camera's light goes on briefly, then turns immediately off, while Light switch in HA remains on.

To reproduce

Steps to reproduce the behavior:

  1. Turn on Light switch of a camera

Expected behavior

Camera's light to go on and stay on, reflecting HA switch state.

Additional information

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

Hardware Information;

moryoav commented 2 days ago

Perhaps I'm having the same issue - I have the Outdoor Cam E220, I can switch it on from Home Assistant, but the switch turns off automatically after a second. The light doesn't actually turn on in the camera. this is what I see in the debug log:

2024-09-16 10:56:21.228 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - device - EventSourceType.product - device.set_property - {'domain': 'device', 'serial_no': 'T8441P122402159B', 'name': 'light', 'value': True} - {'name': 'light', 'value': True, 'serialNumber': 'T8441P122402159B'}
2024-09-16 10:56:21.229 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'name': 'light', 'value': True, 'serialNumber': 'T8441P122402159B', 'command': 'device.set_property', 'messageId': 'device.set_property.2abf9218e497488f84f77b33f1f7a063'}
2024-09-16 10:56:21.229 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'name': 'light', 'value': True, 'serialNumber': 'T8441P122402159B', 'command': 'device.set_property', 'messageId': 'device.set_property.2abf9218e497488f84f77b33f1f7a063'}
2024-09-16 10:56:21.230 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'device.set_property.2abf9218e497488f84f77b33f1f7a063', 'result': {'async': True}}