ioBroker.eusec
ioBroker.eusec copied to clipboard
[Bug]: camera "motion_detected" not working
Adapter version
0.9.1
JS-Controller version
4.0.23
Node version
17.9.0
Operating System type
Other
Operating system version
Raspberry Pi Raspian Buster
Describe the bug
Camera "motion_detected" does not change value from "false" to "true" when motion detection is enabled on my Eufy Cam2C (T8142Z) cameras and Eufy Battery Doorbell (T8210B). The Eufy iPhone app correctly records when motion is detected on the cameras.
BTW: The adapter does correctly record changes to the "ringing" status when the doorbell button is pressed.
To reproduce
- Set eusec "motion_detection" to "true" by enabling camera motion detection using the Eufy iPhone app. (I can also enable motion detection using a custom Hubitat driver and device.)
- Manually create a motion detected Eufy event by standing in front of a camera while simultaneously watching for change in state of the eusec "motion_detected" state. (I also created a Blockly script to notify Hubitat of a change in state of the eusec "motion_detected". )
- The "motion_detected" state never changes from "false" to "true" in ioBroker. Hubitat is also never notified of a change in state.
- Screenshots

Screenshots & Logfiles
No response
Additional context
No response
@scottmil
motion_detected
is only based on push notifications (no other known method).
If you have deactivated push notifications, you will never receive a motion detection.
Per the attached iPhone Eufy app screenshot for my Eufy Battery Doorbell, it appears that push notifications are activated. I receive motion detection notifications on my iPhone, but not in ioBroker. Is there somewhere else I need to configure push notifications?
In ioBroker, I also set “notification_motion” from false to true for my Eufy Doorbell, but it had no effect.
As mentioned previously, ioBroker does change the value of the Doorbell “ringing” state when I press the doorbell button.

04-July-2022 Update: 1. I discovered that Eufy will only generate notifications if BOTH "Video Recording" AND "Notification" are checked in the Eufy app Security Settings. Checking only "Notification" did not generate a notification on either my iPhone or ioBroker. 2. After experimenting, I found that the eusec object "person_detected" was a more reliable monitor of motion detection compared to the "motion_detected" object. I edited my Blockly script to notify Hubitat of changes in the "person_detected" state, and it appears to be working consistently.



Thank you!!
On Nov 4, 2022, at 10:18 AM, bropat @.***> wrote:
Closed #263 https://github.com/bropat/ioBroker.eusec/issues/263 as completed.
— Reply to this email directly, view it on GitHub https://github.com/bropat/ioBroker.eusec/issues/263#event-7742635526, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACQGB2UJGHH2YC5YXZ7AD5DWGVANDANCNFSM52EBJJCQ. You are receiving this because you were mentioned.