On Thu, 9 Nov 2006, Julien TOUCHE wrote:

> i've found some (linux) apps
> http://www.digitemp.com/software.shtml

[snip]

The new versions work nicely in OpenBSD (and other BSDs) too.

> has anyone advise to find cheap sensors (temperature, but also humdity,
> pressure, light, electricity before UPS, ...) which are known to  work
> with openbsd ?

I have DS1820 controller and I use digitemp to get readings
from it:

[EMAIL PROTECTED]:~$ digitemp -a
DigiTemp v3.3.2 Copyright 1996-2004 by Brian C. Lane
GNU Public License v2.0 - http://www.brianlane.com
Nov 09 15:28:22 :: -1.06 0C
Nov 09 15:28:23 :: 20.75 0C
Nov 09 15:28:24 :: 23.12 0C

The first one is outdoor temperature, second is on the floor
and third 1,5m above the floor. The rc file looks like this:

[EMAIL PROTECTED]:~$ cat .digitemprc
TTY /dev/cua00
READ_TIME 1000
LOG_TYPE 1
LOG_FORMAT "%b %d %H:%M:%S :: %.2C 0C"
CNT_FORMAT "%b %d %H:%M:%S Sensor %s #%n %C"
HUM_FORMAT "%b %d %H:%M:%S Sensor %s C: %.2C F: %.2F H: %h%%"
SENSORS 3
ROM 0 0x10 0x80 0x20 0x88 0x00 0x08 0x00 0x5A
ROM 1 0x10 0x6E 0x2D 0x88 0x00 0x08 0x00 0x8C
ROM 2 0x10 0x3F 0x23 0x88 0x00 0x08 0x00 0x37

This setup has worked well enough for me :-)

My friend has the diagram and the part listing although some texts are in
Finnish but I can translate them into English if you want. The parts are
pretty cheap, less than 10 euros in here for one sensor, the DS1820
is the most expensive part.

--
Antti Harri

Reply via email to