Wes Witt
unread,Mar 8, 2025, 4:39:56 PM3/8/25Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to weewx-user
I'm coming back to weewx after not using it for a while. So I'm using version 5.1, which operates differently from previous versions. I have a custom driver and I can't seem to get weewx to load/use the driver. I have placed my driver file into ~/weewx-data/bin/user and have modified my weewx.conf file to have the lines:
[wxHomeauto]
driver = bin.user.wxHomeauto
When I run weewxd I get the error "ModuleNotFoundError: No module named 'bin'".
What is the correct usage in the weewx.conf to get it to load my driver?
python3 ~/weewx/src/weewxd.py
Using configuration file /home/weewx/weewx-data/weewx.conf
Traceback (most recent call last):
File "/home/weewx/weewx/src/weewxd.py", line 226, in <module>
main()
File "/home/weewx/weewx/src/weewxd.py", line 121, in main
engine = weewx.engine.StdEngine(config_dict)
File "/home/weewx/weewx/src/weewx/engine.py", line 80, in __init__
self.setupStation(config_dict)
File "/home/weewx/weewx/src/weewx/engine.py", line 104, in setupStation
__import__(driver)
ModuleNotFoundError: No module named 'bin'