journals things
Find a file
2025-10-06 11:49:11 +00:00
systemd add 2024-07-15 12:51:45 +02:00
.gitignore initial commit 2024-07-15 11:58:55 +02:00
main.c mistake 2024-07-15 12:27:14 +02:00
Makefile initial commit 2024-07-15 11:58:55 +02:00
README.md Update README.md 2025-10-06 11:49:11 +00:00

A lightweight program that journals data about the environment of a raspberry pi

Current scope

  • cpu temperature
  • ambient temperature from a 1wire sensor

CPU temperature is read from /sys/class/thermal/thermal_zone0/temp but that should work on every Linux computer
Ambient temperature is read from /sys/bus/w1/devices so you must have 1wire enabled, if you don't have that set SENSOR to 0

Compilation and usage

  1.  gcc main.c -o measurer
    
  2.  ./measurer <output>
    
  3. Optional: schedule with systemd