Integrating a security system with Dahua Cameras (or any camera with an API)

cgsmith105

n3wb
Joined
Jun 27, 2024
Messages
1
Reaction score
1
Location
Freiburg, Germany
Hi everyone,

I made a python script that runs on a Raspberry Pi. It enables and disables privacy masks on a list of cameras based on if the alarm system is in alarm, disarmed, or armed. Check out the repository here: GitHub - cgsmith/camera-pi: Monitor a security system to see if it is in an alarm, armed, or disarmed state and make the appropriate API calls to the camera system to enable or disable certain privacy masks.

The Pi connects to dry contacts on the security system and just listens for a change of them. Works pretty well for our use case :)

I also have a video that demonstrates this that I can post if your interested.
 
Top