Announcement

Collapse
No announcement yet.

AutoOn/Off Motion Lighting Script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • AutoOn/Off Motion Lighting Script

    Hi,

    Attached is my AutoOn/Off Motion Lighting Script that will turn on the device in the same room passed in as arguments.

    Requires:

    Devices:
    Day/Night: Day,Night
    Night Low Lights Mode: Day,Night

    Events:
    Set Day for Low Lights Mode Status
    Set Night for Low Lights Mode Status
    Set Day Status
    Set Night Status

    Script Arguments:
    minutesBeforeDevicesTurnOff,doNotTurnOnIfLight,motionSensorN ame,lightName,...

    3,1st Hall Motion,1st Hall Ceiling Light


    Version:
    02/02/17 Added in another parameter doNotTurnOnIfLight, if 1 will not turn on the light if it is day.
    Attached Files
    Last edited by dtsouers; February 2nd, 2017, 08:42 AM. Reason: New version
Working...
X