Blue Iris - using http or json to get ptz camera patrol pause status

whatwaht

n3wb
Mar 7, 2025
8
0
au
Blue Iris 5.9.9.71

Hi all,

We have Blue Iris and there are users who often pause/stop the patrol function (using the square in the middle of the ptz control in the web interface) when they want to focus on an event. The problem is they don't resume the patrol, and no amount of education seems to prevent this happening.

I am looking for a way to either automatically resume the patrol after a period of time or notify when a camera patrol has been paused/stopped for a period of time. Is this possible?

thanks

j
 
Did you look at the camera setup screen, it is right there " Resume cycle/schedule after inactivity (sec)"! Never tried it so I am not sure it will do what you want!
1774319339394.png
From the built in help file (which is worth reading)
Event search-back also applies when using the option on the PTZ page to resume cycle/
schedule after a period of time. This allows you to use manual PTZ control, yet return to a
normally scheduled PTZ preset position after a period of time without manual PTZ control.
 
Thanks for the reply, we have that inactivity time set, it is for when the user moves the camera using the PTZ controls, but doesn't affect when the user preses the stop button.
 
I am looking for a way to either automatically resume the patrol after a period of time or notify when a camera patrol has been paused/stopped for a period of time. Is this possible?
Blue Iris doesn’t have a built-in “resume PTZ patrol after X minutes” or “alert if patrol stopped” feature, but you could setup an external automation using something like Node-RED, Home Assistant or Hubitat.
 
Maybe the HTTP Interface ptzcycle=1 command below could be issued every N minutes using a Do Command or Web request Action (see 'Execute action set each' on the Camera Settings > Schedule tab).

/admin?camera=x&ptzcycle=1 or 0 Enable or disable PTZ preset cycle on camera x