owfs - weewx driver for one-wire devices via one-wire file system (OWFS)
Copyright 2014 Matthew Wall

Installation instructions:

0) install owfs and the python bindings:

sudo apt-get install owfs python-ow

1) expand the tarball:

cd /var/tmp
tar xvfz ~/Downloads/weewx-owfs.tgz

2) copy files to the weewx user directory:

cp /var/tmp/weewx-owfs/bin/user/owfs.py /home/weewx/bin/user

3) scan for one-wire sensors and readings/names:

sudo PYTHONPATH=/home/weewx/bin python /home/weewx/bin/user/owfs.py --sensors
sudo PYTHONPATH=/home/weewx/bin python /home/weewx/bin/user/owfs.py --readings

4) modify weewx.conf, mapping database fields to devices, for example:

[Station]
    station_type = OWFS

[OWFS]
    driver = user.owfs
    [[sensor_map]]
        outTemp = /uncached/28.8A071E050000/temperature
        UV = /uncached/EE.1F20CB020800/UVI/UVI
        luminosity = /26.FB67E1000000/S3-R1-A/luminosity
        lightning = /1D.1AD00F000000/counters.A
    [[sensor_type]]
        lightning = counter

5) start weewx

sudo /etc/init.d/weewx start
