Show the weather on an e-ink Inky pHAT display with a Raspberry Pi.
This can be deployed using Balena Cloud. Follow their getting started guide but git push balena master
this project instead.
The weather is provided by Dark Sky, and you'll need to provide an api key as an environment variable called DS_KEY
. This can be set in the Balena Cloud dashboard using a service variable.
The following envs are available to set:
- DS_KEY=xxx
- DS_LAT_LNG=50.821,-0.151
- ROTATE_180=true
- TIMEZONE=Europe/London
The weather will update once an hour, on the hour.
Note this has not been tested with the other color variants of the Inky pHAT and will probably need code changes to work. PRs welcome.