It’s been solid, thanks! I think I found a VPN solution as well, if I can get it done I’ll post a how to.
Thanks. I already have Blue Iris alerts set up to trigger the Maker channel which then can turn on a light. But what I was looking for was a way to cause a motion detector to “think” it was triggered so that SHM and other automations could use it.
I think I was asking for too much
This is exactly what I am looking for/thinking of.
I want to be able to use my 12 cameras in my home, that all have “motion” abilities, to trigger those as motion sensors in ST. I am going to make another topic on this.
Yup! If you like further down that post you’ll see a link to my virtual
motion-switch device. If you install that device type, you can use the
Maker channel you have set up to turn on the virtual switch. The virtual
switch device type is also a motion sensor in smartthings, so when the
Maker channel turns on the switch, It registers as motion active in
smartthings. Then you set up another maker applet in IFTTT to turn off the
switch, which sets motion to inactive. Just use my virtual device type and
look through the whole thread, it sounds like you’re already 99% there!
Is this what you are looking for?
I also modified this:
to work in reverse (have a ST motion send a PTZ command to BI)
was EXACTLY what I am looking for!!
I am having an issue where I am not able to copy the URLs out of the app, that is going to be a bit of an issue for 12 cameras =D
THANK YOU - THANK YOU - THANK YOU!
Thank you!! This is exactly what I want too. 9 cameras are a lot of “free” motion sensors for ST to play with.
Anyone have either a tutorial using HTTP POST to trigger a virtual motion detector or some kind of integrated smart app?
That app is a good solution, but I got tired of the URL changing every time I went to the app’s preferences (and then having to change it in Blue Iris), so I use a Blue Iris-IFTTT Maker Channel-Smartthings to accomplish the same thing. This post from above points to another thread about how to set it up. You won’t have to worry about coping the URLs from the app and then them changing on you if you enter preferences again. Just click below to open the post, and click the link to go to the thread, “[Solved] (in a round-about way…)”:
I use that virtual device, two IFTTT Maker applets, one to turn it “on” and one for “off” (active and no motion), and then just point Blue Iris alerts to that IFTTT channel. Haven’t had to touch it since I set it up last July. Here’s a link to the virtual device too:
Let me know if you have any issues. Not as clean as a smartapp and depends on IFTTT, but works just as well and doesn’t have the same mess with URLs.
@JMZ do I publish for me both parent and child app?
Yup, you need to publish both in the API. It’s just when you go on your
phone to install the app, you just need to install the parent.
Notifications added to triggers! I just updated both the parent and child apps in Github. Now you can have triggers send push/sms/notification center messages. Also added expanded/corrected notifications for profile changes. Be sure to update your apps, and after publishing them, open the app up on your phone to ensure the settings are correct (defaults to no notifications). Let me know if you need any help!
Just updated with a slight tweak, the Smartthings App Notification tab was super cluttered having each trigger display a line, so now you can turn that on or off in each trigger’s settings.
Thanks for the script! I added a “contact closed” option because I have a driveway sensor that is NO and closes when it detects a vehicle which triggers a door sensor wired to its relay.
Nice! Can you share your changes code? Setting it up to trigger for either
state change is on my todo list, I could incorporate yours and add the rest!
I just added a new input and event handler:
input "myContactClosed", "capability.contactSensor", title: "Contact Sensors Closing", required: false, multiple: true subscribe(myContactClosed, "contact.closed", eventHandlerBinary)
Is it possible to add in the ability for preset positions. So when the motion is triggered I can set it to got to a certain camera position?
Yes, read my post just a couple up from yours.
Can you share the modified code, I want to be able to change a preset on motion from ST.? I downloaded what was on github but it is not doing anything.
I think I got it, but I cannot figure out the presets, what does it mean by 7+1?
I don’t think Blue Iris Fusion is triggering the mode change for my Blue Iris server (e.g. set mode to X when ST goes away, set to mode Y when ST changes back to home, etc.). Where should I start debugging this?