core icon indicating copy to clipboard operation
core copied to clipboard

Onvif only works for 1 device after the 2022.8.0 core update

Open XalaTheShepard opened this issue 2 years ago β€’ 26 comments

The problem

Hello,

I have currently 3 devices (cameras) running in my Onvif integration. This used to work without any issue. I always install the latest version of HA Core, but after the installation of HA Core 2022.8.0 none of my Onvif devices, except for the one last added, worked anymore. I have tried to delete them and add them again, but I got an error message saying that the maximum number of trying to connect was reached. They still work perfect in Onvif Device Manager. I even restored a backup of this morning with the latest 2022.7.7 HA Core version and they all worked again. But as soon as I update to HA Core 2022.8.0 the issue emerges again.

What version of Home Assistant Core has the issue?

2022.8.0

What was the last working version of Home Assistant Core?

2022.7.7

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

XalaTheShepard avatar Aug 03 '22 20:08 XalaTheShepard

onvif documentation onvif source (message by IssueLinks)

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! (message by CodeOwnersMention)

Same issue since Update to New Version. Hope for fix soon..thanks

DaHype avatar Aug 03 '22 20:08 DaHype

I am using 10 current model Hikvision cameras via ONVIF integration and none are working after the latest core update.

Deleting and re-adding the cameras does not work to bring them back online. Changing the user privileges to admin in the camera settings does not work either. Only solution as mentioned above is to downgrade to 2022.7.7 HA Core.

JRoc1212 avatar Aug 03 '22 22:08 JRoc1212

I have 3 cameras via the ONVIF integration and they no longer work as well

cloudbr34k84 avatar Aug 03 '22 23:08 cloudbr34k84

🀚 I have the same issue! πŸ‘‡ Read below

Hi there! Sorry to read you are experiencing the same issue as more people here. Nobody likes having issues 😞

Finding an issue on a GitHub issue tracker that matches your problem is kinda nice: At least you know you are not alone. So, let's leave a commit with: "Yeah, I have the same issue", or "+1!!!". 🚫 No!

Please do not create "I have the same issue" comments!

Not just this issue or this project, but anywhere on GitHub or any issue tracker on the internet even. It doesn't add to triaging the issue. It only generates noise when reading / triaging the case.

What to do instead?

Instead, go to the top of the issue, and add a πŸ‘ emoji reaction. That way, we can still see that you (and how many others) experience this issue while keeping the issue threads nice and clean.

Thanks! ❀️

../Frenck

frenck avatar Aug 03 '22 23:08 frenck

Hi, I had 4 working ONVIF ip-cameras on HA 2022.7.7 and now with 2022.8 only 3 cams are working. As I see that are more people with this issue, I think we must say what cameras work fine and what cameras not, after update, for better diagnostics.

(HA OS on Raspberry pi 4B)

My working ONVIF cameras after update:

  • Sonoff GK-200MP2 (with ONVIF hack)
  • Tapo C200
  • Chinesse camera with Yosee app

My failed ONVIF camera after update:

  • Victure PC650 dual band (Connected to 5GHz)

ONVIF ERROR: "VictureCam No se pudo configurar"

Pardon, @frenck , I was writing this post when You published the yours... sorry

FranMaverix avatar Aug 03 '22 23:08 FranMaverix

My expensive

Blaupunkt VIO B-30 NOT working

