4 minutes
Use SmartCam’s Motion Sensor with SmartThings
So you got that fancy new Samsung SmartCam HD Pro and want to use its built in motion sensor with SmartThings? Can’t seem to find it the settings? Unfortunately, SmartThings hasn’t been able to grab the built in Motion Sensor yet. Good news everyone! We can still use it to trigger things in SmartThings!
Now, more than likely, you’ll want to use a second, rarely used Android device for this but your primary Android device will be able to do this as well. It may just become annoying.
First we need a couple of apps. The first is the Samsung SmartCam App. Next is trusty Tasker. Another is AutoNotification, this will be very valuable for grabbing the Samsung SmartCam App’s notification. The last is SharpTools, this will be used to trigger a Virtual Motion Sensor.
Now that we have all of that downloaded and installed, it’s time to set this bad boy (or girl) up. First we need to make sure we have “Event Alert” and “Motion Detection” check marked in the Samsung SmartCam App. This will create a notification on our device for AutoNotification to then intercept.
To create the Virtual Motion Sensor, go to the Web IDE. Select My Devices. Select New Device in top right corner. Give it a Name, I called mine Camera Motion. Give it a Device Network ID, I gave mine CM01. Under Type, select Simulated Motion Sensor. Select the Location and Hub that this will be tied to. Select Create.
Next, we need to setup Tasker to intercept the notification with AutoNotification and have it actuate a Virtual Motion Sensor.
Let’s open up Tasker. (I’m assuming you’ve gone through the initial setup of Tasker. If you need help with that, check out the giant wiki or I can create a new post. Let me know in the comments.) We’re going to tap the Plus(+) button at the bottom right. We’re going to select Event as our “trigger”. Tap Plugin. Tap AutoNotification. Tap Intercept. Tap the Pencil Icon in the top right. Under Apps, check SmartCam and tap OK. Under Action Type select Created and under Persistency Type select Non-Persitent Only, this way we only actuate the Virtual Motion Sensor in SmartThings whenever a new notification is created by SmartCam. We can leave it at that for now or we can beef it up a bit. If you don’t want to beef it up, skip the next paragraph.
To beef up this notification interception, we’re going to add some filters in the rule. Under Notification Title, we’re going to type in “Motion Detection”, sans quotes. Check Exact. What this does if any other notifications from SmartCam get created, this Tasker task ignores them.
Now that we’re done, tap the check mark in the top right corner. This then brings us to the Task creation. If needed, scroll up and tap New Task. Call it whatever you’d like, I called mine SmartCam Notification. Tap the Plus(+) in the bottom middle. Tap Plugin. Tap Sharptools. (This next section assumes you’ve setup Sharptools. If you need help with that, here are the official instructions or I can create another post. Let me know in the comments.) Tap A Thing. Select Simulated Motion Sensor. Make sure our newly created Virtual Motion Sensor is select under Select the device…. Make sure active is the command selected to be sent. Tap Apply. Congrats! Your SmartCam can now notify SmartThings when it sense Motion.
But wait! If we leave it at that, the Virtual Motion Sensor will always show Motion. We need to make it go Inactive. We can do this in the very same Task that we have open. Tap that Plus(+) at the middle bottom. Tap Task. Tap Wait. Now, the timing here is entirely up to you. I chose 5 seconds for the Wait time. Once you’ve got your Wait time setup, tap the back button.
Let’s get that Virtual Motion Sensor inactive. Tap the Plus(+) in the middle bottom. (You knew I was gonna say that, didn’t you?) Tap Plugin. Tap Sharptools. Tap A Thing. Tap the Pencil Icon. Select Simulated Motion Sensor. Make sure our Virtual Motion Sensor is select under Select the device…. Make sure inactive is the command selected to be sent. Tap Apply.
That’s it! We’re done! We now can make the SmartCam Motion Sensor trigger the Virtual Motion Sensor in SmartThings. Set up your SmartApps to your hearts desire.
Optional: I like to keep my notification tray clean. I don’t actually need to know when SmartCam’s Motion Sensor is going off unless my Virtual Motion Sensor is trigger Smart Home Monitor. In that same task we just created, we can have AutoNotification clear out the SmartCam’s Notifications. Tap the Plus. Tap Plugin. Tap AutoNotification. Tap Cancel. Tap the Pencil. Under Apps, select SmartCam. We can Title Filter it like we did above. Tap the checkmark, top right.