Integration with hikvision ax pro alarm system

this addon it is better

1 Like

This didn’t work for me

I think the solution lies here.

Who is able to use node-red can better detail the steps to do?
Thank you

For me petrleocompel integration work ok. It include Temperature entity for all sensors and state of magnetic sensors…

In hacs there are 2 versions with the same name, one of which is the one you indicated which doesn’t work for me, while the other can only see if the burglar alarm is armed or not.
Can you kindly put screenshots of how it works or detailed instructions to make it work?
Thank you

The version you use would be perfect for me, but unfortunately I always get written central not available.
Are there any settings to be made on the central alarm side?

Petr put a lot of time on integration and myself also help him make it better and better…
Right now we have a lot of different Zone(Sensors) informations:

He also work to integrate all Areas(Partitions) and informations for other devices like keypad, siren …

Im remove integration adn repository few times and reinstall it without issues… Do you use correct creditentals? Can you login to AX PRO local HTTP Configuration page with this creditentals?

If you have issues I recommend you that you open issue on github and post log file…

This would be perfect for me.
Thank you so much for your answer.
Yes, I can log in and set the. central office locally without authentication problems.
I can install and configure the addon from hacs but then the control panel can’t find me I would be happy if you could help me.

This is what I get after installing.

Questo errore ha avuto origine da un’integrazione personalizzata.

Logger: custom_components.hikvision_axpro
Source: custom_components/hikvision_axpro/
Integration: hikvision_axpro
First occurred: 17:21:46 (92 occurrences)
Last logged: 18:07:44

Unexpected error fetching hikvision_axpro data:
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/”, line 239, in _async_refresh = await self._async_update_data()
File “/config/custom_components/hikvision_axpro/”, line 205, in _async_update_data
await self.hass.async_add_executor_job(self._update_data)
File “/usr/local/lib/python3.10/concurrent/futures/”, line 58, in run
result = self.fn(*self.args, **self.kwargs)
File “/config/custom_components/hikvision_axpro/”, line 193, in _update_data
zone_status = ZonesResponse.from_dict(zone_response)
File “/config/custom_components/hikvision_axpro/”, line 279, in from_dict
zone_list = from_list(ZoneList.from_dict, obj.get(“ZoneList”))
File “/config/custom_components/hikvision_axpro/”, line 29, in from_list
return [f(y) for y in x]
File “/config/custom_components/hikvision_axpro/”, line 29, in
return [f(y) for y in x]
File “/config/custom_components/hikvision_axpro/”, line 263, in from_dict
zone = Zone.from_dict(obj.get(“Zone”))
File “/config/custom_components/hikvision_axpro/”, line 217, in from_dict
access_module_type = from_union([AccessModuleType, from_none], obj.get(“accessModuleType”))
File “/config/custom_components/hikvision_axpro/”, line 43, in from_union
assert False

This is the log

Can you please tell me more about your system? What components(Sensors, repeaters, kepads) are included in system? Maybe some is not supported yet and provide problems…
What is you AX PRO panel Firmware version(Latest is V1.2.8 build 230110)?

Can you please enable Debug and send debug log message?

Can you please try next:
1.) In file editor(For example Studio Code Server) open file /config/custom_components/hikvision_axpro/
2.) Find:

class AccessModuleType(Enum):
    LOCAL_TRANSMITTER = "localTransmitter"

3.) Replace it with:

class AccessModuleType(Enum):
    LOCAL_TRANSMITTER = "localTransmitter"
    MULTI_TRANSMITTER = "multiTransmitter"
    LOCAL_ZONE = "localZone"
    LOCAL_RELAY = "localRelay"
    LOCAL_SIREN = "localSiren"
    KEYPAD = "keypad"

4.) Restart HA

Let me know if this fix your issue that we can include it in next release…

Continuing the discussion from Integration with hikvision ax pro alarm system:

Modello dispositivo:DS-PWA96-M-WE
Versione Firmware:V1.2.8 build 230110
Versione Web:V4.25.1 build 221212



  • DS-PS1-I-WE
  • DS-PS1-E-WE

tag readers:

  • DS-PT1-WE

wireless keyfob:

I tried the change you suggested but it didn’t work
Sorry for writing to you from a new account but I can’t answer anymore because I’m limited to 3 replies. If you can answer me privately, I would be grateful.
I’ve debugged, where can I upload the file?
Thanks a lot for your availability

You can create issue on github

I released version 0.6.4 with Dejan fix

Thank you Fabio, but in the FTP server there is my current version already 1.74. The new version should is 1.76.
I checked even on the russian and EU FTP server, but the upgrading system of Hikvision gears is absolutely a mess. :face_with_monocle:

Did you manage to integrate DS KH6320?

У вас получилось сделать сценарий. На kh6320?
You’ve made a script. On kh6320?

I’ve added the GitHub - petrleocompel/hikaxpro_hacs: HACS repository of Hikvision Ax Pro integration for home assistant integration by @petrleocompel.

I would like to be able to see (on the dashboard) or automate something when a gate sensor is open or closed, or perhaps if a pir is seeing a person. Is this possible?

PS Thank you very much for this work.

Hey @ur5zeb those scene modes do indeed work, by sending Isapi… Do you also have a working command to actually arm/disarm?

Well it is possible. But depends on pull interval. Currently there is no “stream” of events. Something can change during the pull interval.

Check on github. I am not active almost at all on forum.

i am trying to use isapi command to arm my zone, everythink is working fine but… if there is zone which needs to by-pass some sensors the isapi command is stacking and not arming the zone.

In the app if you are trying to arm a zone with sensors opened (contact window sensors) the app is asking if you want to arm with opened sensors and you can accept it and arm by-passing these sensors.
How could i achieve this via isapi command ?

You need manually bypass triggered sensors(zones) before arming area…
What if you in case that ARM function fail check which sensors are currently trigered and then call bypass function(Zones which you would like bypass you send as list):

Check documentation and you will find all functions…