owfss - weewx service that collects data from one-wire devices using 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-owfss.tgz

2) copy files to the weewx user directory:

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

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

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

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

[OWFSService]
    interface = u
    [[sensor_map]]
        extraTemp1 = /uncached/28.8A071E050000/temperature
        UV = /uncached/EE.1F20CB020800/UVI/UVI
        radiation = /26.FB67E1000000/S3-R1-A/current
        lightning = /1D.1AD00F000000/counters.A
    [[data_type]]
        lightning = delta

[Engines]
    [[WxEngine]]
        archive_services = ... , user.owfss.OWFSService

4) restart weewx

sudo /etc/init.d/weewx stop
sudo /etc/init.d/weewx start
