The main
branch of this repository contains the code for the raspberry as well as the iOS companion application and documentation.
The branches raspberry_xx
contain only the code for each raspberry. They are intended to be checked out on the corresponding raspberry. They can diverge but will probably not during normal operation.
- Install Raspbian image, with Wi-Fi and ssh enabled, with as name
textualclock
, so that it appears as such on the network. - set your username and pwd
- install the stuff in
raspberry_install.sh
- clone this repo in the home folder
- modify
/etc/rc.local
and addsudo sh /home/<username>/textual_clock/start.sh
- setup the scheduled reboot:
- execute
sudo crontab -e
- (select your editor if this is the first time. I advise to use nano)
- at the very end of the file, add these two lines to schedule reboot at 11:59am and 11:59pm (here I advise only the midnight one):
59 11 * * * /sbin/reboot
59 23 * * * /sbin/reboot
- execute
- On the raspberry, checkout to the correct
raspberry_xx
branch.