I have a project where I use the cayenne schedule to turn off and on a relay controlling lights. I also have other functions that require me to see if the lights are active before they are either turned on or off…
Is there any code for arduino that can be used to see if the schedule is running or not (lights on or off) ?
so for example: arduino will not turn the lights off via another function if the schedule time is not over.
any help would be great!