Native implementation of Hikvison cameras\NVRs integration which relies on Hikvision ISAPI
This integration connects hikvision devices via local http xml api (ISAPI). While there is a stock hikvision integration there are some key differences you might concider before making a choice:
- Stability. The author of this library wasn't manage to make it work reliably at least with NVR MODEL_NAME_HERE
- Config Flow. This integration uses config flow so you could connect your devices and modify configuration settings without the need to reboot home assistant.
- Healthcheck alerts could trigger home assistant event which makes it easier to handle with automations.
- Status sensors. It could monitor NVR params e.g. CPU\Mem\Disk usage which could be handy for health monitoring.
- Multiple platforms. E.g. apart of watching alert stream this integration could discover and create camera entities.
TBD
TBD
TBD
TBD
In order to setup developer's environment it's recommended to do the following:
-
Setup home assistant dev instance localy and make sure you could run and debug it. If you don't have one follow this steps:
- Create new folder
mkdir hass-dev && cd hass-dev
- Create virtual env
virtualenv venv
- Create configuration file
touch configuration.yaml
and put minimal config there:TBD MINIMAL CONFIG
- Run home assistant like this
TBD
. You could use your favourite IDE and debuger e.g. for PyCharm the configuration might look like this.
- Create new folder
-
Make sure you have a folder
custrom_components
at the same level you have yourconfiguration.yaml
. If not - create itmkdir custrom_components
-
Checkout this repository into separate folder located outside of the
hass-dev
tree. -
Create a symlink to bind the main component folder to the
hass-dev/custom_components
- Dmitry Berezovsky
This module is licensed under MIT. This means you are free to use it even in commercial projects.
The MIT license clearly explains that there is no warranty for this free software. Please see the included LICENSE file for details.