I’ve made a program for the Arduino with Ethernet shield that can trigger Blue Iris from an Arduino I/O. Blue Iris can also trigger the Arduino through “request from a web service” in the alert menu in Blue Iris.
Blue Iris web server should be on. Not 100% sure exactly what settings that is needed but I have uncheck the “secure only” and Authentication is set to Non-LAN only.
The Arduino program need some adaptation to work in your application. I’ve comment that line with “// Change this” in the program.
Right now the function is like this.
I/O 2,3,5,6 on the Arduino is digital inputs. (If input is high it will retrigger after 10 sec so break time in Blue Iris should be longer than 10 seconds). (I/O 4 and 10-13 I think is occupied so don’t use those)
Digital Input 2 on the Arduino will trigger the camera named “Cam1” in Blue Iris.
Digital Input 3 on the Arduino will trigger the camera named “Cam2” in Blue Iris.
Digital Input 5 on the Arduino will trigger the camera named “Cam3” in Blue Iris.
Digital Input 6 on the Arduino will trigger the camera named “Cam4” in Blue Iris.
I/O 7,8,9 on the Arduino is digital Outputs.
These will be triggered if the following settings are done in the “request from a web service” for the specific camera in Blue Iris. See picture attached and explanation below.
“When triggered”: put in the IP-number of the Arduino, in example (192.168.1.157)
“POST text”: Out07=On
Check “Request again….”
“POST text”: Out07=Off
I manage to get this working with copy paste from different project, and I don’t fully understand all the code but I manage to get it working for me anyway. So use on your own risk. Probably there is smarter ways of programming this and if anyone wants to improve the code please do that.
Blue Iris web server should be on. Not 100% sure exactly what settings that is needed but I have uncheck the “secure only” and Authentication is set to Non-LAN only.
The Arduino program need some adaptation to work in your application. I’ve comment that line with “// Change this” in the program.
Right now the function is like this.
I/O 2,3,5,6 on the Arduino is digital inputs. (If input is high it will retrigger after 10 sec so break time in Blue Iris should be longer than 10 seconds). (I/O 4 and 10-13 I think is occupied so don’t use those)
Digital Input 2 on the Arduino will trigger the camera named “Cam1” in Blue Iris.
Digital Input 3 on the Arduino will trigger the camera named “Cam2” in Blue Iris.
Digital Input 5 on the Arduino will trigger the camera named “Cam3” in Blue Iris.
Digital Input 6 on the Arduino will trigger the camera named “Cam4” in Blue Iris.
I/O 7,8,9 on the Arduino is digital Outputs.
These will be triggered if the following settings are done in the “request from a web service” for the specific camera in Blue Iris. See picture attached and explanation below.
“When triggered”: put in the IP-number of the Arduino, in example (192.168.1.157)
“POST text”: Out07=On
Check “Request again….”
“POST text”: Out07=Off
I manage to get this working with copy paste from different project, and I don’t fully understand all the code but I manage to get it working for me anyway. So use on your own risk. Probably there is smarter ways of programming this and if anyone wants to improve the code please do that.