Introduction: DIY Raspberry Pi Smart Google Calendar Clock
This is a Smart clock I made for the Clocks Contest, I hope you like it!
It has a Raspberry Pi in it which is running a Processing and Python program to access my Google Calendar data and print the next 10 days which you have something on on the screen.
The python program accesses the calendar data, saving it to a file on the Raspberry Pi, which Processing reads and puts on the screen.
Step 1: Everything Needed.
(if you want, you can get the 3 B+ which might be faster)
And if you don't have a power supply, you can find one here:
You will also need a USB mouse and keyboard (It doesn't matter what brand they are)
Step 2: Programming
If you have a larger monitor, I would highly recommend using that for this step because the screen is so tiny and it is hard to see text.
First, you will need to install Processing:
Select (Running on a Pi?) on the Linux list, then click Download and follow the setup guide.
Once you have Processing, you can download the program which is at the end of this step, you can also download the python program, then move them into the home folder.
You will need to use Python 2.7 as Python 3 is not supported by Googles Python Calendar API.
Go here and follow the instructions for setting up the API, (I would tell how to do it, but only Google can set up the API)
If you have all that done, you should be able to run the python program without any errors.
You will need to put this in the ~/.config/lxsession/LXDE-pi/autostart file:
/usr/local/bin/processing-java --sketch=/home/pi/Clock.pde --run
and this in the /etc/rc.local file:
python /home/pi/Clock.py &
And that is all for this step!
Step 3: Testing It Out.
This step is pretty simple, just plug the Pi into the screen, power it on (There might be a switch on the side of the screen to turn on and off the backlight) and TADA! you have a Google Calendar Clock!
If it doesn't work, just ask, I would love to help!
Step 4: Wrapping Up
That is all! please feel free to ask questions, and if you're wondering about the case, I just cut mine out of cardboard. (P.S. don't forget to vote in the Clocks Contest!)