Hello - I am running into problems getting WEEWX to work on a new 2 GB Raspberry Pi 4 running the latest version of Raspbian Buster. It boots from the SD card and then runs from a 525 GB SD card using a USB port.I am planning on using 1-Wire sensors using the DS9490R USB to 1_wire interface.
1. I installed Weewx following the directions from "http://weewx.com/docs/debian.htm". Then I followed directions from "https://github.com/weewx/weewx/wiki/owfs" to install the one wire stuff. 2. The Pi sees the DS9490R as running as "lsusb" shows: pi@raspberrypi:~ $ lsusb Bus 002 Device 002: ID 174c:55aa ASMedia Technology Inc. Name: ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 005: ID 046d:c31c Logitech, Inc. Keyboard K120 Bus 001 Device 006: ID 04fa:2490 Dallas Semiconductor DS1490F 2-in-1 Fob, 1-Wire adapter Bus 001 Device 004: ID 050d:0233 Belkin Components Bus 001 Device 003: ID 046d:c077 Logitech, Inc. M105 Optical Mouse Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 3. Here is part of my weewx.conf file: [Station] # Description of the station location location = " Valley Road, Southborough, MA 01772" # Latitude and longitude in decimal degrees latitude = 40.000 longitude = -71.000 # Altitude of the station, with unit it is in. This is downloaded from # from the station if the hardware supports it. altitude = 350, foot # Set to type of station hardware. There must be a corresponding stanza # in this file with a 'driver' parameter indicating the driver to be used. ### station_type = Simulator station_type = OWFS # If you have a website, you may specify an URL #station_url = http://www.example.com # The start of the rain year (1=January; 10=October, etc.). This is # downloaded from the station if the hardware supports it. rain_year_start = 1 # Start of week (0=Monday, 6=Sunday) week_start = 6 4. However, when running the following: pi@raspberrypi:~ $ sudo PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/owfs.py --sensors Traceback (most recent call last): File "/usr/share/weewx/user/owfs.py", line 618, in <module> main() File "/usr/share/weewx/user/owfs.py", line 578, in main ow.init(iface) File "/usr/lib/python2.7/dist-packages/ow/__init__.py", line 223, in init raise exNoController ow.exNoController gives the "exNoController" error. I looked into postings about this and nothing seems to be any of my problems. *At least as far as I can see.* 5. Doing "service weewx status" gives the following: pi@raspberrypi:~ $ service weewx status ● weewx.service - LSB: weewx weather system Loaded: loaded (/etc/init.d/weewx; generated) Active: active (exited) since Thu 2020-04-16 12:55:32 EDT; 45s ago Docs: man:systemd-sysv-generator(8) Process: 1195 ExecStart=/etc/init.d/weewx start (code=exited, status=0/SUCCESS) Apr 16 12:55:32 raspberrypi weewx[1210]: owfs: interface is u Apr 16 12:55:32 raspberrypi weewx[1210]: owfs: sensor map is {'outTemp': '/uncached/28.6E175D040000/temperature'} Apr 16 12:55:32 raspberrypi weewx[1210]: owfs: sensor type map is {} Apr 16 12:55:32 raspberrypi weewx[1210]: owfs: polling interval is 10 Apr 16 12:55:32 raspberrypi weewx[1210]: owfs: sensor unit system is metric Apr 16 12:55:32 raspberrypi OWFS[1210]: DEFAULT: owlib.c:(208) Cannot open USB bus master Apr 16 12:55:32 raspberrypi OWFS[1210]: DEFAULT: owlib.c:(52) No valid 1-wire buses found Apr 16 12:55:32 raspberrypi OWFS[1210]: engine: Import of driver failed: (<class 'ow.exNoController'>) Apr 16 12:55:32 raspberrypi OWFS[1210]: engine: Unable to load driver: Apr 16 12:55:32 raspberrypi OWFS[1210]: **** Exiting... So, I am confused. The DS9490R USB bus master is seen by "lsusb" but "service weewx status" complains it cannot open it. I moved the DS9490R to an externally powered hub thinking that maybe this is a power issue, but no help. I installed Weewx on a old ATOM based machine running Xubuntu following the same procedure as described above and everything works fine. I admit that I am a novice Linux user, I design hardware, but I was wondering if anyone can point me in the direction of where to look to solve this problem. I was also wondering if anyone has had success in getting Weewx to work on the Pi 4 running Buster and using the DS9490R? Thanks in advance for any help or suggestions -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/d9f30a47-8804-4f4c-894b-8a9372ecc565%40googlegroups.com.