HomeGenie Forum
Automation Program Plugins and Wizard Scripting => APP Contributions => Topic started by: nolio on April 04, 2015, 01:42:18 PM
-
Hi,
I use "Smart light" script built-in HG by default (in "Light" group). I update the script for personal needs :
- Start timeout after motion goes off (not after first on, because my light goes off is i stay in movement too much time)
- Light goes on if luminance become under the trigger luminance, even if there is already "move"
- Add luminance trigger in the "smart device" instead a value in a script
- Add a customize field to pause loop which turn off
After some test, update on this script seems ok.
Bye
-
A little update to correct a mistake on :
- Light goes on if luminance become under the trigger luminance, even if there is already "move"
-
An update of the script :
- Little correction
- Add a virtual switch : to enable/disable easily this script (go to manual mode ;))
- Add an "offset" : in case of the luminance raise by the controled light (that permit to avoid on-off-on-off-on), in my case, i adjust tha value to the difference : luminance with light on - luminance with light off
After some months, of use, it's nearly perfect for me ! :D
ToDo : When this control is going off to on by the virtual switch, it's doesn't work very well (not goes up) => Think to a better management of this part.