Shows the temperature, cpu and memory usage of the Raspberry Pi in the MacOS status bar
The server parses files:
/proc/stat
/proc/meminfo
/sys/class/thermal/thermal_zone0/temp
generates JSON and sends it with a broadcast UDP request
- Build server
cd server
make build
- Deploy to Raspberry Pi
scp istatus pi@raspberrypi.local:/home/pi/bin/
scp istatus.service pi@raspberrypi.local:/home/pi/bin/
- Launch service on Raspberry Pi
sudo -s
mv istatus.service /etc/systemd/system/
systemctl daemon-reload
systemctl enable istatus
systemctl start istatus
check
systemctl status istatus
journalctl -u istatus -f
I did the project over the weekend, I don't know how to make releases yet.
¯\(ツ)/¯