Nope, it does not do live view.
JMZ- Since Iām still setting up my system, there are many times when my Blue Iris server is powered off. Iāve noticed that, even though my server is off, I will get SmartThings notifications that my Blue Iris profile has changed. It seems like it should be impossible to actually change the profile when the server is not powered up. I also remembered your comment below:
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)
I was just wondering why itās not possible to get feedback from Blue Iris. I was browsing through the Blue Iris JSON help file. It seems to contain language that would indicate that you can ask Blue Iris for the current profile and get a response.
If Iām reading correctly, it seems like it should be possible to tell Blue Iris to change profiles, wait a few seconds, ask Blue Iris for the current profile, compare desired state vs current state, then send a successful or unsuccessful notification depending on whether or not the current state matches the desired state. Let me know if I am misreading or misunderstanding something. Thank You.
The WAN option uses JSON commands and goes through several send/receive iterations in one session with the Blue Iris server, but itās from the cloud side. It does get feedback correctly.
The problem with the LAN option is that unless something changed, there is no way for the SmartThings hubAction http commands to receive. The app just sends an HTTP command to Blue Iris and assumes it made it. The help section you quoted references the commands both LAN and WAN use, itās just not possible to do on the LAN because of SmartThings hub functionality.
If I remember correctly it still posts messages in your app saying it was changed, but it really is just saying that it sent the message and should be changed unless the command wasnāt received. Thatās why youāre seeing them even when your system is off. Itās on my to do list to fix, but last time I looked into it I found the above information (that it canāt establish JSON sessions and cannot receive commands). If that has changed, Iād be more than happy to figure it out and add the capability. I could be that all the info I found was referring to JSON sessions, but weād still be limited in that weād have to figure out how to have Blue Iris send itās profile to the hub (because the hub canāt ask for it). An alert in BI when profile changes are made could work.
The real solution that Iām working on is a Blue Iris device type handler so youād have a āBlue Iris Serverā virtual device, and virtual devices for each camera. Then we wouldnāt need work around solutions for using the cameras as motion sensors, nor would we need this app at all (you could just implement profile changes in the other Smartapps). For your question, the device would just reflect the actual BI server status and you could make alerts if the profile didnāt match your SmartThings mode.
Bottom line: I hope to have this worked out, itās just going to take a while!
Update - well, pretty sure it is possible now that I look at it all again. So Iāll get working on it!
Thanks again JMZ. I hate to keep bugging you. So, if at any time I become a nuisance, let me know. Iām just trying to learn and this real world example is perfect for me. I have a couple of follow up questions/comments to your last post.
This would be awesome. If you start a thread about your Blue Iris device type handler or, in your research, run across anyone doing the same thing, can you link to it here? I think that most people interested in the Blue Iris Fusion smart app would be interested in the device type handler as well.
After looking again, what did you discover that is possibleā¦SmartThings Hub LAN āreceiveā functionality, āAn alert in BI when profile changes are madeā, or an easier than initially expected āDevice Type Handlerā?
The first two, weāll see about the third
Iāll certainly link to it here!
@cheers4beer
Update: Iām about 95% to version 1.0!! One thing left to code out, I need to get notifications to work better, and there are a handful of visual aesthetic issues Iād like to solve prior to posting.
This new DTH will only support local connections (hub has to be on the same network as Blue Iris or have access through a VPN, etc). There is a chance Iāll abandon WAN inclusion altogether going forward, but if I get enough feedback wanting it I should be able to add it. It will just make the app bigger and take longer to update each time. But please PM me if you need WAN access so I can understand the need (I think it largely exists because the old hub didnāt let us make local connections so WAN was the only optionā¦)
Camera devices and triggering will have to wait til v2.0, but I have a plan in place.
v1.0 can be standalone for profile integration, but will be better used alongside BI Fusion. It will mostly serve as the feedback loop to know BI is set to what you want. v2.0 will be a new BI Fusion app along with this new device type, working together to give the full functionality but with more capability. I hope to include some more mature app functions as well, like creating the devices out of the app itself so setup to a simpler, potentially reducing the number of apps to install and maintain in the IDE, and app update notifications.
Once itās ready Iāll start a new thread and link to it here so anyone following can find it.
hey JMZ you may have seen this site before but if you havenāt, its about sending BI sending motion detected to smartthings
Not sure if this helps
Yup, thanks, itās the one Iāve linked to a bunch of times when people have asked about it. I tried that out long ago but really donāt like the token operation. If you visit the settings it generates new tokens for each camera, and because itās on your app, you have to either read it and type it into BI or copy it to an email and email yourself, then copy/paste in BI. For every camera and every time you adjust settings.
Thatās why I use the maker channel on IFTTT. You just have one code for each camera that persists, and you set it up on your computer, so copy and paste is simple. Iām hoping to go away from that method entirely with the next device type version. Those tokens/IDs are so they can talk to the SmartThings smart app, but since the server and hub are on the same LAN, we should be able to handle it differently.
My goal is to subscribe the ST hub to the BI server, and then in BI youāll just have to set up alerts for each camera to the hub, no token, letting the device type handler parse the messages and react accordingly. I need to do some testing though, I donāt know what those messages look like, and Iāll be away from my BI server for a little while so motion will have to wait a bit. I hope to have the device and service manager out before that though, and add motion as a new feature.
Itās here! Ended up going with OAuth for motion sensing to get this out now instead of continued late-nights trying to get the method I want to work. But I got some good info recently so Iām hopeful.
Iām going to change this thread to āDeprecatedā since so much has changed. But rest assured, the install is almost perfectly clean overtop your existing BI Fusion install. You just need to double check your Trigger Notifications settings. I updated them to be much more useful and clear.
no matter what i try I cannot get this smartapp to trigger blue iris. seems to setup fine, have settings in blue iris set as described here, and get no errors during install/setup on phone but no matter what i try it just wont trigger. completely uninstalled fusion from the smartapps on phone and started over and still doesnt work. only notifications i get from it are that updates are available. any suggestions?
Are you using 3x? Are you saying that if you arm SHM that it doesnāt change the profile in BI? Or camera triggers? Anything in the ide logs?
JMZ Thanks for all the hard work! I love the app! I donāt know much about SmartThings video integration so this may be a dumb question but is there a way or will there be a way to view the video from my cameras when I am not on my local LAN?
Check out the new thread, but short answer is not yet. It only works on your LAN, but if I might try make it work outside of that. There are mostly security concerns opening it up, you really would want to use either stunnel for HTTPS or a VPN. Plus there are some complications in the app that open up. Iād recommend using the blue iris app for that, and let BI Fusion be the ST<>BI integration piece only.