petrleocompel / hikaxpro_hacs

HACS repository of Hikvision Ax Pro integration for home assistant
MIT License
40 stars 4 forks source link

Add support for additional devices and functions #14

Open DejanBukovec opened 1 year ago

DejanBukovec commented 1 year ago

We can make this integration very close to what HIK connect offer and what API allow us to do...

For example for PIRCAM sensor we can get picture from it: GET /ISAPI/SecurityCP/pircam/picture/channels/?format=json

One good feature will be AC status of panel: GET /ISAPI/SecurityCP/status/acPowerStatus?format=json

And battery status: GET /ISAPI/SecurityCP/status/batteries?format=json

Or maybe using next call to get more info(Also network...) GET /ISAPI/SecurityCP/status/host?format=json

There are availible also next Sensors which are currently not implemented(I don't have model ID for them): glassBreakDetector - PIR (Passive Infrared) glass-break detector indoorDualTechnologyDetector - Indoor dual-technology detector panicButton - Panic button wiredDetector - Wired detector

If you can implement support also for other(non sensor/detector) devices to change some settings it will be awesome: wirelessSiren - For example change volume, show temperature, battery, signal, bypass, tamper status GET /ISAPI/SecurityCP/status/sirenStatus?format=json

repeaters - Show if is ONLINE/OFFLINE GET /ISAPI/SecurityCP/status/repeaterStatus?format=json

keypadStatus - Show temperature, battery, signal, bypass, tamper status GET /ISAPI/SecurityCP/status/keypadStatus?format=json

For siren(Internal siren) and keypad(DS-PK1-LT-WE) I can be tester because I have them installed.

Let me know if you don't have access to Hikvision documentation that I provide more info...