Sorry, I’m in a hurry, the link above he made it so smartthings would trigger BI to record a particular camera, I edited it so a motion detection in smartthings would allow me to set a particular PTZ preset for a camera.
To make a camera in BI work as a smartthings motion detector, look at Blue Iris motion detection to activate smart app or [WITHDRAWN] Camera HTTP Motion Endpoint . So, if your system was already in an armed mode, a motion detection would indeed alert you and could also be told to turn on a light, all depends on what you want for your circumstance. Maybe I’m not following your needs?
First of all big thanks to jmz and to rayzurbock
I am still new to all this, i have be working on this all of yesterday on how to connect BI to smartthings and made a very quick write up to save the next person alot of time reading all the comments. Its really pour English but here it is.
5)Next go into BlueIris software and click on the opitons (gear on the top left)
BlueIris > Settings > User click Add button make sure to put a user and password you will need it for the next step and check the admin box
6)Next BlueIris > Settings > Web server click Advanced button
change the Require From: down Menu from all connections to Non-LAN only and then uncheck “Use secure session keys and login page”
also copy down the Local, internal (LAN) access ip address and server port you will need it in the next step
7)then go into your smartapp on your phone
market place => my apps
click on blue iris fusion
Click Local connections
Enter in the ip form BI web server tab without http:// (eg.192.168.0.100)
enter port number (eg.81)
enter the User and password Casse sensitive
click receive profile change notifications? to yes or no
8)Click Automation tab => Blue Iris => add camera trigger
Camera name is Casse sensitive and is the short name found by right clicking on the camera => settings => General
then select an action and name it and you should be good to go
i could have mist something because i have been going back and forth so hope this helps
Do the same thing both of these smartapps do in WebCORE (it’s just a HTTP endpoint)
I ultimately used the IFTTT option because every time you open the settings on one of those smartapps the web address regenerates, forcing you to retype it into Blue Iris, which was awful. I think if you did it via webcore it’d be a lot simpler, especially because you can just copy and paste from the browser to Blue Iris, and because you may be able to modify the webcore piston without it changing the address. I’ve seen posts in these threads about having webcore handle it (it could even do what Fusion does just fine), but haven’t tried it myself.
If you use the first link posted by JMZ that’s the one I did. I was using iOS and couldn’t copy and paste and the code changes every time you touch the link. So I created the http endpoint then went into the automation tab clicked on the http motion endpoint => next tab and it shows the code that has been set and you don’t have to rush.
so I have just downloaded BI and I can see my cameras on my screen (laptop for now). I can access them using my local LAN IP and port number. I can see that BI is detecting motion b/c it is recording clips, but ST isn’t sending me the notifications or doing anything.
I followed the steps outlined here but still nothing.
I had the same problem until I went in to the advances tab and changed to Non LAN. Because BI is asking for a password when ST is sending a command. Let me know if this helps. Also when if you watch live view in the smartthings IDE it will send a command that has your IP address of BI fallows by a user pass all in one line. If u take that and past it in to a web browser it should send the command to BI but if it pops up with a user password then BI is blocking smartthings. Hope this helps
To be clear, the BI Fusion app does not receive motion alerts from Blue Iris, it is for changing the Blue Iris profile and for triggering cameras to record when SmartThings motion/contact/etc activates.
If you are trying to get notifications from BI, then use one of the methods in this post #151 above:
I am new to home automation, SmartThings, video surveillance, and Blue Iris. The only programming experience I have is Fortran about 15 years ago. I am also NOT very knowledgeable about SSL, HTTP, HTTPS, WAN, LAN, password encryption, network security, etc. So, I will probably butcher much of the terminology and concepts in attempting to ask my questions. I have read all of the posts in this thread and feel like I will be able to get the remote profile switching and recording triggers working through either WAN or LAN. However, I need help understanding the difference between WAN and LAN as it refers to this setup. I am guessing that both connection methods, WAN and LAN, will allow remote profile changes from the SmartThings app on my phone even if my phone is not connected to my local network? Which method, WAN or LAN, is the safest from a network security standpoint? What is the advantage of one over the other? How does a SSL certificate and HTTPS relate to both of these methods? Thank you in advance for your help.
Sorry I was never good in English class even though it’s the only language I know LOL!! I am no master at this just a beginner so I will try my best here. What you want is to have st tell BI to record eg. Motion sensor on zigbee is activated tell front door cam to start. If this is correct then what smartthings dose is send an http request to BI but if Blue IRS is asking for a password instead of listening for this request it will never hear smartthings. That’s why you need to change the settings in Blue spray so it will listen without password. But if you want to have BI to send a request to smartthings to say motion in drive way then you will have to go with the other post and install the motion sensors apps.
Cheers I don’t no much about it. But I do know that the LAN is defined as Local AreaNetwork means your house ip. Wan in this case means going off to the cloud which takes longer if you have slow internet like mine. With the LAN I didn’t have to punch holes in my fire wall smartthings tAlks directly to my BI server. Your still technically talking to the cloud from your phone to smartthings but that can’t be helped. I could be wrong but it seams safer to use LAN and I have noticed it to be faster and more reliable. Hope this answers some of your questions.
Thanks Buzzshot. I had a feeling that the LAN method would be both safer and easier to implement for someone with my limited knowledge. It doesn’t seem like SSL, Stunnel, HTTPS, opening ports, etc would be applicable to the LAN method. If this is the case, it is good for me since I don’t fully understand these terms or why it would be beneficial to use the WAN method over the LAN method. I am planning try to get this working over the next few days. I’m sure that I will have more questions.
@cheers4beer, I see you got an answer already, but I’ll chime in to add a little more:
LAN = Local area network, WAN = Wide area network. For BI Fusion setup, LAN specifically means all traffic will stay on your home network, nothing out to the cloud (the SmartThings hub sends commands directly to the computer running Blue Iris. The WAN setup differs by having the SmartThings cloud send the commands to your Blue Iris computer.
The only functional differences are that the WAN option provides feedback if Blue Iris didn’t actually receive the command (no way to make this happen within this app alone when using LAN), and the WAN setup requires opening a port so the cloud can reach your Blue Iris computer.
LAN is definitely simpler, and is more secure in that it doesn’t expose your network to the outside. That’s not to say the WAN method is not secure, it just requires careful setup outside of this smartapp.
Yes, it doesn’t matter where your phone is, the only difference is that it’s either the hub or the cloud sending commands to Blue Iris. You can control via your phone either way because it is simply talking to the cloud which then commands the hub.
This only matters if you’re using the WAN method, and relates to you how you can secure the connection from the cloud to Blue Iris. You can get an SSL certificate, which is what enables you to use HTTPS, or you could use a VPN, or both, or many other things. Sounds like you’re leaning towards LAN, and I would too. So you can disregard the SSL/HTTPS stuff.
The LAN/WAN difference was a bigger deal in the evolution of the smartapp. The work I used as a starting point included a well-built but WAN only app and a sparse LAN app. I wanted to combine the features of both and add some more, so leaving the option for both was logical. I can think of few situations that WAN would be a better fit, primarily if you have your SmartThings hub on a different network than your Blue Iris computer. I would imagine most people would use LAN.
Thank you JMZ for creating this app and taking the time to answer my questions so thoroughly. I was able to get the profile changing working late last night with no problems. I haven’t tried the triggered recording because I don’t currently have any sensors to try. I’m in the infant stage of my home automation project and the Blue Iris profile changing is one of the more important features of my plan. Thanks again.
Is there a way to trigger a camera when a switch is shut off? I thought I saw that was coming in the notes at one point. I’m trying to create an outdoor motion sensor with a microswitch but the switch is configured in a way that it’s usually ON. Then, when the motion detector triggers it turns the micro switch off. That’s the point I’d like it to send a record command. Thanks
Excuse me, Sorry I didnt have the time to read through all the posts but I had a basic question about this smart app. Does this allow for me to view the cameras Live via st or is the primary purpose of this app to integration sensors from smart things into blue iris, and vice versa