I have a variable "alarmClock" which I set (almost) every day to set, of course, the alarm clock for the following day
Idea is to have a schedule running every minute that check if "alarmClock = currentTime"
I thought this was possible using the conditional editor but I was wrong, need to move to the script editor...but the question is: is it AppleScript or Python? In Python should be no problem, something like:
- Code: Select all
alarmClock = indigo.variables[123]
if alarmClock.value = indigo.getTime()
indigo.device.turnOn("kitchen_light")
But it seems not working
Any help/hint?