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'
--
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].
To view this discussion visit
https://groups.google.com/d/msgid/weewx-user/ce29fbdb-2657-48fb-8fd6-1d2d9a61f290n%40googlegroups.com.