[Solved] Turn lights on/off via a daily schedule
I'm brand new to Mycodo and all I'm trying to do at the moment is run a linux script at a certain time to turn a light on (handled via a Zigbee smart plug), and then another script at a later time to turn it off. I've configured the output as so:
Hitting on/off from the output there turns the light on/off as expected.
Obviously, I want to run this on a schedule - so from what I can gather, a method would be best? I've configured this daily (time based) method as a test:
However, nothing happens! Looking at the daemon logs, it appears execution hasn't even been attempted.
Sorry that this is so basic, but can you point me in the right direction? Thanks!
Hi. What you want to use is a Trigger on the Setup -> Function page. You can click the question mark next to "Function" on that page to be taken to the part of the manual that describes what each function does. You'll probably want to use the Timer (Daily Point) Trigger, but others may be more appropriate for your application.