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-10-16 22:11:29 +02:00
.github/ISSUE_TEMPLATE Update issue templates 2018-10-03 14:53:28 +02:00
2-colour Delete wi-night-cloudy.bmp 2018-10-16 22:11:29 +02:00
Calendar Delete test 2018-10-16 21:16:19 +02:00
For-developers-only English-months source files 2018-10-16 19:20:13 +02:00
Gallery Add files via upload 2018-10-14 20:48:27 +02:00
translations Suggested icons for german support 2018-10-06 19:12:49 +02:00
Changelog.md Created Changelog 2018-10-02 17:43:20 +02:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2018-09-09 12:05:09 +02:00
CONTRIBUTING.md Create CONTRIBUTING.md 2018-10-02 16:53:48 +02:00
Installer-with-debug Update Installer-with-debug 2018-10-11 13:29:04 +02:00
Installer-without-debug Update Installer-without-debug 2018-10-11 13:29:30 +02:00
LICENSE Initial commit 2018-08-26 23:56:49 +02:00
New-version-planning.md Update and rename To-Do.md to New-version-planning.md 2018-10-06 18:52:06 +02:00
prototype.sh Just for testing the new installer 2018-10-16 21:05:19 +02:00
README.md Update README.md 2018-10-16 19:22:34 +02:00
wpa_supplicant.conf Rename wpa_applicant.conf to wpa_supplicant.conf 2018-08-28 03:02:53 +02:00

Attention: A new version will be released shortly (a few hours). Please wait until version 1.3 is published. Thank you.

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

This is a software written in python3 that allows you to transform an E-Paper display (like the kindle) into an information display. It fetches live data from Openweathermap (a weather info provider) and your Online Calendar (Google/Yahoo Calendar) and displays them on a large, beautiful and ultra-low power E-Paper display. It's ideal for staying organised and keeping track of important details without having to check them up online.

Altough mainly intended for the Raspberry Pi Zero W, mainly since it only requires 1W per hour, it works on the Rapsberry Pi 2/3 as well. To get started, follow the instructions below.

News:

  • Version 1.2 released (early October 2018) with lots of improvements, especially for the 2-Colour version!

If you were using any previous versions, please update as this version contains a critical update. See below section regarding updating

  • Added Support for the 2-Colour E-Paper Display as well! (End of September)
  • Added Support for Raspbian Stretch lite. (End of September)

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" 3-Colour E-Paper Display (Black, White, Red/Yellow) with driver hat from waveshare or
  • 7.5" 2-Colour E-Paper Display (Black, White) with driver hat from waveshare
  • Raspberry Pi Zero WH (with headers) (no soldering iron required)
  • Or: Raspberry Pi Zero W. In this case, you'll need to solder 2x20 pin GPIO headers yourself
  • MicroSD card (min. 4GB)
  • MicroUSB cable (for power)
  • Something to be used as a case (e.g. a picture frame or a 3D-printed case)

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
  7. Optional: If you want to disable the on-board leds of the Raspberry, follow these instructions: Disable on-board-led

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.

bash -c "$(curl -sL https://raw.githubusercontent.com/aceisace/E-Paper-Calendar-with-iCal-sync-and-live-weather/master/Installer-without-debug)"

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

bash -c "$(curl -sL https://raw.githubusercontent.com/aceisace/E-Paper-Calendar-with-iCal-sync-and-live-weather/master/Installer-with-debug)"

If the Installer should fail for any reason, kindly open an issue and paste the error. Thanks.

This is how the installer will run:

Adding details to the programm

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:

Updating

If you were using a previous version and want to update, do the following:

  • Save your personal details from the main script, located in /home/pi/E-Paper-Master/Calendar/stable.py in a different location. For example you can create a text file which contains your openweathermap-api-key and iCal-url in /home/pi/personal.txt

  • Remove the E-Paper-Master folder from the home directory with sudo rm -r /home/pi/E-Paper-Master/

  • Re-run the (updated) installer and insert your details again in stable.py. Reboot to apply changes.

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

Contact