QLC+ play nice with real time clock on Pi2
Posted: Sun Mar 15, 2015 3:57 pm
I aim to use the Pi2 as the controller in our clubhouse theatre. There is no internet connection there and so I purchased the piface real time clock to give me correct time in the virtual console.
There are 2 problems with this. It seems the scripts for the RTC is not run when the QLC+ is loaded. If I go to the command line, log in as root and type date (or hwclock), then shutdown and return to qlcplus then QLC+ does show the correct time. The question is where can I add what piece of script to make sure the real time clock init is use.
Secondly, if there is a internet connection, then qlc+ will read from some ntp server and override the time setting. The problem here is that the ntp server picks up UTC while I am in UTC+2 time zone. I suspect I am asking where I set up my timezone on the Pi2.
piface site: http://www.piface.org.uk/products/piface_clock/#
git scripts:https://github.com/piface/PiFace-Real-Time-Clock
There are 2 problems with this. It seems the scripts for the RTC is not run when the QLC+ is loaded. If I go to the command line, log in as root and type date (or hwclock), then shutdown and return to qlcplus then QLC+ does show the correct time. The question is where can I add what piece of script to make sure the real time clock init is use.
Secondly, if there is a internet connection, then qlc+ will read from some ntp server and override the time setting. The problem here is that the ntp server picks up UTC while I am in UTC+2 time zone. I suspect I am asking where I set up my timezone on the Pi2.
piface site: http://www.piface.org.uk/products/piface_clock/#
git scripts:https://github.com/piface/PiFace-Real-Time-Clock