SmartThings Community

Motion Detection via ip camera using Motion/MotionEye?


#1

Has anyone attempted to use the motion detection in Motion/MotionEye to issue motion detection and clear via web hook or some tool you could program via a command? Currently messing around I have it sending notifications via PushBullet… but integration into Smarthings would be ideal.


#2

From the configuration options in motioneye, you can email/call a web hook/or run a local command on the linux machine… i’m thinking there has to be a way to trigger a motion sensor type alert in smartthings with this.

Anyone have experience writing device types that interact with software applications?


(Robert) #3

I’d love to see this. I’ve got 6 cameras on a MotionEye system ( 3 IP, 3 raspberryPis ). I’d love to tie them into an alarm configuration.


(Max Power) #4

This would be great. I have a Pi2 running motioneye and vlc connected to vlcthing and bigtalker hidden in a mantel clock. It works great and I’d love be able to integrate motioneye with ST.


#5

I have it basically figured out, just I can’t get the sensitivity of my motion detection in motioneye figured out, it would cause false alarms in SHM all the time.


#6

You can use WebCore and the Simulated Motion Sensor DTH.
Now, don’t be confused by the virtual device in the piston labeled IFTTT. That is just the way you get to the REST API for webcore. When you add the command in your piston it will give you the link you have to put into MotionEye.


(Johnny D) #7

Trying to do the same thing. What did you actually do?


#8

What are you confused about? I’m using Motioneye for 2 different motion sensors. FYI, they are VERY sensitive so i would not use them for security.


(Steff51) #9

Is looking a bit at this also. Has set it up right now with the external URL to the piston and a argument at the end from MotionEye.
But is this above using a WebHook to an IFTTT applet? If so what are the pros cons for using that?

Is fairly new to WebCore but is scanning through the forum for info.

Thanks


(Johnny D) #10

I have more than one camera setup in motion eye. I was hoping to use each camera as a motion sensor and ultimately setup an alert from camera 1 or 2 or 3. I was looking for a little more of a step by step guide. Is it a web hook or a script? What exactly do those lines look like?
Do I have to use webcore? Can the post command just go to the smartthings hub ip instead and that could update my device status?


#11

No, I would just use the IFTTT link you get out of WebCore. If you select that as trigger, (its under virtual devices) it can give you a link. You can then use that link and also pass other info along as JSON data.