Read temperature from cheap usb thermometers (based on pcsensor0.0.1 binary)
C Makefile Python Shell
Latest commit 948f98a May 1, 2016 @petervojtek Update
Failed to load latest commit information.
.gitignore collectd integration Apr 27, 2016
99-tempsensor.rules original version 0.0.1 by Juan Carlos Perez Mar 27, 2013
Makefile Update May 1, 2016
pcsensor.c fix optstring for optional argument to -l Apr 27, 2016


Read temperature from cheap usb thermometers.

Supported devices:

  • TEMPer1
  • TEMPer1F

How to run it

  1. clone this repository
  2. $ sudo apt-get install libusb-dev
  3. $ make
  4. connect the thermometer
  5. $ sudo ./pcsensor

The output looks like:

2014/10/30 07:00:36 Temperature 73.96F 23.31C

collectd integration

sudo make install collectd-install
sudo systemctl restart collectd



ph1l added Collectd plugin and fixed optstring for optional argument to -l.


asac: add make install rule for easier distro integration


Hendrik Bergunde: Introduce the -s parameter, that takes an offset as mandatory argument that gets substracted from (all) displayed temperatures. This can become handy, since the measured temperature sometimes looks significantly too high. The argument is considered to be given in degree Celsius (°C) and supports integer and float values. Practically, I can recommend an offset of about -s7.5. The Fahrenheit values automatically take advantage of the offset as well.


Mebus: added Nagios/Icinga Plugin


Pete Chapman: Fixed poor precision for TEMPer1F (iProduct string "TEMPer1F_V1.3").


Peter Vojtek: took original version of pcsensor0.0.1 from this page and fixed bug: temperatures below zero overflow: 254.3 C is displayed instead of -1.3 C


Send a pull request via github.