| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Log Raspberry Pi CPU frequency and temperature to ThingSpeak.
git clone https://github.com/albertus82/raspberrypi-cpu-logger.git
Put the Write API Key associated with your ThingSpeak channel (e.g. 1234567890ABCDEF) into a text file named api.key in the conf directory.
Launch the program via the shell script start.sh and use CTRL+C to terminate, or install the program as a service.
⚠️ Don't forget to replace WRITE_API_KEY with your actual ThingSpeak Write API Key!
git clone https://github.com/albertus82/raspberrypi-cpu-logger.git
cd raspberrypi-cpu-logger
echo WRITE_API_KEY > conf/api.key
./start.sh⚠️ Don't forget to replace WRITE_API_KEY with your actual ThingSpeak Write API Key!
cd /opt
sudo git clone https://github.com/albertus82/raspberrypi-cpu-logger.git
cd raspberrypi-cpu-logger
echo WRITE_API_KEY | sudo tee conf/api.key
sudo chmod 640 conf/api.key
printf '[Unit]\nDescription=CPU Logger\nAfter=network.target\n\n[Service]\nExecStart=/opt/raspberrypi-cpu-logger/start.sh\nUser=root\nTimeoutStopSec=5min\n\n[Install]\nWantedBy=multi-user.target\n' | sudo tee /etc/systemd/system/raspberrypi-cpu-logger.service
sudo systemctl enable raspberrypi-cpu-logger
sudo service raspberrypi-cpu-logger restart| Back | FazBrowse Home | New Git URL |