A software for rpi zero w to display live-weather info and sync events from any online calendar to a beautiful E-Paper Display, or to just show a slideshow of simplified images.
Find a file
2018-09-25 00:12:12 +02:00
Calendar Update license 2018-08-29 14:54:08 +02:00
Gallery Delete IMG_2700.jpg 2018-09-25 00:11:39 +02:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2018-09-09 12:05:09 +02:00
experimental-converter Update experimental-converter 2018-09-24 00:18:26 +02:00
Installer-with-debug Update Installer-with-debug 2018-09-23 23:12:16 +02:00
LICENSE Initial commit 2018-08-26 23:56:49 +02:00
Packages-installer Added a note regarding the time required 2018-09-23 22:35:09 +02:00
Raspbian-Lite-Pre-setup Update Raspbian-Lite-Pre-setup 2018-08-28 03:30:42 +02:00
README.md Update README.md 2018-09-23 23:26:55 +02:00
testing-only Update testing-only 2018-09-09 20:39:37 +02:00
To-Do Create To-Do 2018-08-28 13:07:01 +02:00
wpa_supplicant.conf Rename wpa_applicant.conf to wpa_supplicant.conf 2018-08-28 03:02:53 +02:00

Raspberry-Pi-Google-Calendar-with-E-Paper-display

A python script for the rpi zero w to sync events from any online calendar to a beautiful E-Paper Display, get live weather data and much more.

News: Added Support for Raspbian Stretch lite. To get this up and running on raspbian stretch lite, follow the instructions just below.

Main features

  • Display the date and a full monthly calendar
  • Syncronise events from any online calendar (like google, yahoo etc.)
  • Get live weather data (including temperature, humidity, etc.) using openweathermap api

Hardware required

  • 7.5" E-Paper Display (Black, White, Red) with driver hat from waveshare (https://www.waveshare.com/product/7.5inch-e-paper-hat-b.htm)
  • Raspberry Pi Zero W (without headers)
  • 90° angled 2x20 Pin GPIO headers
  • MicroSD card (min. 4GB)
  • MicroUSB cable
  • 3d-printer (you can also appoint any 3d-printing service) for printing a case
  • Soldering iron (for soldering the headers)

Setup

Getting the Raspberry Pi Zero W ready

  1. After flashing Raspbian Stretch (Lite or Desktop), set up Wifi on the Raspberry Pi Zero W by copying the file wpa_supplicant.conf (from above) to the /boot directory and adding your Wifi details in that file.
  2. Create a simple text document named ssh in the boot directory to enable ssh.
  3. Expand the filesystem in the Terminal with sudo raspi-config --expand-rootfs
  4. Enable SPI by entering sudo sed -i s/#dtparam=spi=on/dtparam=spi=on/ /boot/config.txt in the Terminal
  5. Set the correct timezone with sudo dpkg-reconfigure tzdata, selecting the correct continent and then the capital of your country.
  6. Reboot to apply changes

Installing required packages for python 3.5

Execute the following command in the Terminal to install all required packages. This will work on both, Raspbian Stretch with Desktop and Raspbian Stretch lite.

curl -sSL https://raw.githubusercontent.com/aceisace/Raspberry-Pi-Google-Calendar-with-E-Paper-display/master/Packages-installer | bash

Should you encounter any problems during the install, try using the Installer with output, like this:

curl -sSL https://raw.githubusercontent.com/aceisace/E-Paper-Calendar-with-iCal-sync-and-live-weather/master/Installer-with-debug |bash

This is how the installer will run:

Customising the main script

Once the packages are installed, navigate to the home directory, open 'E-Paper-Master' and open the file 'stable.py' inside the Calendar folder.

3 Main Details are needed to get running:

  1. A valid ical URL. Use the export funtion in google calendar to create a ical url link and paste it in the url section
  2. A valid openweathermap API-Key is required. This key can be optained for free with an account on openweathermap
  3. Your city's name and your country code (so the correct weather can be displayed) (e.g. New York, US)

Demo

Once you have setup everything, the E-Paper Calendar will refresh the screen in the following way:

Don't forget to check out the Wiki. It contains all the information to customising, understanding and setting up the script.

Contact