HomeGenie Forum

General Category => Troubleshooting and Support => Topic started by: js on June 16, 2015, 08:24:43 AM

Title: Scheduler using GMT?
Post by: js on June 16, 2015, 08:24:43 AM
Newbie here!  I couldn't get scheduler to run my custom program (dim/brighten lights to remind kids bedtime is approaching).  After testing, I found the time required in the cron expression was expecting GMT, rather than my local time  :o.  Is this the desired functionality? Or possibly a bug?

v1.0-beta.493
Title: Re: Scheduler using GMT?
Post by: mvdarend on June 16, 2015, 08:50:06 AM
That doesn't sound right, have you checked the system time (and timezone) on the machine running HomeGenie?
Title: Re: Scheduler using GMT?
Post by: bkenobi on June 16, 2015, 04:00:47 PM
If you are running RPi, make sure you set the time zone correct.  By default, all settings on RPi images seem to be for England (where the RPi was developed).
Title: Re: Scheduler using GMT?
Post by: js on June 17, 2015, 06:53:13 AM
Thanks for your help!

The fix was to run the following on my raspberry pi2 and set the time properly:
Code: [Select]
sudo dpkg-reconfigure tzdata