That is my problem, I was hoping you might add my case. I need the first motion sensor to go high and stay high with no zone triggered. Then the second motion sensor to trigger and check the state of the first. This will let me not have false triggers and know that someone is coming up the drive way. If someone goes out I will not have a simulated sensor active, as the one at the front of the house will not be active. I do not think this is covered. I sent some time trying to write a app. That did not go well. ;-( lol
OK, the False Motion Reduction option would do the job.
Applying your use case to the state diagram above.
your front sensor would be Motion 2 in the drawing, and Motion 1 would be the rear sensor.
The activation window time would be set to whatever time span that you desire to capture both active states for the detectors, probably something like twice the time it takes to get to the front to the rear in a car.
I don’t know what that time is, 10 seconds, 60 seconds?
The app was written to function on motion active (as opposed to inactive) to account for all the different motion timeouts that various sensors have.
In other words, the app doesn’t care when motion stops, but it’s very interested in when it starts.
Then I can’t wait. It take 4 or 5 seconds to get to the back. Thanks
Had a bit of a delay in getting this out, I’m about a day behind, putting the final touches on it now.
UPDATE: published, please see first post.
Great. I got all three installed, added the app, set my SHM to work with the virtual motion sensor. Now I just need to test. Will do some testing this evening and report back. My hope is to fix false positives kicked off my by Roomba. I have two motion sensors on opposite sides of a large open room. One sensor is a bit too sensitive and cannot be configured, and the other works as I’d like. There is a small overlap area in the middle, but since this would require both sensors to report motion (I chose False Alarm Motion Reduction), this should fix that issue, right? Unless one of the other options would be better. Great work!
@ptdalen Yup, that option should do the trick!
Hi @Mike_Maxwell Very nice work. I have a problem, I have all three parts of the program installed. When I installed the device drive I when to gethub and got the Raw code. I then created a new device type from code. I then published that to myself. I then setup the child app and all look good. My problem is I did not get a new virtual device. Any guess at what I did wrong. THANKS A LOT
@Walter Can you have a look in the IDE under MY Device Types?, let me know if there is a session running for the simulatedMotionSensor.
@Walter
Yea, that’s why you can’t find the device.
This issue popped up very recently, and I’ve not been able to fix it.
However there is a work around, and in the end it’s only one more step.
-update your smart app code for the zoneMotionChild app from the repo link in the first post.
-go to my devices, create new device, select simulatedMotionSensor from the list (it will be at the very bottom), type mZone-[your zone name here] in the name and network id fields.
When you create a new motion zone, please select the virtual device you just created for the Virtual Motion Sensor for this zone.
The long and short of it is that the part of the app that creates a child device is no longer working as it was a few weeks ago, so you have to create the virtual motion detector manually until ST fixes this issue.
Hi @Mike_Maxwell,
Can this be uses with the Smart Home Monitoring in ST? I went ahead and created everything your instructions said to do and assigned the 2 motion sensors which give me trouble. I also changed the selected the Virtual Motion Sensor incited of the 2 problematic sensors. Will this work?
I use mine with SHM, ST can’t tell the difference between a real motion and a virtual one… So yes, it will work, and that is the main reason I created it in the first place.
Mike,
For the False motion reduction type would it be possible use “any two” motions out of the selected motions, instead of ALL? Example if any 2 out of 6 motion sensors become active during the activation window, activate the zone.
I guess I could just create 10+ separate zones with each conceivable paring of motions.
Possible, sure, but it wasn’t written to support that, and that wouldn’t be a simple change.
Are you trying to do a whole floor and ignore the pets?
I’m just getting more non-intruder motion events/alarms and was trying to be comprehensive in dealing with it.
EDIT - I thought perhaps with the trigger activated style I could make it work by having ANY of the motions be the trigger - and then listening for any second motion to activate the zone, but that doesn’t seem to work. It activates immediately if the trigger motion is active, I’m guessing because I’m including the same motions for trigger and zone activator.
Yup, the trigger motion should not be the same as the ones included within the zone, somewhat defeats the purpose of that zone type.
What if you use the false motion style and cascade that up?
There is nothing preventing you from using the zone motion output from one zone as trigger input into another zone.
I bet rule engine could do this with an organized arrangement of sensors. Say one side of room vs the other.
I thought about that but I liked the idea of the activity window that you get with Mike’s app. Some of my motions go inactive pretty quickly.
I have this working with two motion detector on my house. Works when someone comes up the drive way. I have never had problems with false detection. Does not trigger when someone goes out the driveway. Works very well.
For the record I use and really appreciate Mike’s app. It’s just the 2 or more I was thinking about.