annapowellsmith / scaredi-pi

Simple Covid Ambient Reminder E-Ink Display for Pi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scaredi-Pi: The Simple Covid Ambient Reporting E-ink DIsplay for Pi.

Script to obtain the latest normalised confirmed Covid-19 case numbers in a local authority, and display then on an e-paper screen powered by your Raspberry Pi. Run this as a cron job to update the numbers as often as you like.

Dashboard showing case numbers

Case numbers are obtained from the official UK coronavirus dashboard API, then multiplied by an estimate for the actual prevalence in the population, to reach an estimate of the approximate real case rate.

Tested on raspberrypi 5.4.51 with a 1.54 inch V2 Waveshare EPD.

To run:

  • Install requirements and the waveshare_epd Python library (the latter can't be installed by pip because of the ampersand in the filepath).
  • Add a TTF font file of your choice to the assets directory
  • Update the constants in the script for your chosen font and local authority
  • Update the waveshare_epd import and drawing commands as needed for your own e-paper screen

About

Simple Covid Ambient Reminder E-Ink Display for Pi

License:MIT License


Languages

Language:Python 100.0%