Giter Club home page Giter Club logo

temper-hum-hid's Introduction

TemperHum HID API and daemon for linux

This is my own implementation written in C. It's a daemon that can log results differently, has debug command line switch etc.

Reads temperature and humidity values from a TEMPerHUM HID device (1130:660c)

TEMPerHUM HID device is recognized by modern linux distributions as "Tenx Technology, Inc. Foot Pedal/Thermometer". It's a device with a Tenx HID chip which controls the onboard SHT1x temperature sensor. No /dev/ttyUSBx is created for such device.

This program uses corrections to measrements which are described in original SHT1x sensor datasheet. Supports multiple devices.

There was an eariler revision of TEMPerHUM which did not have a HID chip but was using USB-to-serial CH341 chip instead. If you have such device, use Simon Arlott's program instead: http://github.com/lp0/temperhum

Usage: temper-hum-hid [OPTIONS]...

  -h, --help                Print help and exit
  -V, --version             Print version and exit
  -v, --verbose[=filename]  Print debug messages, to standard output if no
                              filename given  (default='')
  -s, --syslog              Log debug messages to syslog  (default=off)
  -l, --log=filename        Log data to log file
  -o, --out=filename        Output results to a file instead of printing it on
                              screen, can be used for creating a status file
                              which always has latest measurments
  -r, --repeat=seconds      Constantly print results, repeat every given amount
                              of seconds, devices will be reopened every 1 hour
                              in this mode, 0 for no repeat  (default='0')
  -m, --machine             Output in machine-friendly format, which is easier
                              to be parsed by bash scripts for later use in
                              monitoring tools, 4ex. Zabbix  (default=off)
Usage example:

  temper-hum-hid --log=/var/log/temper-hum-hid.log --out=/var/log/temper-hum-hid.status --repeat=60 --machine

Brando USB TemperHum device

From brando site:

USB Hygro-Thermometer

Product Code: ULIFE015100

The USB Hygro-Thermometer let you get easy to measure the indoor temperature & humidity levels and able to capture both data into your computer.

Features:

  • Powered by USB
  • Temperature Range: -40° ~ 120°
  • Humidity Range: 0 ~ 100%
  • Temperature can be captured from every second to 12 hours
  • The logged data can be pasted to Word / Excel easily
  • Support Windows XP / Vista / 7 (32-bit)
  • Size: 59x17x7mm (approx.)
  • Weight: 8g

temper-hum-hid's People

Contributors

olegstepura avatar arnd avatar

Watchers

James Cloos avatar Marc Vieira-Cardinal (VA2MVC) 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.