BI - Blue Iris Digital IO and IoT

davej

Getting the hang of it
Joined
Apr 25, 2014
Messages
279
Reaction score
69
I noticed that the BI options menu has a settings tab for "Digital IO and IoT" which includes the following fields...
-Serial port
-MQTT
-Sealevel Systems
-Control

I have been thinking of using a Raspberry Pi or Arduino to monitor some temperatures and some PIR motion detectors. It would be nice if this could generate BI alerts or perhaps overlays for some of the temperatures. Is anyone already doing this?
 

davej

Getting the hang of it
Joined
Apr 25, 2014
Messages
279
Reaction score
69
Interesting. I had not seen that conversation. So the Arduino sends bits which can trigger BI. What is your planned application?
 

opus too

Getting the hang of it
Joined
Nov 25, 2018
Messages
44
Reaction score
34
Location
usa
Using it to trigger a camera from a pir. I would like to change profiles, ie: alarm system arm-disarm, but I haven't found a way to do that yet. I don't think BI supports it.
 

davej

Getting the hang of it
Joined
Apr 25, 2014
Messages
279
Reaction score
69
Okay, so is this communication in both directions? You can trigger an alert with a digital input from the Arduino. Will a BI alert from a camera send a digital output back to the Arduino?
 

opus too

Getting the hang of it
Joined
Nov 25, 2018
Messages
44
Reaction score
34
Location
usa
I'm not using that feature right now, but from the description in the thread I posted and looking at the Arduino code I would say yes.
 

davej

Getting the hang of it
Joined
Apr 25, 2014
Messages
279
Reaction score
69
I got the text-messaging feature to work yesterday and that seems like it could be very useful.
 

BKG

n3wb
Joined
Feb 3, 2019
Messages
25
Reaction score
4
Location
Canada
I got the text-messaging feature to work yesterday and that seems like it could be very useful.
HI davej, do you know if BI can read inputs from IP cam? For instance: IP cam has an input alarm in a form of a simple switch configured as - N.O., so when switch is closed the input alarm is triggered on the IP cam. Question is, will BI read this trigger from IP cam?
 

BKG

n3wb
Joined
Feb 3, 2019
Messages
25
Reaction score
4
Location
Canada
HI davej, do you know if BI can read inputs from IP cam? For instance: IP cam has an input alarm in a form of a simple switch configured as - N.O., so when switch is closed the input alarm is triggered on the IP cam. Question is, will BI read this trigger from IP cam?
Question number two: does BI integrate with external input/output devices such as MOXA for example?
 

opus too

Getting the hang of it
Joined
Nov 25, 2018
Messages
44
Reaction score
34
Location
usa
Just an update on my earlier post, an Arduino can be used to switch profiles. I'm using it when we arm- disarm our alarm system.
It can be used to send any command BI supports.
 

BKG

n3wb
Joined
Feb 3, 2019
Messages
25
Reaction score
4
Location
Canada
Just an update on my earlier post, an Arduino can be used to switch profiles. I'm using it when we arm- disarm our alarm system.
It can be used to send any command BI supports.
Thanks for the info opus too! I am interested in connecting serial adapter to my alarm panel and see if BI accepts it.
 

davej

Getting the hang of it
Joined
Apr 25, 2014
Messages
279
Reaction score
69
HI davej, do you know if BI can read inputs from IP cam? For instance: IP cam has an input alarm in a form of a simple switch configured as - N.O., so when switch is closed the input alarm is triggered on the IP cam. Question is, will BI read this trigger from IP cam?
I have not experimented with discrete camera inputs. I suspect that they will trigger that camera, which will trigger BI, but I don't know if BI can be told that they should do more than simply triggering that camera.

Overall, I am interested in integrating my "home data collection" and "security alarm" so that these make the most of available Blue Iris features. For example recording when garage doors are open, or the doorbell is pressed, or other events.
 
Last edited:

BKG

n3wb
Joined
Feb 3, 2019
Messages
25
Reaction score
4
Location
Canada
Yes , that is exactly what I want to clarify with BI. Something like that(see pdf).
 

Attachments

Last edited:

gmartin808

n3wb
Joined
May 18, 2021
Messages
5
Reaction score
0
Location
CA
Does anyone know the maximum number of cameras that could be triggered independently through these Arduino to Blue Iris solutions? Can it support all 64 cameras?
 

The Automation Guy

Known around here
Joined
Feb 7, 2019
Messages
1,377
Reaction score
2,738
Location
USA
Just to note, MQTT is a great option for this as well. Basically you can use MQTT as a digital I/O trigger. Of course you have to set up a MQTT server, but that is simple enough and can even run on the same machine as BI. MQTT will not have any limitations in the number of devices it can work with and you can create unique topics for any situation. For example, if you have profiles set up in BI, you could use a different topic for each trigger so you would have a unique notification for each cameras and profile combination, etc, etc, etc.
 

The Automation Guy

Known around here
Joined
Feb 7, 2019
Messages
1,377
Reaction score
2,738
Location
USA
What kind of latency is there going through MQTT?
Virtually none. Any delay seems to be measured in milliseconds and definitely not seconds. I have a camera trigger my porch lights on if it is night time and the house alarm is armed "night" and then off again after set delay after the motion stops (because the lights should be on automatically if it is night and the house alarm isn't armed "night" and I don't want the lights turning off when we are awake). Obviously all that takes some computing time in my automation system, but the lights seem to turn on immediately with the trigger.

PS - let me clarify that statement. The BI system sends out a MQTT on every trigger for that particular camera. My automation system then has it's own trigger set up when that particular MQTT event happens. The logic to turn or not turn the light on/off is determined in the automation system (based on time of day and alarm status), not BI or MQTT.
 

gmartin808

n3wb
Joined
May 18, 2021
Messages
5
Reaction score
0
Location
CA
I have a devices with 64 BNC outputs that I would like to independently trigger recording of 64 different cameras. Whenever the TTL is high: recording on: low recording off. I would prefer latency of <100 ms. googling around it says that mwtt latency is on the order of 120 ms.
 
Top