Read temperature from cheap usb thermometers (based on pcsensor0.0.1 binary) - modified for use with collectd
Clone or download
Pull request Compare This branch is 2 commits ahead, 20 commits behind petervojtek:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
99-tempsensor.rules
Makefile
README.md
pcsensor.c

README.md

usb-thermometer

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

Changelog

2014-10-31

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

2013-05-31

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

Contribution

Send a pull request via github.