temper
temper copied to clipboard
App to log the current temperature from a Temper1 sensor
A command line sensor logger for Temper1 devices
Uses pcsensor.c by Michitaka Ohno, Juan Carlos Perez and Robert Kavaler
Install intructions (Debian / Ubuntu)
-
Install libusb-0.1.4 and dev package, plus build-essential
sudo apt-get install build-essential libusb-0.1.4 libusb-0.1.4-dev
-
Compile:
make
-
Install:
sudo make install
-
Uninstall
sudo make uninstall
Usage instructions
Run log.sh, you may need to run this as root depending on your udev rules, i.e.
sudo ./log.sh
This will log the temperature every 5 seconds to stdout as a CSV stream which you can pipe to a text stream and open in your favourite spreadsheet package later.
To allow non-root users access
-
Add the udev rule set in /etc/udev/rules.d/ using the 60-temper.rules
-
Add a 'temper' group (using groupadd or edit the /etc/group file)
-
Add users to the 'temper' group
-
Reload the udev rules
udevcontrol reload_rules
-
Unplug and replug the TEMPer device