The python code is an add-on to the luma.
examples repository. The code will display the following:
- CPU Load
- Time
- System Uptime (HH:MM)
- Memory (used and total)
- Disk Usage (used and total)
- Network IO Counter (Tx and Rx)
- CPU Temperature
- Active Users
- Weather (Temperature and Description)
To run this, you need to clone the luma.examples
repository and put the file inside /examples/
python3 sysinfo.py --display ssd1327 --interface spi --width 128 --height 128
Tested on Rasbperry Pi 4 running Waveshare SSD1327 OLED Panel via SPI interface.