Announcement

Collapse
No announcement yet.

HELP WITH SCRIPT!!

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

    HELP WITH SCRIPT!!

    I am looking for a script to turn "all lights on" every other Wednesday. I have searched to no avail except for the reminder package but don't wish to add securelinks at this time.

    Any help will be appreciated. Thanks!

    #2
    Define an event to trigger by absolute time and select the Wednesday checkbox under days option. Now when the event triggers you need to know if it is the even or odd Wednesday. If you want to run a script then using the built-in Date/Time functions you can determine if the week number is odd or even and do or not do your desired action.

    If you do not want to run a script and use only the GUI then in your DeviceActions you will increment a value of a virtual device. A second event will be defined that triggers when the device value of this virtual device reaches 2. The device action on this second event will be to set the device value back to 0 and do whatever action you want to do on every other Wednesday.

    Comment


      #3
      Thanks! I'll give it a try and see how it works.

      Comment

      Working...
      X