Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

App to log the current temperature from a Temper1 sensor

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 60-temper.rules
Octocat-spinner-32 Makefile
Octocat-spinner-32 README
Octocat-spinner-32 log.sh
Octocat-spinner-32 pcsensor.c
Octocat-spinner-32 pcsensor.h
Octocat-spinner-32 temper.c
README
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:

    make

3. Install:

    sudo make install

4. Uninstall

    sudo make uninstall


Usage instructions
==================

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

    sudo ./log.sh

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


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


Something went wrong with that request. Please try again.