core: Reolink NVR not triggering AI sensors

The problem

AI binary sensors not updated by push and sporadically working on poll. Getting same behavior on two seperate NVR’s with various cameras attached.

N3MB01 (v3.2.0.218) RLC-510A RLC-510Av2 RLC-520Av2

N2MB02(v3.2.0.218) RLC-810A RLC-842A RLC-510WA

These are both on seperate HA OS setups at different locations.

What version of Home Assistant Core has the issue?

2023.3.1

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 IP NVR/camera

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?

2023-03-07 16:30:10.767 WARNING (MainThread) [reolink_aio.api] Reolink ONVIF event 'Motion' data contained invalid channel 'VideoSourceToken', issuing poll instead
2023-03-07 16:30:10.841 WARNING (MainThread) [reolink_aio.api] Reolink ONVIF event 'Motion' does not contain channel

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 27 (12 by maintainers)

Most upvoted comments

If you appreciate the reolink integration and want to support its development, please consider sponsering the upstream library or purchase Reolink products through this affiliate link.

@DIYtechie I just looked through your log, the ONVIF events are comming in correctly, so you have everything set up correctly. However they are lost during processing when the camera disconnects causing a ConnectionResetError while attempting to read the ONVIF message data.

This PR https://github.com/home-assistant/core/pull/91070 will fix that issue, it is currently under review and will hopefully be included in HA 2023.4.3, but that depends on the core reviewers.

I will let you know once a HA patch release with a fix is available.

@DIYtechie Could you enable debug logging under Settings->Devices & Services->Reolink integration overflow menu (three vertical dots)->Enable debug logging, Then restart Home Assitant, wait for 5 minutes, disable debug logging and post the log here.

@SonomaGTS firmware v3.2.0.218 does not include the fix, v3.0.0.211_23011204 is a beta firmware version, Beta firmware always has 3.0.0, you need to look at the date 23011204, meaning it was build on January 12th 2023 and is a recent beta firmware.