-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[onvif] Unable to setup a Hikvision DS-HD1 doorbell camera #35947
Comments
Yeah, I accidently broke it in 0.110.1. Should work if you roll back to 0.110.0, and also when #35932 comes out. |
@dkulchinsky - Actually, I didn't get that exact error on my doorbell cam. Can you update to the latest firmware and check again if you are still having issues on 0.110.0? |
@hunterjm, I already have the latest firmware v5.2.4 Build 200321 and pretty sure I had the same issue on 1.110.0, but I will double check. |
@hunterjm confirmed, getting the same exact error with v0.110.0 |
wow, that is strange... I've had this camera setup using the generic platform and it works fine: camera:
- platform: generic
name: Front Door Bell
stream_source: !secret front_door_bell_rtsp
still_image_url: http://<address>/onvif/snapshot |
@hunterjm anything I can do on my end to help debug this? |
This looks like the same issue as #35968. I've got a branch that fixes this by ignoring any video profiles that don't return an encoder configuration, but that means you probably won't get your doorbell feed in HA, which is less than ideal. Can one of you update your logger config to the one below and share the last couple lines starting at [zeep.asyncio.transport] HTTP Post to http:// right after you get that error on setup? logger: |
There you go, this is with 0.110.1 though (let me know if I should try the same with 0.110.0) p.s. sorry for replying from different github accounts... 😉
|
Got it, your Synology added a test ONVIF profile at the end with no configuration... sneaky sneaky: <trt:Profiles token="Profile_845600744" fixed="false">
<tt:Name>SynoTestProfile</tt:Name>
<tt:Extension></tt:Extension>
</trt:Profiles> Opening a new PR to close this now. |
The problem
I'm trying to add the Hikvision DS-HD1 doorbell camera to Home Assistant using the new UI integration, Discovery works just fine however setup fails with an error:
Full traceback (with debug level logging) below, if more information is needed - please let me know.
Environment
0.110.1
unknown
Docker + venv
onvif
Problem-relevant
configuration.yaml
N/A
Traceback/Error logs
Additional information
I couldn't find a proper Onvif registration for Hikvision, but I have seen some reports that they have been suspended from Onvif organization due to some sanctions by the US govt.
I can confirm though that this same camera works just fine with my Synology Surveillance Station (I'm using it intercept motion detection events, which fires a webhook to Home Assistant to start an automation script).
The text was updated successfully, but these errors were encountered: