Disable alerting temporarily
-
- Posts: 4
- Joined: Wed Oct 27, 2010 2:24 pm
Disable alerting temporarily
I want to setup up Zoneminder to send an email based on motion detection, but one of the zones is my front door. I would love to setup a script to run to turn this on and off when I run the script, but I can't figure out the best way to do this. The only way I can think of so far is to disable the SMTP on the server somehow, but I imagine there is a better way to do it through editing a config file for Zone Minder. Any ideas where I could start looking?
I don't use notifications, so I can't give you a hardened script that I've tested... but assuming you are turning notifications on/off through the 'Email' tab in options, something like this may work:
http://<server>/<path>/index.php?view=options&tab=mail&action=options&newConfig[ZM_OPT_EMAIL]=<0>
That should change the value of ZM_OPT_EMAIL to either 1 or 0. Let me know if that works for you
http://<server>/<path>/index.php?view=options&tab=mail&action=options&newConfig[ZM_OPT_EMAIL]=<0>
That should change the value of ZM_OPT_EMAIL to either 1 or 0. Let me know if that works for you
eyeZm, Native iPhone App for ZoneMinder: http://www.eyezm.com
Version 1.3 now available on iTunes, introduces Montage view, HTTPS/SSL support and H264 native streaming!
Subscribe to RSS feed for updates: http://www.eyezm.com/rssfeed.xml
Version 1.3 now available on iTunes, introduces Montage view, HTTPS/SSL support and H264 native streaming!
Subscribe to RSS feed for updates: http://www.eyezm.com/rssfeed.xml
-
- Posts: 4
- Joined: Wed Oct 27, 2010 2:24 pm