Is control of Blue Iris software possible via Vera?

Hi, I just wanted to know if it was possible to control the Blue Iris software via a plugin or via Luup with my Vera 3 controller. What I want to do is to switch between Profiles by either activating a Vera Scene or via PLEG. I currently have Blue Iris (Ver. 4.0.3) installed on a standalone CPU that I mainly use only for Camera recording.

Is this possible, and if so, how do I do it. Please keep instructions as detailed as possible as I am a newbie at this.

Not sure since I don’t have or use BlueIris, but a search here on the forums yields many results for Blue Iris and one of the first ones is regarding the Vera Plug In. So that may be a good place to start

[quote=“pbrisebois, post:1, topic:193110”]Hi, I just wanted to know if it was possible to control the Blue Iris software via a plugin or via Luup with my Vera 3 controller. What I want to do is to switch between Profiles by either activating a Vera Scene or via PLEG. I currently have Blue Iris (Ver. 4.0.3) installed on a standalone CPU that I mainly use only for Camera recording.

Is this possible, and if so, how do I do it. Please keep instructions as detailed as possible as I am a newbie at this.[/quote]

Yup, absolutely possible. In case the Blue Iris plugin doesn’t handle this natively, you can use simple HTTP requests. Sorry, I don’t have the detailed instructions since I’m not using PLEG or luup for logic, but the gist of it is you can send an HTTP request to your blue iris server from Vera.

From there, you have the following options (pasted from the Blue Iris help file under “The Web Server” section)

/image/{cam-short-name}?q=50&s=80 A single JPEG image from a specific camera or group, with optional quality (q) and scale (s) parameters. Quality is a percentage from 1-100, and scale may be any number >0. /image/{cam-short-name}?h=100 You may also specify a specific height (h) or width (w) instead of scale. /mjpg/{cam-short-name}/video.mjpg An M-JPEG stream. This stream is compatible with Blue Iris's "MJPEG stream request." /file/clips/{filename}&mode=jpeg&speed=100 An M-JPEG stream of a clip from your New clips folder. You may include additional subdirectory names in the filename. The speed parameter is optional, a percentage of normal playback speed. /thumbs/{filename} A thumbnail image from a specific file in the New clips folder. /alerts/{filename} A JPEG image from the Alerts folder. /admin?profile=x Temporarily change the active profile to x. Use x=-1 to toggle the lock status. /admin?camera=x&trigger Trigger camera x (short name) /admin?signal=x Changes the traffic signal state and returns the current state. x=0 for red, x=1 for green, x=2 for yellow. This requires admin authentication. /audio/{cam-short-name}/temp.wav Pull a raw audio stream (MIME type audio/x-wav). /cam/{cam-short-name}/pos=x Performs a PTZ command on the specified camera, where x= 0=left, 1=right, 2=up, 3=down, 4=home, 5=zoom in, 6=zoom out /cam/{cam-short-name}/pos=100 Causes a snapshot image to be captured from the specified camera. /h264/{cam-short-name}/temp.h264 Pull a raw H.264 stream (MIME type video/H264). This stream will play in a tool like VLC, and may be used in future versions of the ActiveX control. /h264/{cam-short-name}/temp.ts Pull an MPEG-2 transport stream (MIME type video/MP2T). /h264/{cam-short-name}/temp.m or .m3u8 Pull a virtual M3U8 file (MIME type application/vnd.apple.mpegurl). This will play in QuickTime, iPad and the iPhone using the iPhone Live Streaming format.

In your case, you just need vera to generate an HTTP request through luup. For example, the URL you need vera to generate would be something like this:

http://192.168.1.100/admin?profile=2

where 192.168.1.100 is the address for your blue iris machine and 2 = the profile ID you want to switch to.

In case your blue iris web server has a password setup, you can add that in with the following example:
http://username:password@192.168.1.100/admin?profile=2

Remember to test the URL in your browser first to make sure the profiles are switching correctly before adding it into your vera rules.

Lots of us using Blue Iris do this, I have mine set so that whenever my wife’s iPhone or my iPhone are local kick into BI profile 2 where I have it recording but NOT alerting. Here are my command which I use in a PLEG:

luup.inet.wget(“http://10.0.1.20:81/admin?profile=1&lock=1&user=RichardPHarvey&pw=passwordhere”)

luup.inet.wget(“http://10.0.1.20:81/admin?profile=2&lock=1&user=RichardPHarvey&pw=passwordhere”)

yes, I use HTTP from BlueIris-> update Vera and Vera->BlueIris to control things like profiles depending on the state of the alarm in Vera, time of day in Vera, etc.

[quote=“RichardPHarvey, post:4, topic:193110”]Lots of us using Blue Iris do this, I have mine set so that whenever my wife’s iPhone or my iPhone are local kick into BI profile 2 where I have it recording but NOT alerting. Here are my command which I use in a PLEG:

luup.inet.wget(“http://10.0.1.20:81/admin?profile=1&lock=1&user=RichardPHarvey&pw=passwordhere”)

luup.inet.wget(“http://10.0.1.20:81/admin?profile=2&lock=1&user=RichardPHarvey&pw=passwordhere”)[/quote]

I had this working, but now all of a sudden the above won’t change the profile.
The http string put in a browser switches profiles just fine, the same in a wget sent from vera in a scene or luup test window does not. Any ideas? Thank you!

never mind, turns out it was the firewall sw on the bi pc blocking the request

I upgraded to BI 5 this weekend and now neither of these commands work. Browser reports “Authorization required”:
luup.inet.wget(“http://10.0.1.20:81/admin?profile=1&lock=1&user=RichardPHarvey&pw=passwordhere”)
luup.inet.wget(“http://username:password@192.168.1.100/admin?profile=2")

I tried disabling my fire wall temporarily as well.

I read through the BI help file. It seems authentication may have changed to the user:password format but this also did not work:
luup.inet.wget(“http://192.168.1.100/admin?profile=2&username:password")

So I am officially stumped.

I got this from BI support for same issue:
“OK found the problem … you need to uncheck “use secure session and login” on Settings/Web server/Advanced. It is not possible to do URL authentication otherwise.”

I thought I had that unchecked. Perhaps I did not apply the changes as I was playing with it. Working now so that must have been it. Thanks for the help.