bropat / eufy-security-ws

Small server wrapper around eufy-security-client library to access it via a WebSocket.
MIT License
169 stars 24 forks source link

[Bug]: motionDetectionType for eufycam3/Homebase 3 not consistently working #269

Closed bdormael closed 5 months ago

bdormael commented 10 months ago

Version

1.6.4

Node version

18

Operating System type

Docker

Operating system version

Debian 12

Describe the bug

For my Eufycam3 on Homebase 3 products:

as example, this is the format I use for the requests:

{ "messageId": "string", "command": "device.set_property", "serialNumber": "T8160P21224202E1", "name": "motionDetectionTypeHuman", "value": "true" }

To reproduce

  1. connect to the ws endpoint

  2. Send the following json to the endpoint: { "messageId": "string", "command": "device.set_property", "serialNumber": "T8160P21224202E1", "name": "motionDetectionTypeHuman", "value": "true" }

  3. Check in the Eufy app on your device, now you can see that the previously motionDetectionTypePet which was false now also is true

  4. connect to the ws endpoint

  5. Send the following json to the endpoint: { "messageId": "string", "command": "device.set_property", "serialNumber": "T8160P21224202E1", "name": "motionDetectionTypeAllOtherMotions", "value": "true" }

  6. you can see now in the Eufy app that this is turned on

  7. Send the following json to the endpoint: { "messageId": "string", "command": "device.set_property", "serialNumber": "T8160P21224202E1", "name": "motionDetectionTypeAllOtherMotions", "value": "false" }

  8. the motionDetectionTypeAllOtherMotions is still true in the eufy app

Screenshots & Logfiles

No response

Additional context

No response

bropat commented 9 months ago

I think something has changed in the firmware since it was implemented here.