forked from elpeo/rbtemper
-
Notifications
You must be signed in to change notification settings - Fork 29
/
README
52 lines (27 loc) · 1.06 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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