Page 1 of 1

CumulusMX on RaspberryPi with 1-wire sensors

Posted: Sun 12 Jul 2015 2:22 am
by philipgm
I have setup CumulusMX on the rpi. I have discovered that the rpi will also read the 1-wire temperature sensors (and I think other 1-wire sensors). I have plugged the 1-wire USB adaptor into a USB port and the readings soon are available in the rpi. (in the /sys/bus/w1/devices/ directory)
See http://www.nzwebnet.co.nz/1_wire/index.php for more info. (The RaspberryPi directory) The software is available here.
The 1-wire sensors can also be connected to the rpi GPIO pins, but in this case you are limited to having the sensors within about 10 meters. With the 1-wire USB adaptor the sensors work out to about 20 meters.
This is an easy way to add extra sensors to the weather station.

Re: CumulusMX on RaspberryPi with 1-wire sensors

Posted: Sun 12 Jul 2015 8:11 am
by steve
Nice job. It would be good if the 1-wire data could be integrated into Cumulus itself, but that's not really possible without quite a bit of work (from me). Maybe one day...

Re: CumulusMX on RaspberryPi with 1-wire sensors

Posted: Mon 13 Jul 2015 5:07 am
by philipgm
Sleeping is overrated anyway,isn't it.

Re: CumulusMX on RaspberryPi with 1-wire sensors

Posted: Mon 13 Jul 2015 7:05 am
by steve
I've always thought so :lol: