Skip to content
Clock and weather display for E-Paper 2.7 inch display from Waveshare for Raspberry Pi 3
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
epds
providers
resources
README.md
buttons.py
drawing.py
epaper.py
epaper.service
main.py
requirements.txt
run.sh

README.md

Raspberry PI 3 E-paper 2.7 inch Clock and Weather Display

Clock and weather display for E-Paper 2.7 inch display from Waveshare for Raspberry Pi 3.

This is a forked project of epaper-clock-and-more from Piotr Skowronek (forked from Henry Cooke).

This project is modified for E-Paper 2.7 inch display from Waveshare. It displays:

  • clock (hours and minutes) with 1 second refresh interval
  • weather (forecast icon), current, min, max temperature
  • detailed information about: weather and system information

Buttons

  • Button 1: display detailed weather informations (click again to return to main screen or wait 30 seconds)
  • Button 2: display system informations (click again to return to main screen or wait 30 seconds)
  • Button 3: force refresh (only once per minute interval)
  • Button 4: shutdown app

Photos

Hardware Requirements

Installation

  • install Raspbian on SD card using this instruction
  • enable and configure WiFi before you start the system
  • find the IP of RPi by scanning you local network or take a look at your router to find a new device connected to your network
  • SSH to your raspberry: ssh pi@10.20.30.40
  • python 2.7 should be already present, you may want to verify this by running: python --version
  • install git: sudo apt install git
  • issue the command to fetch this project: git clone https://github.com/Neophytez/raspberry-waveshare-clock-weather.git
  • go to the project directory: cd raspberry-waveshare-clock-weather and install required python modules: pip install -r requirements.txt
  • edit run.sh to configure:
    • your home location (lon & lat)
    • a key for weather forecast from DarkSky.net - you can get it here *)
  • run the script: ./run.sh (hit Ctrl-C to exit) and verify if it works as expected
  • install this project as service so it could automatically run when Raspberry boots up (more details here)
    • copy epaper.service to /etc/systemd/system: sudo cp epaper.service /etc/systemd/system/ **)
    • verify if service works by invoking the following command: sudo systemctl start epaper.service
    • enable this script so it could be run on system start: sudo systemctl enable epaper.service
    • reboot device to verify if it works
    • if you needed to modify epaper.service issue this command: sudo systemctl daemon-reload

*) By default data are being fetched every 10+ minutes so they should comply with developer free accounts limitations

**) If your project directory is different than /home/pi/epaper-clock-and-more then you must edit this file to reflect the correct path

License

Since this project is a fork, the original licenses still apply. The modifications and enhancements are being done under Apache 2 license.

Authors

You can’t perform that action at this time.