Page 1 of 1

[userModule] Smart MotionTrigger (Updated 2016/12/05)

Posted: 16 Oct 2015 19:19
by maros
Trigger switches based on security sensors like motion or door sensors if certain preconditions are met (eg. luminosity below a certain level). Lets you specify multiple devices to trigger and check, a delay for turning off lights and multiple other devices to check. This module will ensure that devices are not triggered if any of the selected devices is already turned on. Optionally it will re-evaluate the preconditions regularly, and turn off the light once the preconditions aren't met anymore

Tested with Z-Way version v2.1.1
Bug/Issue tracker at https://github.com/maros/Zway-MotionTrigger/issues
Documentation at https://github.com/maros/Zway-MotionTri ... /README.md
Download at https://github.com/maros/Zway-MotionTrigger/releases

Installation can be done directly via git or via the the Zway App-Store. Install the BaseModule first.

Re: [userModule] Smart MotionTrigger (Updated 2016/01/08)

Posted: 15 Feb 2016 19:54
by maros
A new version was released on github.com and will shortly be available via the appstore. Please note that you will need to re-create your triggers since the config schema/format has changed considerably.

So what are the new features?
  • Dimmer handling improved. Dimmer level can be either set statically, dynamically based on luminosity or via custom javascript code
  • Preconditions reworked. Time, day of week, binary sensors/switches and multilevel sensors/switches may be used as preconditions to check before triggering a light. Preconditions may be luminosity sensors, solar altitude, other lights in the same room, ... These preconditions can be re-checked regularly to untigger the light immediately once the condition do not apply anymore (eg. if another light was switched on in the meantime)
  • The module also emits an event whenever a light is switched on or off. ie. Allows other motion triggers instances (or other modules), to act immediately after one trigger has been switched off.
  • Update module state if the light was switched off manually.
Please also upgrade to the latest version of BaseModule.