Configuring Hikvision camera

Hello,

I have problems configuring my hikvision camera DS-2CD2386G2-ISU/SL

I want to integrate it in HA with the ONVIF integration and Hikvision integration :

  • platform: hikvision
    host: 192.168.1.105
    port: 80
    name: Camera Garagedeur
    username: !secret camera_garagedeur_login_rtsp
    password: !secret camera_garagedeur_psw_rtsp
    ssl: false
    customize:
    motion:
    ignored: false
    line_crossing:
    ignored: false
    field_detection:
    ignored: false
    tamper_detection:
    ignored: false
    faceSnap:
    ignored: true

!secret camera_garagedeur_login_rtsp is the user “rtsp”

First I created my users :

User rtsp as ‘operator’ !

Next is the integration, where I also have users to create and specify the security level :

Which users do I have to create here and with which level ?

Which login do I have to user for the ONVIF :

For the hikvision integration I use the rtsp user ?

I want it once and for all correct, so sorry if I asked stupid questions…

Hello Christian,

Thanks for coming here and asking a question.
Would you be so kind as to adjusting the format of your code so that we can read it properly & check the YAML spacing, etc. Editing your original is the preferred way. It is very hard for us to tell what is what when the text formatter jumbles everything like that.
You can use the </> button like this… How to format your code in forum posts
OR… Here is an example of how to fix formatting from the site FAQ Page.
How to help us help you - or How to ask a good question.