Howard, I cannot prove your theory but can add my tests and inn my case usb-devices shows
2.0 root hub SMC9512/9514 USB Hub SMSC9512/9514 Fast Ethernet Adapter which is just the Raspberry Pi. So no trace of DS18B20. pi@raspberrypi:~ $ tail /var/log/syslog Dec 12 18:12:13 raspberrypi weewx[573]: Stopping weewx weather system: weewx not running.... Dec 12 18:12:13 raspberrypi systemd[1]: Stopped LSB: weewx weather system. Dec 12 18:12:40 raspberrypi OWFS[594]: DEFAULT: owlib.c:(208) Cannot open USB bus master Dec 12 18:12:40 raspberrypi OWFS[594]: DEFAULT: owlib.c:(52) No valid 1-wire buses found Dec 12 18:13:18 raspberrypi OWFS[603]: DEFAULT: owlib.c:(52) No valid 1-wire buses found Dec 12 18:14:51 raspberrypi OWFS[630]: DEFAULT: owlib.c:(52) No valid 1-wire buses found Dec 12 18:15:14 raspberrypi OWFS[639]: DEFAULT: owlib.c:(208) Cannot open USB bus master Dec 12 18:15:14 raspberrypi OWFS[639]: DEFAULT: owlib.c:(52) No valid 1-wire buses found Matthew, in my case: weewx-owfs-0.21.tgz OS version PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" NAME="Raspbian GNU/Linux" VERSION_ID="9" VERSION="9 (stretch)" ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" If you could provide with the owfs source (I am more of Debian newbie) I could try to compile, run tests and share output. Regards, On 12 December 2017 at 18:21, mwall <[email protected]> wrote: > howard, > > you're on the right track. enumerate the owfs and operating system > versions that each of you is using. i assume you are all using the latest > weewx-owfs (v0.21 as of 12dec2017). > > the weewx-owfs extension (driver and service) depends on the owfs > libraries. > > if you are lucky, you can install owfs using apt or yum. > > i had to compile owfs on some arm systems, since the owfs that shipped > with them was too old or was broken. > > you can easily build owfs without messing up your system. download the > owfs source, then build it like this: > > ./configure --prefix=/opt/owfs-x.y ... > make > make install > > for a complete list of the options to configure that matter, see the end > of the owfs wiki page > > https://github.com/weewx/weewx/wiki/owfs > > most of the stuff in owfs is not needed by the weewx-owfs driver/service, > so i always disable it. > > to use your compiled version of owfs instead of whatever the system > provides, put it in the path. for example: > > LD_LIBRARY_PATH=/opt/owfs-x.y PYTHONPATH=/home/weewx/bin python > /home/weewx/bin/user/owfs.py --sensors > > when you get that to work, put the LD_LIBRARY_PATH into the weewx rc > script or whatever you use to run weewx as a daemon. > > m > > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
