Alarm State of Specific Monitor

Forum for questions and support relating to the 1.24.x releases only.
Locked
seyi
Posts: 1
Joined: Thu Jan 13, 2011 8:31 am

Alarm State of Specific Monitor

Post by seyi »

Hello,

I am doing some development in ZoneMinder and I have come across a problem. I need to determine if a monitor is in the alarmed state or not. This works by getting the status for single frame monitors, but when dealing with mpeg it does not. I tried to use the stream call, but I do not see a way to specify the monitor id (and it times out after 2 calls due to the connKey). Is this the right approach? Any help would be appreciated.
User avatar
jdhar
Posts: 125
Joined: Fri Oct 01, 2010 9:15 pm
Location: California

Re: Alarm State of Specific Monitor

Post by jdhar »

seyi wrote:Hello,

I am doing some development in ZoneMinder and I have come across a problem. I need to determine if a monitor is in the alarmed state or not. This works by getting the status for single frame monitors, but when dealing with mpeg it does not. I tried to use the stream call, but I do not see a way to specify the monitor id (and it times out after 2 calls due to the connKey). Is this the right approach? Any help would be appreciated.
What's the context you are trying to determine this in? ie: web/php, command-line etc... one thing you could consider is the web interface can determine if it the monitor is in Alarm, so take a look at the source for the Monitor View and see how it determines that.
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
Locked