Why is self.run_at_sunset(self.lights_on, offset = -60 * 60) being called more than once?
self.run_at_sunrise(self.lights_off, offset = 60 * 60) works as expected.
Should i run Appdaemon with any particular debug options?
The only thing thats really being printed in the logs is the one i put there myself, which logs when the sun goes up and down, the latter which appears several times
If i run appdaemon from the command line with this in my appdaemon.yaml
AppDaemon:
logfile: STDOUT
errorfile: STDERR
it would output both the log and error file to the command window right?
If so this is how it looks, no indication of any errors.
2017-07-22 05:11:12 INFO day: Sun is up!
2017-07-22 20:37:31 INFO day: Sun is down!
2017-07-22 20:45:30 INFO day: Sun is down!
2017-07-22 20:57:13 INFO day: Sun is down!
2017-07-22 21:08:56 INFO day: Sun is down!
2017-07-22 21:20:39 INFO day: Sun is down!
2017-07-22 21:32:21 INFO day: Sun is down!
2017-07-23 05:12:50 INFO day: Sun is up!
2017-07-23 20:35:27 INFO day: Sun is down!
2017-07-23 20:42:42 INFO day: Sun is down!
2017-07-23 20:54:10 INFO day: Sun is down!
2017-07-23 21:05:38 INFO day: Sun is down!
2017-07-23 21:17:06 INFO day: Sun is down!
2017-07-23 21:28:33 INFO day: Sun is down!
2017-07-24 05:14:58 INFO day: Sun is up!