I built this to solve a number of motion related issues.
–Reduction of false motion events in exterior applications (False Motion Reduction)
–Represent a group of detectors with a single virtual detector (Motion Aggregation)
–Enable a Motion Aggregation zone from various devices, switches, contacts ect (Triggered Activation)
This is a parent/child application (like Smart Lighting) where the motion zones are created and edited from the parent application.
When a new virtual zone is created, a virtual motion sensor is created for that zone. This virtual motion detector represents the states of the physical motion detectors that you configured for that zone.
You can then use that virtual zone device in any applications that accept motion devices.
Three components need to be installed and published in your account:
-Zone Motion Manager, is the parent application smartApp
-zoneMotionChild, is the zone automation child smartApp
-simulatedMotionSensor, is the virtual device template for the motion detector
Once published, go to the marketplace, My Apps and select “Zone Motion Manager”
You do not install zoneMotionChild directly, this is done automatically for you.
For each created Zone:
The child app will be named ‘[zone name] Zone Controller’
A virtual motion sensor will be created and named ‘mZone-[zone name]’
This app has been updated for Git integration.
Add a new repository in your IDE
Owner: MikeMaxwell
Name: ZMM
There are two files in Apps, and one device type.
If your get integration isn’t working the repo is here:
https://github.com/MikeMaxwell/zmm
2.1.0 release notes:
Implementation of a new user-configurable threshold, Minimum Active Threshold, used for the False Motion Reduction zone type.
Previously, all motion detectors in the zone were required to go active within the activation window, in order for the zone to be considered active.
With this change, Minimum Active Threshold is a user-configurable value that defines the minimum number of motion detectors that need to go active in the zone within the activation window, in order for the zone to be considered active. The default is 2 motion detectors.
Credit to @smileyborg for implementing this feature