Code Monkey home page Code Monkey logo

usb-thermometer's Introduction

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

collectd integration

sudo make install collectd-install
sudo systemctl restart collectd

Changelog

2017-01-30

TuxInvader - reset device if it hangs

2016-04-30

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

2016-01-10

asac: add make install rule for easier distro integration

2015-11-11

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.

2015-01-22

Mebus: added Nagios/Icinga Plugin

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.

usb-thermometer's People

Contributors

petervojtek avatar petechap avatar hendrikb avatar tuxinvader avatar ph1l avatar mebus avatar asac-canonical avatar

Stargazers

Dez avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.