[Solved] (in a round-about way), Turn on/off outlet or switch from Blue Iris

Continuing the discussion from Trying to get "HTTP Motion Endpoint" to work from Blue Iris or web browser:

Well, I’ve found a workable solution to this, using IFTTT. It’s not ideal, but it’s working, until I can either figure out why it won’t work directly, or get input from anyone who’s successfully done it.

Here’s what I did to get this working.

  1. Set up outlet or switch in Smartthings.
  2. Create an IFTTT account, and connect TWO channels to it. a) Smartthings and b) Maker.
  3. In IFTTT, make a new “Recipe” (you will create 2 total). I called my first one “BlueIrisCam2On” (you may use whatever you want).
  4. Use “BlueIrisCam2On” as the Trigger.
  5. Select “Turn On” as the Action, and select your Outlet or Switch to turn on.
  6. Create a SECOND IFTTT Recipe, called “BlueIrisCam2Off”.
  7. Use “BlueIrisCam2Off” as the Trigger.
  8. Select “Turn Off” as the Action, and select the SAME outlet or switch to turn off.

Now, in Blue Iris, under the camera properties, go to the Alerts page.

  1. Enable “Request from a web service”
  2. Click on “Configure” button.
  3. In the “When Triggered” box, enter this:
    maker.ifttt.com/trigger/(BlueIrisCam2On)/with/key/(Enter Your Maker Key Here)
    (Replace the (BlueIrisCam2On) with your ON Trigger Name)
    (Replace the (Enter Your Maker Key Here) with your key, from the “Maker” Channel screen in IFTTT. They are all different.
  4. In the “Request again when trigger is reset” box, enter this:
    maker.ifttt.com/trigger/(BlueIrisCam2Off)/with/key/(Enter Your Maker Key Here)
    (Replace the (BlueIrisCam2Off) with your OFF Trigger Name)
    (Replace the (Enter Your Maker Key Here) with your key, from the “Maker” Channel screen in IFTTT. They are all

That’s it! If you trigger the camera, your switch or outlet should come on!

I hope this helps someone, somewhere.

2 Likes

Glad you got it working. Are you using Foscam’s? If so, you can use RBoy’s Foscam DH and SmartApp to use the camera as a motion sensor. It may work with some other camera types too. I use this for my front porch light after we go to bed.

No, not using foscams. I have used them, but found them to not be as reliable as others, constantly getting locked up. For this project, I’m trying some new cameras, Alptop 4mp POE’s. So far, they seem pretty good, nice setup, good quality, high-res.

I will look for that app though, see if it is of any help. Thanks.

Did you try Kubicki’s Smart App? Blue Iris motion detection to activate smart app

It does basically the same thing as your IFTTT/Maker recipes, but within a smartapp instead of setting up a bunch of recipes.

I’m about to launch into getting mine setup, I was going to follow you with IFTTT, but I think I’m going to give the smartapp a go first.

How did I not ever fine this. I have a 16 camera blue iris setup.

Yes, I tried the app you listed, but could not get it to work properly. The IFTTT process is working, and has worked flawlessly for me since I set it up.

How long is the IFTTT delay? Tried using it to turn on a light as I walked into a room it was a 2-3 second delay.

Interesting. I haven’t gotten to it yet, but I’ll post if I get it to work or not. Otherwise, I’ll follow you with using IFTTT.

Well, I couldn’t get Kubicki’s Smart App to work either, but I didn’t try too hard because the IFTTT setup is super easy. Got it going, thanks @rcrosier!

Edit: I actually have this triggering a simulated motion sensor, not a switch, so I can use it for Smart Home Monitor and other alert-type things. The camera/Blue Iris combo handles outdoor motion much better than anything else I’ve tried. I couldn’t find any Simulated Switch + Motion device type handlers, so I just whipped this one up:

https://github.com/flyjmz/jmzSmartThings/tree/master/devicetypes/flyjmz/virtual-motion-switch.src

Hope it helps.

1 Like

Glad you got it. I spent quite a bit of time trying to figure out the other app, and then when I found the IFTTT solution, I had it going in just a short time.

The main problem I had with the smartapp listed above, IIRC, was that each time I went in to the smartapp, the numbers in the URL changed. So I kept having the wrong URL in Blue Iris.

I finally was able to set it up by going into IDE instead to copy the numbers needed from the smartapp there…

Sorry I’m being vague with my terms… I forget exactly what was changing it’s been a while since I set up, and I’m not going back into the smartapp because that’ll probably break things!!

Worked a treat, thanks @rcrosier using @JMZ 's virtual mottion device.

I know this is an old thread, but in case anyone is trying to set this up, I have a much improved smartapp that will take care of your needs. It offers full Blue Iris integration, and creates clean Camera Devices that act like motion sensors so you can subscribe to them in any other smart app. So if you want to use Blue Iris motion to do anything in SmartThings, this is going to work great:

1 Like

© 2019 SmartThings, Inc. All Rights Reserved. Terms of Use | Privacy Policy

SmartThings; SmartApps®; Physical Graph; Hello, Home; and Hello, Smart Home are all trademarks of the SmartThings, Inc.