Uses a Raspberry Pi Pico W and a Pimoroni Inky Pack to display select statistics from network and server resources.
Copy the utils
and .py
files to the root of the Raspberry Pi Pico, when in MicroPython mode and connected using Thonny, or another way to access the ttyACM0.
This depends on:
- ntptime
- micropython-umqtt.simple
Configuration is done via a JSON file. An example file is found in the repository with configuration needs specified.
list
format allows for a data array. Each object in the array needs a "title" to be shown on the left-hand side, and a string of lines to be shown on the rest.
For example, the following JSON:
{
"format": "list",
"data": [
{
"title": "PiHole",
"content": [
"Block 6,869/22,037",
"31.2% blocked"
]
},
{
"title": "NAS",
"content": [
"991.78 GB/1.79 TB (54%)"
]
}
]
}
Will show up as:
PiHole Block 6,869/22,037
31.2% blocked
NAS 991.78 GB/1.79 TB (54%)
The endpoint to send data to will be shown on-screen when the device starts up.