My Pi (weewx 5.3 Trixie debian install) is working as far as reading the sensors into weewx, however when I try to use the command line in Glen's script, modified for my weewx install method:
sudo PYTHONPATH=/etc/weewx/bin python3 /etc/weewx/bin/user/owfs.py --help
it just gives
Traceback (most recent call last):
File "/etc/weewx/bin/user/owfs.py", line 353, in <module>
import weewx
ModuleNotFoundError: No module named 'weewx'
I'm assuming I installed everything right as weewx can read the data from the six sensors, there are no errors in the syslog, however I can't use the utility to do a command line read of my sensors.
Here's the pertinent portion of my weewx.conf:
[OWFS]
driver = user.owfs
[[sensor_map]]
soilTemp1 = /uncached/28.57DE46D4C76B/temperature #water ? shallow front
soilTemp2 = /uncached/28.8DEB46D4C269/temperature #water ? deeper/bottom front
soilTemp3 = /uncached/28.F0B946D42768/temperature #fridge
soilTemp4 = /uncached/28.E9A207D6013C/temperature #freezer
extraTemp1 = /uncached/28.5F0FA70D0000/temperature #attic
extraTemp2 = /uncached/28.E8C0A70D0000/temperature #water deepest/east corner
[[sensor_type]]
Any idea what I did wrong?
Thanks