Blackbird Posted February 13, 2015 Posted February 13, 2015 If I leave the house I want the ISY to turn off all the lights in the house. I have a door sensor on the back door and a motion sensor near the back door. I thought I could use the motion sensor to confirm movement on the inside of the house prior to the door being opened so the ISY would know Im leaving the house and not entering the house. Any suggestions on this? Thanks
stusviews Posted February 13, 2015 Posted February 13, 2015 I thought I could use the motion sensor to confirm movement on the inside of the house prior to the door being opened so the ISY would know Im leaving the house and not entering the house. A particular Motion Sensor won't know in advance when you're about to leave (or not), so you'd probably need a few around the house. And the door sensor is not aware of which direction you're going BTW, I used a KPL button near each entry.
Blackbird Posted February 13, 2015 Author Posted February 13, 2015 That's why I was thinking that if the motion sensor does not detect movement before door is open then it means I am entering the house. And if it detects movement before door is open then it knows im leaving. I cant open my door to leave without setting off the motion sensor
stusviews Posted February 13, 2015 Posted February 13, 2015 If the motion sensor is placed where it detects you leaving, then you can't enter without setting off the motion sensor. A motion sensor does not respond to lack motion. The sensor cannot predict when motion will occur.
builderb Posted February 13, 2015 Posted February 13, 2015 My $0.02... There are much more reliable methods of presence detection than that. MobiLinc's geofences are easy to use, as is a button by the door. Some of us are using ibeacons, which requires some additional computing power (a $35 Raspberry Pi in my case). Sent from my iPad using Tapatalk
edokid Posted February 14, 2015 Posted February 14, 2015 (edited) I think you could do this with variables though. For example a variable such as "InteriorMotionTripped". When motion is detected by the motion sensor near the door inside, it sets it to 1, when motion is off it goes to 0. Then the program says if your door sensor is tripped as in the door opens, AND the interior motion variable is 1, turn off all your lights etc since it will know you were inside to trip the sensor, and now opened the door, as in you're leaving. As otherwise when you open the door, the variable for inside motion will be 0, meaning you know that you had to be coming in from the outside. The main thing is that the motion sensor inside may need to be positioned for this purpose, such as near the ground, or beside the door aiming in, so that the swinging open motion of the door doesn't trip the motion sensor. It should still be okay, as the door would be opening and the variable 0 for a split second, but you also don't want motion to be detected through the door window or something (my door that I'm picturing this example on is solid glass). It depends on your house set up though, like for me my garage is detached from my house, so I could use door sensors on the door to the garage, and also my back kitchen door, then do the same thing, if the back door opens it sets the variable to 1 for 30 seconds then back to 0. If the door to the garage (not the car door, the back door from my back yard) opens, and that variable is 1, we know that I came out the back kitchen door within the past 30 seconds, and therefore can tell the direction of movement. As others mentioned MobiLinc does geofencing as well, but that of course means your phone needs to be on and so on. It also doesn't help if you wanted to do more specific things like in my example, I could say if I open the back door, and within 30 seconds I open the garage door, then open the car door automatically. Etc. MobiLinc can't do that, as the geofencing is too large. Edited February 14, 2015 by edokid
Blackbird Posted February 14, 2015 Author Posted February 14, 2015 I thought geofencing was only for iphone. I have an android and was thinking of doing a program with the tasker app
Jimbo.Automates Posted February 14, 2015 Posted February 14, 2015 Yes mobilinc only supports Geofence on iOS. For Android you can use Tasker. Sent from my Nexus 7 using Tapatalk
Recommended Posts