more G-Labs products

Author Topic: Smart light : update built-in script  (Read 2226 times)

April 04, 2015, 01:42:18 PM
Read 2226 times

nolio

  • *****
  • Information
  • Global Moderator
  • Posts: 544
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

April 10, 2015, 09:22:02 PM
Reply #1

nolio

  • *****
  • Information
  • Global Moderator
  • Posts: 544
A little update to correct a mistake on :
  • Light goes on if luminance become under the trigger luminance, even if there is already "move"

July 02, 2015, 11:58:59 PM
Reply #2

nolio

  • *****
  • Information
  • Global Moderator
  • Posts: 544
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.
« Last Edit: July 03, 2015, 12:02:18 AM by nolio »