App to log the current temperature from a Temper1 sensor
C Shell
#6 Compare This branch is 19 commits ahead, 4 commits behind elpeo:master.
Latest commit 0edae8f Jan 4, 2014 @bitplane Merge pull request #4 from gurubobnz/master
Add additional vendor/device ID's to udev rule for "0c45:7401 Microdia" ...
Failed to load latest commit information.
.gitignore Oops, forgot pcsensor.h Also added a .gitignore Jan 15, 2012
60-temper.rules Add additional vendor/device ID's to udev rule for "0c45:7401 Microdi… Jan 2, 2014
README Add install and uninstall Makefile targets. Apr 17, 2013
pcsensor.c Added retval check to intermittently failing call Feb 9, 2012
pcsensor.h Commented out static forwards to eliminate warnings Feb 9, 2012
temper.c Retry loop added; Formatted datetime added to output; Calibration met… Feb 9, 2012


A command line sensor logger for Temper1 devices

Uses pcsensor.c by Michitaka Ohno, Juan Carlos Perez and Robert Kavaler

Install intructions (Debian / Ubuntu)

1. 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

2. Compile:


3. Install:

    sudo make install

4. Uninstall

    sudo make uninstall

Usage instructions

Run, you may need to run this as root depending on your udev rules, i.e.

    sudo ./

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 

To allow non-root users access

1. Add the udev rule set in /etc/udev/rules.d/ using the 60-temper.rules 

2. Add a 'temper' group (using groupadd or edit the /etc/group file)

3. Add users to the 'temper' group

4. Reload the udev rules 

    udevcontrol reload_rules

5. Unplug and replug the TEMPer device