Jump to content

Notification on Status Change


captain118

Recommended Posts

In your program you can have a schedule. Your schedule can have a duration.

I was trying to set my living room lamp for

if its during the day:

Schedule From 8am

For 10 hours

And Motion Sensor is off (no movement I think)

then Set Light Of

Else Set Light On

 

I was curious as to how the schedule worked. Is it a schedule for when the program is enabled?

Link to comment

Thanks for the additional information. The Program is triggered once at 8 AM, once 10 hours later at 6 PM, and between 8 AM and 6 PM once for each change in motion sensor status (using If Status) or once for each Insteon command received that matches the command code using If Control. Always event driven either from a time event or a device event in this example. There are other events such as a change in value of a State variable for example that can trigger Programs.

 

When the Program is triggered either the Then clause or the Else clause will run depending on how the If evaluates at the time the Program is triggered. When the If is True the Then clause runs, when the If is False the Else clause runs.

Link to comment

Archived

This topic is now archived and is closed to further replies.


  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

  • Forum Statistics

    • Total Topics
      36.9k
    • Total Posts
      370.3k
×
×
  • Create New...