AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Zoneminder motion detection9/22/2023 ![]() ![]() The camera does not send an event end message, so we just have to use this timer to determine when to end the even in zonminder. ![]() If the camera is in Record or Nodect mode, the script enables a forced alarm when an event is received and cancels it after '$alarmdelay' seconds of not receiving any activity.The script is threaded so each camera stream is opened in a new thread. The camera username and password are pulled from the 'remote hostname' section of the camera config in zoneminder IE: The script then connects to each cameras http push stream and waits for a motion event to be sent.Default: '_mol-' (so your monitor name in zoneminder would be 'mymonitor_mol-') There may be a better way to do this, I'm open to suggestions. ![]() connects to the zoneminder database looks for all monitors with the specified string '$matchstr' on the end of the name. ![]()
0 Comments
Read More
Leave a Reply. |