Admin Commands to local console - help to get them to work...

edan

n3wb
May 18, 2022
11
1
USA
  • What I have:
    • Blue Iris running with the local console up.
    • Layout is 1-up and solo selected camera is checked so when I click on a camera it moves to the 1 position
  • What I want to do
    • On a camera alert
    • Using the "on alert" option
    • Using admin commands
    • select the alerted camera and move it to the 1 position
I can't get it to work.
"/admin?camera=camera1&select"
"/admin?camera=camera1&solo=1"
"/admin?camera=camera1&priority=1"

I figure there's just something basic I'm missing (like you can't use these commands on the built in console or I'm messing up the syntax somehow)
Any help would be greatly appreciated.
 
Are you authenticating the HTTP requests by including &user=username&pw=password in any of your HTTP requests? If so, insure that secure session keys and login page is disabled on the Advanced page in Settings/Web server.

Please show an example of the entire HTTP request you're using now that "won't work."

Are you getting a error popup or nothing when it doesn't work?
 
I'm not using the web server. Just the BI display you get when you launch the application. The Web Server is not enabled.

It sounds, from your response, like these commands can not be used with the internal display, only with the web server. Is that correct?
 
I'm not using the web server. Just the BI display you get when you launch the application. The Web Server is not enabled.

It sounds, from your response, like these commands can not be used with the internal display, only with the web server. Is that correct?

IIRC, any HTTP requests issued by browser URL, cURL or other methods do, in fact, involve the web server so it would require enabling.

In BI's built-in "Help", under "Administration" => "HTTP Interface" it states:

"In addition to Digital I/O and MQTT services, Blue Iris also offers significant opportunity to interact with and to manage the software through a web server interface."
 
Your goal is clear, but we need screenshots of exactly what you're doing to try to make it happen, so we can identify what is wrong. I know Blue Iris has an "/admin? command" action that can be activated upon camera trigger. I don't know if that requires the web server to be enabled or not, since almost everyone has the web server enabled. You should too; just don't allow access through the Windows firewall if you don't want it to be used. Either way, please share screenshots showing how you configured that, assuming that action is even what you used. I very much doubt it requires credentials to be added if you aren't actually setting up an HTTP request.
 
So here's what worked for me...

In the camera settings page -> Alert -> On alert... -> Configure Command Action
o Command: /admin? command
o /admin? args: camera=CameraName&select

Notice that I did not put anything in the args section but the actual arguments
for the command as described in the documentation. That apparently directs the
command to the console display.

I do not have the Web server running. At first I turned it on and configured it
and everything worked with the parameters I documented above. But as a lark I
turned the web server off and everything stil worked.

To be sure it wasn't just a fluke I shut BI down and restarted it. Everything
still worked.

Thanks for all your help. You feedback set me off in the right direction to
work this out.
 
  • Like
Reactions: TonyR
So here's what worked for me...

In the camera settings page -> Alert -> On alert... -> Configure Command Action
o Command: /admin? command
o /admin? args: camera=CameraName&select

Notice that I did not put anything in the args section but the actual arguments
for the command as described in the documentation. That apparently directs the
command to the console display.

I do not have the Web server running. At first I turned it on and configured it
and everything worked with the parameters I documented above. But as a lark I
turned the web server off and everything stil worked.

To be sure it wasn't just a fluke I shut BI down and restarted it. Everything
still worked.

Thanks for all your help. You feedback set me off in the right direction to
work this out.
Thanks for the reply.....I learned something today! :cool: