ScheduledScene not following Timezone.
Posted: 01 Jan 2015 20:27
Running V2.0.0 since it came out official (not used any beta versions).
I have the SunriseSunset module working to turn an outside light on/off during the night, this now works well
with the latest version.
I wanted another rule to turn it off at about 11.30pm, for "shutdown".
I set up a ScheduledScene for this time, but it didn't trigger.
To test, at 7.30am I set up a ScheduledScene for 7.45am for an interior light to come on - it didn't trigger.
at 11.45pm, the light came on - so the cron task seems to be running on UTC.
Here is Los Angeles, UTC-8
The Raspberry PI has the TZ set -
pi@raspberrypi ~ $ printenv TZ
America/Los_Angeles
and it is working.
pi@raspberrypi ~ $ date
Thu Jan 1 09:26:04 PST 2015
How does the Javascript engine pick up the TimeZone?
I have the SunriseSunset module working to turn an outside light on/off during the night, this now works well
with the latest version.
I wanted another rule to turn it off at about 11.30pm, for "shutdown".
I set up a ScheduledScene for this time, but it didn't trigger.
To test, at 7.30am I set up a ScheduledScene for 7.45am for an interior light to come on - it didn't trigger.
at 11.45pm, the light came on - so the cron task seems to be running on UTC.
Here is Los Angeles, UTC-8
The Raspberry PI has the TZ set -
pi@raspberrypi ~ $ printenv TZ
America/Los_Angeles
and it is working.
pi@raspberrypi ~ $ date
Thu Jan 1 09:26:04 PST 2015
How does the Javascript engine pick up the TimeZone?