Schedule Issues


#1

1) Give a description of the problem
Schedules just will not execute, when the time condition is set to change and become true, nothing happens, logs in the piston show empty

2) What is the expected behavior?
lights will begin to turn on at various set times (based on preset of sunset) throughout the day - -40 mins, -20 mins, + 1hr, +2 hr

3) What is happening/not happening?
nothing happens

4) Post a Green Snapshot of the pistonimage


#2

Wow, that is a WHOLE LOT of global variables!!
Do you really need to make everything a global?

I use local variables all the time, but for practical purposes, I leave globals as a very last resort.


I see the logs should be written between 6-8 times a day.
The amount of data displayed in the log depends on your log settings.

temp


Side note:
Even though you did not mention this in your original post, I think it’s important for you to keep this in mind: Depending on how many devices you have, the following code may occasionally miss a bulb or two.

temp

I try to keep commands like that slightly spaced out, such as:
Turn off 5 bulbs, wait 1 second, turn off 5 more bulbs, wait 1 second, etc.

Often, if we try to send out 20 simultaneous commands to "Turn off a device", occasionally at least one will get lost amongst all the commotion.