core icon indicating copy to clipboard operation
core copied to clipboard

Onvif binary sensors no more working after 2022.12.0

Open Ameglialuna opened this issue 2 years ago • 39 comments

The problem

I have 5 Imou cameras and after upgrading from 2022.11.5 to 2012.12.0 the three Onvif binary sensors I had (motion alarm, tamper detection and global scene change) are always unaivalable. I made no configuration change from the previous version.

What version of Home Assistant Core has the issue?

2022.12.0

What was the last working version of Home Assistant Core?

2022.11.5

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Onvif

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

Ameglialuna avatar Dec 08 '22 08:12 Ameglialuna

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

Code owner commands

Code owners of onvif 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 onvif Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


onvif documentation onvif source (message by IssueLinks)

home-assistant[bot] avatar Dec 08 '22 08:12 home-assistant[bot]

I have the same issue. Running a reolink E1 pro. updated to 2022.12.0 and the binairy sensor for the motion detection shows up as unavailable.

Rvh91 avatar Dec 08 '22 10:12 Rvh91

"reolink onvif cell motion detection" -This entity is no longer being provided by the onvif integration. Reolink E1 Pro изображение

garry0garry avatar Dec 09 '22 07:12 garry0garry

HA 2022.12.1. The same result.

garry0garry avatar Dec 09 '22 08:12 garry0garry

I have the same issue.

joshuaaaaa avatar Dec 09 '22 21:12 joshuaaaaa

I have the same too

ivaschru avatar Dec 10 '22 21:12 ivaschru

Same here with Reolink.

Beer17HWAM avatar Dec 12 '22 11:12 Beer17HWAM

Same with my Imou cameras. Motion Alarm sensors are no longer available.

rogodra avatar Dec 13 '22 10:12 rogodra

same issue with a E1 pro

lotusmaikel avatar Dec 19 '22 15:12 lotusmaikel

until this is resolved, has anyone found a workaround?

Rvh91 avatar Jan 02 '23 20:01 Rvh91

until this is resolved, has anyone found a workaround?

no :-(

Ameglialuna avatar Jan 02 '23 22:01 Ameglialuna

I have the same problem with my new imou rex camera. In 2022.12.9 no sensors where reported. as soon as I downgrade to 2022.11.5, I get the motion alarm sensor.

Warre118 avatar Jan 04 '23 14:01 Warre118

same issue with Hikvision DS-2CD2132F-IWS. all entities unavailable.

momirlan avatar Jan 04 '23 21:01 momirlan

I have the same problem with my camera. In old ver 2022.11.5 - sensors available After ver 2023.1.1 - sensors unavailable (Motion Alarm and Cell Motion Detection)

Onvif: Device: XM530_50X20-WGH_8M H264 Software ver: V5.00.R02.0003067f.10010.343917..ONVIF 16.12

varaav avatar Jan 07 '23 01:01 varaav

Same problem with two Imou Cue 2C cameras. Model : IPC-C22C Firmware: 2.680.0000000.25.R 2022-05-27 ONVIF version: 20.06

EQuemada avatar Jan 08 '23 09:01 EQuemada

HA 2023.1.2 изображение :-(

garry0garry avatar Jan 10 '23 09:01 garry0garry

Same issue. following. entities appear and disappear over time. sometimes hours, sometimes days. Unusable in this way

PV-Web avatar Jan 14 '23 00:01 PV-Web

Same issue for me. The newest Imou cam lost motion alarm sensors. The oldest (2-3 years ago) motion alarm still present in HA with Onvif. I use it for automation and power on light when motion is detected. Thanks for help

Tanner2106 avatar Jan 19 '23 11:01 Tanner2106

Home Assistant 2023.1.7 Frontend 20230110.0 - latest

изображение

garry0garry avatar Jan 22 '23 19:01 garry0garry

Why nobody cares?

ivaschru avatar Jan 22 '23 20:01 ivaschru

Hi, is problem solved in new version 2023.2.1?

varaav avatar Feb 03 '23 04:02 varaav

изображение

изображение

garry0garry avatar Feb 03 '23 06:02 garry0garry

The issue is still open

Ameglialuna avatar Feb 03 '23 07:02 Ameglialuna

I think I've tracked the issue to originate from commit 4239923ea2e4dc8872b4eafc95127f68eb03b411. That is the only thing that has changed between 2022.11.5 and was merged in in 2022.12.0. @bdraco could you have a look into this, it appears @hunterjm is perhaps not able to. Do you think one of your changes could have caused this?

Rvh91 avatar Feb 07 '23 10:02 Rvh91

Hi

I'm currently look up issues with ONVIF cameras because I want to add NVR/cameras to my futur Home asistant setup. There is still since 2 months, this issue for all ONVIF cameras with reolink, hikvision ect ? For the moment only the video stream is working throught HA ? (settings like motion detection, enable / disable spotlight ect are currently broken ? ) for all hikvision cameras ? Thank you

kevincaradant avatar Feb 19 '23 12:02 kevincaradant

Hi

Yes, this problem is actual for all cameras if ur using onvif. But some cameras has own native integrations, for example reolink, dahua. It still works.

Hi

I'm currently look up issues with ONVIF cameras because I want to add NVR/cameras to my futur Home asistant setup. There is still since 2 months, this issue for all ONVIF cameras with reolink, hikvision ect ? For the moment only the video stream is working throught HA ? (settings like motion detection, enable / disable spotlight ect are currently broken ? ) for all hikvision cameras ? Thank you

ivaschru avatar Feb 19 '23 20:02 ivaschru

Hi

Yes, this problem is actual for all cameras if ur using onvif. But some cameras has own native integrations, for example reolink, dahua. It still works.

Hi I'm currently look up issues with ONVIF cameras because I want to add NVR/cameras to my futur Home asistant setup. There is still since 2 months, this issue for all ONVIF cameras with reolink, hikvision ect ? For the moment only the video stream is working throught HA ? (settings like motion detection, enable / disable spotlight ect are currently broken ? ) for all hikvision cameras ? Thank you

Oh OK I misunderstood one point... This integration onvif is different of https://www.home-assistant.io/integrations/hikvision/

I thought all integrations was using behind the scene ONVIF. But it's not the case in fact. In fact I saw this picture from this comment https://github.com/home-assistant/core/issues/83524#issuecomment-1399588862

I was wondering why @garry0garry doesn't use Reolink integration for the camera but it should have his own reasons.

Thanks for your answer

kevincaradant avatar Feb 19 '23 23:02 kevincaradant

Reolink integration does not work without HTTP. The E1 Pro camera does not have HTTP.

garry0garry avatar Feb 20 '23 05:02 garry0garry

New setup here, Camera stream works, binary sensors don't work... :(

Lectere avatar Mar 01 '23 13:03 Lectere

Home Assistant 2023.3.0 Frontend 20230301.0 - latest Reolink E1 Pro: изображение

garry0garry avatar Mar 02 '23 18:03 garry0garry