A CircuitPython script used to pull temperature and humidity data from an HTTP endpoint and update a 2.9" greyscale e-ink FeatherWing that's attached to a FeatherS2.
Update the WIFI_NETWORK
, WIFI_NETWORK_PASSWORD
, and API_ENDPOINT
values at the top of the script as appropriate. The endpoint should return data in the following format:
{
"outdoor": {
"temperature": "17.8",
"humidity": "35"
},
"indoor": {
"temperature": "20.2",
"humidity": "50"
}
}
Copy code.py
and the fonts
and lib
directories to the CIRCUITPY
volume when the FeatherS2 is attached to the computer.
The display will update every three minutes.
The font Pixellium used in this project is licensed as Creative Commons (by-nd) Attribution No Derivatives.