SysResMon
System Resource Monitor
An easy way to monitor essential data from systems that are running "headless".
These systems, often Single Board Computers (SBCs) like the Raspberry Pi or home servers, are typically used for automation, media streaming, IoT purposes, or other continuous tasks. Since they run "headless," accessing their status or performance data can be more challenging compared to using traditional desktops.
Supplies
For this project only few parts are needed.
Wemos D1 Mini
1.3" Oled Screen
Dupont cables
3D Printer
Print the Case
Flash the Wemos
The source ino file is available here:
https://github.com/zangaby/SysResMon
Compile and upload the code using Arduino IDE.
Connect the Wemos to the Oled
Connect the screen to the Wemos as follows:
Place the Wemos and the Oled Into the Case
Place all the components in the case and close it.
Connect the USB Cable and Run the Script That Sends Data
The system_info.py is available in the project repository.
This script sends the data to the microcontroller.
Startup Script
Add a startup script to be loaded every time the system boots.
Allow the current user to access the USB device.
Create a service file /etc/systemd/system/sysresmon.service
Add a bash script that calls the python script
/etc/systemd/system/sysresmon.service
Update the permissions
Enable the service
Reboot to test
Further Ideas
Few things that might be added to the project.
- Add more monitored data;
- Use different layout on the screen;
- Add OTA update capabilities.
Thank You !
Credits:
Hope you enjoyed this project and if you have any questions feel free to ask.
Thank you for reading!