Using Smartthings and a Iris-Motion-Sensor to trigger a camera

dalepa

Moderator
Mar 9, 2014
841
245
Houston, Texas
Update: I'm getting false alerts. This motion sensor is not going to work unless I can find a way to alert only after 2-3 seconds of motion.

Finally got the wireless walnut size Iris-Motion-Sensor to work with SmartThings and BlueIris

The Motion Sensor triggers my porch camera by triggering the BI WEB interface which also rings a doorbell sound.

Hopefully this will cut down on all the false motion alerts when using BI motion detection.

here's the Groovy code snippit to add a SmartThings SmartApp.

(change CAPS below for you site info)

def params = [
uri: "http://USER:PASSWORD@MYBIWEBSITE.COM",
path: "/admin?camera=PorchAlert&trigger"
]
try {
httpGet(params) { resp ->
resp.headers.each {
//log.debug "results: ${it.name} : ${it.value}"
}
}
} catch (e) {
log.error "something went wrong: $e"
}




Iris_motion_sensor_en-us.png
 
Last edited:
  • Like
Reactions: fenderman
Look into webcore if you haven't webCoRE Community Forum
This is also VERY handy BlueIris Fusion

With those two pieces my BlueIris and Smartthings work together for all sorts of things from triggering cameras based on sensors and using the cameras motion as a motion sensor. Webcore pretty much lets you script anything you want with both of those. Doors opening always trigger my cameras at those doors and or a PTZ to swing there.
 
is smartthings still worth it these days? wanna trigger cams in relation to wireless motion sensors..ie. when mailbox opens trigger cam and zoom in, get SMS.....or is something like Home Assistant better?? currently have Homekit stuff...but want things to work together with BI..
 
I'm in the middle of switching to Hubitat. It's not nearly as "Smatthings" as Smartthings. Meaning smartthings was pretty user friendly. Hubitat takes a bit more technical knowledge. BUT seems pretty darn powerful and the real reason I switched....runs completely locally...no cloud calls unless you want hooks into cloud systems. I've reprogrammed all my stuff to have direct links to my BlueIris via URL calls and all works fast and good so far. Smartthings would still work fine however and there is a good smart app. BlueIris fusion that can do some more function..but I never used them.

I still use webcore locally on the hubitat to control blueiris modes/etc
 
if I'm not really programming fluent, you think Smartthings is a better place to start? Is it still worth investing in it? I see Amazon has the kit for $99...includes hub and some sensors...

also, people mention the new Samsung app as being junk...true?
 
if I'm not really programming fluent, you think Smartthings is a better place to start? Is it still worth investing in it? I see Amazon has the kit for $99...includes hub and some sensors...

also, people mention the new Samsung app as being junk...true?

Yes and no. Yes the Smartthings platform is easier to use...however what is described in this thread is not necessarily for someone that doesn't have a least a pretty good sense of computers/programming.

Samsung is in the process of moving from the old app to a new app. It's pretty messy right now. Most people are just sticking with the old until the new one is complete.
 
there's a new hub from China coming called "Aqara" which will enable much cheaper Homekit sensors in the market...it seems like nobody has set up
triggers with Blue Iris based on Home kit stuff yet..is that correct?
 
Look at HomeSeer at HomeSeer.com - it is not cloud based which as others have written is critical.

Between HS3 and various plugins, including one for BI, our home is nearly 100% automated (as opposed to controlled).

HS3 is not an out of the box setup but the forum for it is superb with many knowledgeable folks. I’ve been using HS since 1999 so have a pretty good idea how to achieve what it is that I want to have done.

For example, if there is motion on our front porch, we are alerted with an announcement on our Sonos speakers and a push notification from BI.

As I learn more about BI I can see how HS3 and BI complement one another very well.