PC Stats Monitor - 18/04/2025

I have created a stats monitor for my computer, which is acting as a web + file server.

A screen with a graph on it

AI-generated content may be incorrect.

It displays the CPU Temp, network traffic, as well as a graph of CPU Usage.

The device is a raspberry pi 4 inside of a small 3.5" display case. It is a GeekPi TFT Touch Screen 5fps 320x480 LCD, which I purchased from amazon.com.au for $38.98 AUD.

A hand holding a stylus and a touch screen device

AI-generated content may be incorrect.

It runs rpi-os (a custom version with drivers for the display) and connects to Wi-Fi. I have configured it (using bashrc) to open up a chromium window in "kiosk" mode to the servers ip address on port 5001 http. Run in the terminal at boot:

chromium-browser --kiosk http://192.168.1.239:5001

This http page displays the stats in the image above, from a python flask program.

I have it inside of the PC case, visible through the glass window. It is powered by a USB-C cable.

A white box with a white device in it

AI-generated content may be incorrect.

Here is the code for the flask python web server (rename .txt to .py):

Download Code as .txt

Thank you for reading till the end! I hope you enjoyed this article.

If you have any questions or comments, don't hesitate to contact me at makrypodisc@hotmail.com