SmartThings Community

How to Get Arlo Camera to start recording on Button Pressed?


(Jeff Leuschner) #1

I have a SmartThings Button and an Arlo Camera. I want when the button is double pressed to start recording for say 1 minute and then turn off.
I can find automations in the app that will turn on power to the camera, but I don’t see how I can tell it to start a recording.

Please help.


(Greg) #2

There are probably a few ways to do this.

Here is something I did with a flic button.

I had the flic action open a virtual open/close via a uDTH and IFTTT

Then use SHM to trigger an arlo recording based off the open sensor through custom SHM rules.


(Jeff Leuschner) #3

Thanks for the response. Unfortunately I cannot figure out how to get the Arlo Camera to start recording. And then on top of it, I’d like it to turn off after a period of time.


(Greg) #4

In my example you would use custom SHM rules. When you do that you will choose the length of the recording. so it will automatically stop.


#5

Basically that works via IFTTT. But since beginning of December the record option doesn’t work anymore (since to be an error on the Arlo side).


(Mavrrick) #6

I created a smart app this morning that will somewhat take care of this. It is in my repo. I linked it in the arlopilot thread you asked this question in.

One thing you have to remember is that you can only have up to 120 seconds of triggered recording with arlo. So you would need to trigger it again after that length of time.


(Jeff Leuschner) #7

That worked great. Only thing, I had to change your code for the button press.
I had to change this:
/input “myButton”, “capability.momentary”, title: “What Button?”, required: false, multiple: false/
input “myButton”, “capability.button”, title: “What Button?”, required: false, multiple: false

and this:

if (myButton) {    
    /*subscribe(myButton, "momentary.pushed", arloCapture)*/
    subscribe(myButton, "button.pushed", arloCapture)

	}

Thank you!!!


(Jeff Leuschner) #8

One question, why did you limit it to 120 seconds?


(Jeff Leuschner) #9

And Mavrrck58 one more question, I’d like to learn how to program the camera like you did. Where can I find the various camera options?
Reason for asking, the arlo camera has a light on it. Would like it to turn on when recording if possible.


(Mavrrick) #10

That isn’t really programming the camera as much as simply sending it a command it knows how to respond to. At the most basic level that app really originated from another user that created a app to refresh the arlo image with a 5 second clip. The logic that user figured out and provided makes a great base for any recorded action. The 120 second limit is a restriction Arlo has on the clips it allows. I also have an app I created that let’s me loon at commands and such for the cameras. I dont see any way to initiate a light on the camera they way are thinking


(Jeff Leuschner) #11

Thank you. How can I find out the commands that are supported so I can do my own programming?