I bought a couple of web cameras Hikvision DS-2CD2142FWD-IS on aliexpress and I'm very happy with them.
They can record onto my NAS without the need for an NVR or a PC running NVR software.
I've powered my cameras through PoE but I haven't connected the alarm-in or alarm-out connectors to anything. They will record automatically whenever they detect motion. I access the recordings through the built in GUI.
Now I'd like to integrate the cameras in my Domoticz Home Automation system.
I currently have 2 goals:
- Domoticz want's to know whenever motion has been detected.
- It would be great if the web camera can be instructed only to record under certain conditions, eg the Domoticz alarm status is "Armed Away".
Code: Select all
curl --silent -u username:password http://<CAMERA_IP>/IO/outputs/1/status|grep '<ioState>active</ioState>'
Here is a review of an older model that inspired me.
To be continued...