home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.56k stars 30.74k forks source link

Reolink E1 zoom motion sensor does not work #87669

Closed damndoline closed 1 year ago

damndoline commented 1 year ago

The problem

I added two E1 Zoom cameras (192.168.2.10 and 192.168.2.11) using the Reolink Integration which both do not trigger binary motion sensor alerts. I also have two E1 outdoor cameras (192.168.2.12 and 192.168.2.13) which do trigger motion alerts.

Device info:

Local URL configured:

What version of Home Assistant Core has the issue?

2023.2.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

reolink

Link to integration documentation on our website

https://www.home-assistant.io/integrations/reolink/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

I use the cameras also with Synology Surveillance Station as generic ONVIF camera, surveillance station receives motion sensor alerts

Debug log home-assistant_reolink_2023-02-07T23-39-49.193Z.log

Thanks for your work on HA! :)

home-assistant[bot] commented 1 year ago

Hey there @starkillerog, mind taking a look at this issue as it has been labeled with an integration (reolink) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `reolink` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Change the title of the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign reolink` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


reolink documentation reolink source (message by IssueLinks)

rleongcs commented 1 year ago

@starkillerOG Wanted to give more information as I am seeing similar results as @damndoline for the same E1 Zoom model as he has. As for the 2 newer E1 Zoom that has AI, everything is working fine. All E1 Zooms with latest firmware.

I am temporary reverting to the HACS version of reolink-dev for the older E1 Zoom as it is still able to provide the motion status except it has some reboot issues.

E1 Zoom with issue Firmware: v3.0.0.1107_22070508 Hardware: IPC_515BSD6 E1 Zoom

E1 Zoom AI with no issue Firmware: v3.1.0.1349_22092302 Hardware: IPC_566SD65MP E1 Zoom V2 - Office

E1 Zoom AI with no issue Firmware: v3.1.0.1349_22092302 Hardware: IPC_566SD65MP E1 Zoom V2 - Store

starkillerOG commented 1 year ago

@damndoline first of all, please update the E1 zoom to the latest version v3.0.0.1107 by downloading it from https://reolink.com/download-center/ and manually uploading it.

@damndoline @rleongcs I am aware of the issues with old camera's that only support motion and no AI detection. I am working on a sollution, more information can be found in this issue: https://github.com/home-assistant/core/issues/87520 I am not 100% sure the old E1 zoom is experiancing the same issue, but I think so. @damndoline thank you for the debug log, however it is a bit hard for me to figure out which responses belong to which camera's (E1 zoom vs E1 outdoor), would you be willing to disable the working E1 outdoor camera's, then restart HomeAssistant to get a clean log and make a debug log with only the E1 zoom camera's that have the issue?

starkillerOG commented 1 year ago

If you appreciate the reolink integration and want to support its development, please consider sponsering the upstream library.

damndoline commented 1 year ago

Thanks for checking @starkillerOG!

I bumped the firmware to .1107 for both E1 Zooms and deactivated the E1 Outdoors

home-assistant_reolink_2023-02-08T12-44-47.025Z.log

starkillerOG commented 1 year ago

@damndoline thanks for the new debug log, I can confirm it is the same issue as in https://github.com/home-assistant/core/issues/87520 Will work on that now

damndoline commented 1 year ago

Thanks! Let me know if I can help with logs or testing

starkillerOG commented 1 year ago

@damndoline @rleongcs I just released version 0.4.0 of the upstream library. The HomeAssistant version bump is here: https://github.com/home-assistant/core/pull/87733 This schould fix all problems on the older version of the E1 zoom

If you want you can try out the linked PR, otherwise you will need to wait a few days for HomeAssistant 2023.2.4 to be released.

If you appreciate the reolink integration and want to support its development, please consider sponsering the upstream library.

damndoline commented 1 year ago

Thank you @starkillerOG! Happy to report back motion is now picked up by the E1 Zoom cameras :)

rleongcs commented 1 year ago

I can also confirmed that the E1 Zoom is now working properly after updating to 2023.2.4. Thanks @starkillerOG. Great Job!