In order for the sensors to work the hikvision user must have the ‘Remote: Notify Surveillance Center/Trigger Alarm Output’ permission which can be enabled from the user management section of the web interface. Also the ‘WEB Authentication’ needs to be set to ‘digest/basic’ in the security/authentication section. Ensure this is applied on each individual camera in case of using an NVR.
I did a simple google search and found this pictures. I dont have access to the camera at the moment but I remembered that the menus looks something like this.
You’re giving us so little information to work with, it’s almost impossible to help you without wild guessing. You don’t need any alarm input number. It’s for connecting external alarm contacts to the NVR. Disable all this. Unless this is what you want ? You didn’t tell us.
The important thing to enable for the event type you want to expose to HA is “Notify Surveillance Center”. And of course you’ll need to enable and configure all required events on your camera first. The hikvision integration will then pick up the event types. You may need to restart HA.
Because you’re on the alarm input tab… Please explain exactly what you’re trying to achieve here. It’s impossible to help you otherwise. It looks like you specifically want to enable alarm input handling, because you’re absolutely not following the steps both @seagri and myself have been posting. Is enabling alarm inputs what you want to achieve ? Ie. do you have actual hardwired sensors connected to the NVR alarm input connectors and this is what you want HA to see ? Please explain your intentions with this.