Skip to content

Printing the current weather forecast onto thermal paper using an ESC/POS printer

Notifications You must be signed in to change notification settings

eppelduerferjugend/pos-weather-printer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

pos-weather-printer

Given the coordinates of a geographical location this script fetches the current weather forecast from the Dark Sky API and prints it using via the ESC/POS protocol onto thermal paper. It has been developed in a coding session by Jessie and Fränz in January 2020. We are using the Climacons icon set to show weather conditions.

Prerequisites

  • Epson TM-T88IV ESC/POS printer
  • Raspberry Pi (connected to the printer via USB)
  • Python & Pip

Setup

  • Create a Dark Sky account to retrieve an API key.
  • Configure constants at the top of main.py.
  • Install Python dependencies: pip install requests python-escpos

About

Printing the current weather forecast onto thermal paper using an ESC/POS printer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages