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

Discussion in 'Home Automation' started by dalepa, Jun 26, 2018.

Share This Page

  1. dalepa

    dalepa Administrator

    Joined:
    Mar 9, 2014
    Messages:
    793
    Likes Received:
    189
    Location:
    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"
    }




    [​IMG]
     
    Last edited: Jul 1, 2018
    fenderman likes this.
  2. jrf

    jrf Getting the hang of it

    Joined:
    Sep 12, 2017
    Messages:
    131
    Likes Received:
    74
    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.
     
  3. jazzy1

    jazzy1 Getting the hang of it

    Joined:
    Mar 23, 2015
    Messages:
    184
    Likes Received:
    13
    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..
     
  4. jrf

    jrf Getting the hang of it

    Joined:
    Sep 12, 2017
    Messages:
    131
    Likes Received:
    74
    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
     
  5. jazzy1

    jazzy1 Getting the hang of it

    Joined:
    Mar 23, 2015
    Messages:
    184
    Likes Received:
    13
    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?
     
  6. jrf

    jrf Getting the hang of it

    Joined:
    Sep 12, 2017
    Messages:
    131
    Likes Received:
    74
    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.
     
  7. jazzy1

    jazzy1 Getting the hang of it

    Joined:
    Mar 23, 2015
    Messages:
    184
    Likes Received:
    13
    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?
     
  8. JNDATHP

    JNDATHP n3wb

    Joined:
    Oct 16, 2018
    Messages:
    13
    Likes Received:
    4
    Location:
    USA
    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.