Highlight a monitor in kiosk when motion detected
Posted: Fri Feb 07, 2025 9:12 pm
Hi all
I'm putting the finishing touches on my install. I have set up a kiosk monitor with a simple montage of 4 of my streams, using a very simple html page served up by apache2:
This works fine. All 4 of the requested monitors are shown, they're tiled 2x2 on a display, they stay live forever (so far).
However, I'd like to alert a viewer to when motion is detected on a monitor or linked monitor. Eg, draw a red outline around that monitor to draw attention to it.
I've been doing a bunch of searches, can't seem to find any posts or pages that this discuss visible motion alerts on nph-zms streams. I might be blind.
Is there a way? Or can you please point me to a thread I've missed?
Thanks!
Deets:
Zoneminder 1.36.35 on Ubuntu, 6 cameras into 8 monitors (2 monitors low-res for detection, 2 linked monitors at full res)
Kiosk is Pi 5, 32 bit desktop, Wayfire, chromium-browser in kiosk mode
I'm putting the finishing touches on my install. I have set up a kiosk monitor with a simple montage of 4 of my streams, using a very simple html page served up by apache2:
Code: Select all
<html>
<head>
</head>
<body >
<img src="http://<ip address>/zm/cgi-bin/nph-zms?mode=jpeg&maxfps=5&scale=35&state=1&monitor=1&token=<token string>" >
<img src="http://<ip address>/zm/cgi-bin/nph-zms?mode=jpeg&maxfps=5&scale=37&state=1&monitor=9&token=<token string>" >
<img src="http://<ip address>/zm/cgi-bin/nph-zms?mode=jpeg&maxfps=5&scale=35&state=1&monitor=2&token=<token string>" >
<img src="http://<ip address>/zm/cgi-bin/nph-zms?mode=jpeg&maxfps=5&scale=37&state=1&monitor=5&token=<token string>" >
</body>
</html>
However, I'd like to alert a viewer to when motion is detected on a monitor or linked monitor. Eg, draw a red outline around that monitor to draw attention to it.
I've been doing a bunch of searches, can't seem to find any posts or pages that this discuss visible motion alerts on nph-zms streams. I might be blind.
Is there a way? Or can you please point me to a thread I've missed?
Thanks!
Deets:
Zoneminder 1.36.35 on Ubuntu, 6 cameras into 8 monitors (2 monitors low-res for detection, 2 linked monitors at full res)
Kiosk is Pi 5, 32 bit desktop, Wayfire, chromium-browser in kiosk mode