Alarm data

Support and queries relating to all previous versions of ZoneMinder
Locked
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Alarm data

Post by jameswilson »

Phil, i assume the alarm text and sound etc on your web live view page is a request from the page to the server asking if its in alarm?

If so whats the path amd are the answers 1 ad 0 or -1 and 0?

Im asking to see how hard it would be to impliment alarms in my viewer, I was assuming i just get the state of the alarm per monitor and if then it, or is there a better way?


James
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

The status line actually uses a local call to zmu to get the status, which isn't probably the best way to do it. I'm not sure you could easily implement that remotely and it should probably just be another function of zms or a cgi direct function.

Phil
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

is this cgi easy to impliment?
Locked