Okay I've got a believed-to-be-good i2c onewire device (sheepwalk electronics' RPI3v2) with some temp sensors on the bus, and the old methods of reading what it's collecting isn't working. I used to be able to hit a port with my browser and it would enumerate the sensor tree. How can I read the various sensors I have on it now, so I can get their addresses and put them in the [OWFS] section?
On Wednesday, February 19, 2025 at 8:51:37 PM UTC-6 messyp...@gmail.com wrote: > The proof is after a weewx restart without errors, and these owfs entries > in syslog look appropriate: > > > > > > > > > *Feb 19 20:47:53 raspberrypi4b weewxd[38721]: weewx[38721] INFO user.owfs: > service version is 0.23.8 (pyownet)Feb 19 20:47:53 raspberrypi4b > weewxd[38721]: weewx[38721] INFO user.owfs: binding is archiveFeb 19 > 20:47:53 raspberrypi4b weewxd[38721]: weewx[38721] INFO user.owfs: > interface starts as NoneFeb 19 20:47:53 raspberrypi4b weewxd[38721]: > weewx[38721] INFO user.owfs: sensor map is {}Feb 19 20:47:53 raspberrypi4b > weewxd[38721]: weewx[38721] INFO user.owfs: sensor type map is {}Feb 19 > 20:47:53 raspberrypi4b weewxd[38721]: weewx[38721] INFO user.owfs: dallas > direction map is {}Feb 19 20:47:53 raspberrypi4b weewxd[38721]: > weewx[38721] INFO user.owfs: sensor unit system is metricFeb 19 20:47:53 > raspberrypi4b weewxd[38721]: weewx[38721] INFO user.owfs: pyownet interface > set as localhost:4304* > > On Wednesday, February 19, 2025 at 8:34:41 PM UTC-6 messyp...@gmail.com > wrote: > >> I finished the last couple of items and now my weewx.conf has the proper >> entry in it, all I have to do now is get the ow hat & some DS18B20's >> plugged into it, read their addresses, and edit this. >> [OWFS] >> driver = user.owfs >> [[sensor_map]] >> [[sensor_type]] >> >> Thousand thanks. >> Phil >> >> On Wednesday, February 19, 2025 at 8:24:34 PM UTC-6 messyp...@gmail.com >> wrote: >> >>> Update: I just read from https://github.com/glennmckechnie/weewx-owfs >>> where Glen mentions the warning, and, basically to ignore it. I overthought >>> it when I didn't have the issue with a bullseye install, but did with >>> bookworm. I will now proceed with >>> 1) fetch the package: wget -O weewx-owfs-master.zip >>> https://github.com/glennmckechnie/weewx-owfs/archive/refs/heads/master.zip >>> . . . >>> and hope all goes well. >>> On Wednesday, February 19, 2025 at 7:44:48 PM UTC-6 messyp...@gmail.com >>> wrote: >>> >>>> new install of 4.9.1 (I like it and don't want to change if I don't >>>> have to) >>>> Raspberry pi running "Debian GNU/Linux 12 (bookworm)" >>>> (Note: I just did this yesterday to another rpi4 running Linux >>>> 11/bullseye and everything loaded perfectly) >>>> Is there something about bookworm that breaks getting what we need to >>>> run 1wire on our pis with weewx? To wit: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> *pi@raspberrypi4b:~ $ sudo python3Python 3.11.2 (main, Nov 30 2024, >>>> 21:22:50) [GCC 12.2.0] on linuxType "help", "copyright", "credits" or >>>> "license" for more information.>>> import pyownetTraceback (most recent >>>> call last): File "<stdin>", line 1, in <module>ModuleNotFoundError: No >>>> module named 'pyownet'>>>* >>>> or >>>> >>>> *sudo apt-get install pyownet * >>>> *E: Unable to locate package pyownet* >>>> *if it is not available via apt-get then uses pip3 (apt-get install >>>> pip3-python to install pip3 )* >>>> *pip3 install pyownet * >>>> >>>> >>>> >>>> >>>> >>>> *error: externally-managed-environment× This environment is externally >>>> managed╰─> To install Python packages system-wide, try apt install >>>> python3-xyz, where xyz is the package you are trying to install.* >>>> >>>> My "production" wx server is a pi4 running bullseye w/ weewx 4.9.1 and >>>> I have the system setup running weewx, Vantage driver; I just haven't >>>> installed my Sheepwalk 1wire hat yet, soon as I do I'll add those 4 >>>> sensors >>>> to my weewx.conf ... FYI I had this setup a couple years ago working fine >>>> for about 6 years but lightning strike took out my ow hat, pi, and I >>>> rebuilt it to 4.9.1 albeit without my onewire stuff. Now I want to add >>>> them >>>> (3 temps, 1 lightning strike counter). >>>> I must mention my observation that trying to follow the history and >>>> stories about what it takes to setup owfs so my weewx/pi4 can start >>>> reading >>>> them. I haven't seen where anyone (yet) has brought the latest owfs stuff >>>> together in *one* place for us to follow. So meanwhile I'm at a roadblock >>>> with pyownet. >>>> Thanks for anyone's help. >>>> Phil >>>> >>>> >>>> >>>> >>>> -- 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 visit https://groups.google.com/d/msgid/weewx-user/ec12c53f-cb9e-4408-9700-9be4683c1600n%40googlegroups.com.