A long time ago Nayr wrote how to make API calls to capture alarm signals generated by IVS & then the Dahua firmware changed.
I have 8 Dahua cameras of various types all running the v2.80 firmware (IPC-HX5X3X-Rhea_MultiLang_PN_Stream3_V2.800.0000013.0.R.191202 to be precise).
I have two big floodlights which are triggered by a pair of traditional PIR sensors and they come on randomly when it’s windy, due to I guess foliage moving about. What I’d really like to do is somehow monitor the alarm signals from the cameras and use these to turn on the lights instead, ideally only turning on the lights when two cameras get triggered by a person or vehicle.
I run a home control system on raspberry pi‘s, complete with MQTT and am happy interfacing relay control boards to this - e.g. my garage door opens automatically as I approach the house, triggered by my phone entering a GPS geofence AND the phone is connected to the car’s bluetooth.
The only bit of the equation I’m missing is how to get the camera IVS alarm signals either from the cameras (or my Dahua NVR, running V4 firmware) into the Raspberry Pi.
Options seem to be:
API calls - ideal, but doesn’t seem to be published anywhere how to do this?
Physical alarm signals from the cameras - some of my cameras seem to have an alarm out connector?
SNMP - do alarms from cameras get sent here and could I do some manipulation of data arriving at an SNMP server to spot alarms?
RTSP - I think that this is only for video, so probably not helpful
eMail - I guess I could set up a local email server and monitor incoming emails, but can’t help thinking that this is going to be a high latency solution, i.e. by the time something has received and processed the email, whoever needed the lights to come on will be long gone!
any advice, guidance or experiences here would be most welcome
thanks, Mark...
I have 8 Dahua cameras of various types all running the v2.80 firmware (IPC-HX5X3X-Rhea_MultiLang_PN_Stream3_V2.800.0000013.0.R.191202 to be precise).
I have two big floodlights which are triggered by a pair of traditional PIR sensors and they come on randomly when it’s windy, due to I guess foliage moving about. What I’d really like to do is somehow monitor the alarm signals from the cameras and use these to turn on the lights instead, ideally only turning on the lights when two cameras get triggered by a person or vehicle.
I run a home control system on raspberry pi‘s, complete with MQTT and am happy interfacing relay control boards to this - e.g. my garage door opens automatically as I approach the house, triggered by my phone entering a GPS geofence AND the phone is connected to the car’s bluetooth.
The only bit of the equation I’m missing is how to get the camera IVS alarm signals either from the cameras (or my Dahua NVR, running V4 firmware) into the Raspberry Pi.
Options seem to be:
API calls - ideal, but doesn’t seem to be published anywhere how to do this?
Physical alarm signals from the cameras - some of my cameras seem to have an alarm out connector?
SNMP - do alarms from cameras get sent here and could I do some manipulation of data arriving at an SNMP server to spot alarms?
RTSP - I think that this is only for video, so probably not helpful
eMail - I guess I could set up a local email server and monitor incoming emails, but can’t help thinking that this is going to be a high latency solution, i.e. by the time something has received and processed the email, whoever needed the lights to come on will be long gone!
any advice, guidance or experiences here would be most welcome
thanks, Mark...