Raspberry Pi monitor system stats and display to OLED and log to .csv file
I am a python beginner, so please excuse coding mistakes - I am happy to learn
-
Logging system stats and displaying these on a standard ssd1306 OLED Display.
-
Rotary enoder to change scale of graphs and press to show addtional information (press again to return)
-
PIR motion detector to turn of screen
-
logging to .csv file which can be read by nextcloud analytics
REQUIRED LIBARIES
-
python3
-
luma.core (https://github.com/rm-hull/luma.core)
-
psutil
-
gpiozero
How to use
- install libaries
- connect display, PIR, Encoder to GPIO (use ports specified or change in code accordingly)
- run script
-- run as system service (this currently gives an error and does not work)
todo:
- second OLED display on another I2c port