Skip to content

Instantly share code, notes, and snippets.

@dBarboni
dBarboni / eInk-docker-noaa.py
Created August 9, 2021 20:38
SSH's into a docker server of your choice and gets the status of the containers, pulls satellite pass info from the n2yo API, then prints out the information neatly on an 2.9in e-ink display.
#!/usr/bin/python
# -*- coding:utf-8 -*-
# Displays a column of docker container statuses and a column of weather satellite passes
# Layed out for display on a 2.9in waveshare e-ink screen
# Prints out the info, waits a few seconds, then clears the screen for demo purposes
# You can add a "screen.shortname=ABC" label to your docker containers to customize their names on the display. Limited to 3 chars.
# Requires the Braciola MS font (looks nice on low res display), a n2yo.com API key, and the waveshare e-ink python library
# See TODO comments and enter your info