Cheap Ctronics CTIPC-246CWS720PAN working ;-(

HA OS on Raspberry PI 3B+ 64Bit

I Had to Go Back to HAS 2022.7.7 :-(

2022-08-03 17:24:46.521 ERROR (MainThread) [homeassistant.components.onvif] Couldn't connect to camera 'General', please verify that the credentials are correct. Error: Invalid data

DaHype avatar Aug 04 '22 06:08 DaHype

My Imou camera is still working fine. My two Risco camera's can not log in.

XalaTheShepard avatar Aug 04 '22 10:08 XalaTheShepard

Hi same here. Tapo C200 is still working. Both of the H.View cameras stopped. According to the logs the login credentials are not valid what is not the case. Went back to 2022.7.7 and all works again.

rbartha avatar Aug 04 '22 11:08 rbartha

Am using RLK16-820D8-A NVR and Dome Cameras as well as the Duo PoE. I have tried 2022.7.7, 2022.8.0, and 2022.8.1 and the results are the same for me.

When I install the Duo PoE it will work. If I install the dome cameras (even one) the PoE goes away and is replaced by any of the dome cameras that are installed.

rhodan412 avatar Aug 05 '22 01:08 rhodan412

2022.8.1

Also Not fixed for me. So Back to 2022.7.7 again :-((

DaHype avatar Aug 05 '22 06:08 DaHype

@DaHype This issue ain't closed, and you can check the release notes for patch releases as well. No need to report it isn't fixed in X when the issue is still open. Let's keep the noise in the issues low. Thanks! πŸ‘

frenck avatar Aug 05 '22 07:08 frenck

If it helps, in my case I only have 2 cameras in my system, model Victure PC730 and working perfectly till 2022.7.7 Now both doesn't work since 2022.8 and neither with 2022.8.1

quikote avatar Aug 05 '22 11:08 quikote

Similar issue here...had 4 Dahua cams working with the Onvif integration prior to upgrade, now only 3 work.

paulaltomare avatar Aug 05 '22 15:08 paulaltomare

Camera IP POE B4 ZINTRONIC 5MP (Based on HeroSpeed) - Same issue here, not sure if listing models help, but some did do so.

Usandu avatar Aug 05 '22 15:08 Usandu

EC101-X15 360eyes.club has same issue.

Pistoletjes avatar Aug 06 '22 17:08 Pistoletjes

My Hikvison camera doesn't work since 2022.8 and neither with 2022.8.1.

2022.7.7 is working fine!

mag2bue avatar Aug 06 '22 21:08 mag2bue

Set NTP Setting in Cam Settings ON, solved for me the issue πŸ‘

DaHype avatar Aug 07 '22 20:08 DaHype

Set NTP Setting in Cam Settings ON, solved for me the issue πŸ‘

Helped for me as well ☺️ Thanks a lotπŸ‘

pastrybaker avatar Aug 07 '22 22:08 pastrybaker

Set NTP Setting in Cam Settings ON, solved for me the issue πŸ‘

Thanks @DaHype, NTP (Network Time Protocol) allowed HA to see my 10 Hikivsion Cameras on 2022.8.2.

For those with Hikvision cameras, log into your camera via IP address and select 'Configuration' tab, this brings you to 'System Settings' then click the 'Time Settings' tab at the top. Make sure "NTP" is selected and the default values should work (click test button to confirm) then click "Save".

I did this prior to upgrading to 2022.8.2 and post-update everything is working as it should so far.

Those with different camera brands should be able to make the change in their settings. If you need NTP values, here is what Hikvision uses as default:

Server Address: time.windows.com NTP Port: 123 Interval: 1440 minute(s)

JRoc1212 avatar Aug 08 '22 01:08 JRoc1212

Unfortunately, setting NTP to ON did not work for me. I have 4 Dahua cams using the ONVIF integration. 3 of the 4 continue to work.

paulaltomare avatar Aug 08 '22 02:08 paulaltomare

Setting the time settings solved the issue for me. Although now the time of my camera's is off with 1 hour.

XalaTheShepard avatar Aug 09 '22 14:08 XalaTheShepard

I have set my Victure cam to time zone +00 and now it's working... (the NTP already was configured, but did not work)

FranMaverix avatar Aug 09 '22 14:08 FranMaverix

Setting the time settings solved the issue for me. Although now the time of my camera's is off with 1 hour.

Edit: after a reboot some camera's are offline again

XalaTheShepard avatar Aug 09 '22 15:08 XalaTheShepard

Editing the time settings using the Onvif Device Manager temporarily solved the issue for me. For some unknown reason the camera's are back unavailable after a reboot, although the time settings are not changed during the reboot.

XalaTheShepard avatar Aug 10 '22 15:08 XalaTheShepard

My guess is that the time clocks on those cameras aren't super accurate and the time has deviated enough for the authentication to fail.

annunity avatar Aug 13 '22 23:08 annunity

Is someone still looking into this topic? I know there is a (temporary) solution with enabling the NTP server, but not all devices support this. Every time I reboot HA, I have to adjust the camera settings and this still is a hit and miss. I noticed there is also almost no feedback coming in for this issue anymore.

XalaTheShepard avatar Aug 16 '22 07:08 XalaTheShepard

Is someone still looking into this topic? I know there is a (temporary) solution with enabling the NTP server, but not all devices support this. Every time I reboot HA, I have to adjust the camera settings and this still is a hit and miss. I noticed there is also almost no feedback coming in for this issue anymore.

i have reolink cameras and they are not working still

cloudbr34k84 avatar Aug 16 '22 08:08 cloudbr34k84

Is someone still looking into this topic? I know there is a (temporary) solution with enabling the NTP server, but not all devices support this. Every time I reboot HA, I have to adjust the camera settings and this still is a hit and miss. I noticed there is also almost no feedback coming in for this issue anymore.

My Venture cameras still not working neither. This camera has no NTP option in the settings so I think an update in the HA core is needed to solve the problem. The cameras worked flawlessly till 2022.07.*

quikote avatar Aug 16 '22 11:08 quikote

How do you go back to a previous version?

n2ocharged avatar Aug 22 '22 02:08 n2ocharged

Hallo,

I have 2 cameras, Dahua and Hico and no one can connect to HA from 2022.8 So I have last version of 2022.7 and waiting for resolve this issue. Will be resolve in future? Why the connection is interupt?

DaveeKol avatar Aug 22 '22 03:08 DaveeKol

I've just managed ot overcome this issue for the first time in the 2022.8 branch. It appeared that my issue was down to daylight savings time here in the UK. Having recently had a camera replaced under warranty I'd quickly thrown a config together whilst in a rush and accidentally set the time zone wrong. Upon upgrade to 2022.8.7 I noticed that just the new camera was working, upon inspection I noticed that it displayed the time correctly but mentioned +08:00 on the end.

As a result I've gone into my other 3 cameras (Lilin 5mp models), set it to sync with an NTP server on my network with a time zone of Taipei +8.:00, then DISABLED ntp syncing and synced the time up with my laptop via the camera's interface. It now shows the correct time with (+08:00) on the end but the time displays correctly in the camera feed.

Hopefully this helps others and may give some insight into a real fix. I can only presume that the devs live in an area where daylight savings isn't used (most countries other than the UK).

ljmellor avatar Aug 27 '22 07:08 ljmellor

7 out of 8 cameras didn't work on 2022.8.7, so i tried the brand new release 2022.9.0 and that made all of the cameras die. reverted back to old version, and was back to one working one. All cameras have NTP set, and tried with and without DST, with no changes.

KimCarlsen avatar Sep 07 '22 18:09 KimCarlsen

I could not get 1 of 4 cameras to work after upgrading to .8 even with identical settings to the other 3. It is a Dahua Cam so I was able to get it back using the Dahua integration instead of Onvif just for the 1 cam.

paulaltomare avatar Sep 07 '22 19:09 paulaltomare