Sorry, small error on my part, it's not "usr" that should be read but "user"
Le dimanche 25 février 2024 à 19:55:27 UTC+1, Remy Lavabre a écrit : > Hello, > > weewx is installed in virtual PIP mode -> ~/weewx-data/... and > ~/weewx-venv/... > I manually added the xxx.py driver for my weather station in the > ~/weewx-data/bin/user directory. > It is declared in weewx.conf as "driver = usr.xxx", as was done in version > 4.x > > When launching weewxd, I get the message: > File "/home/pi/weewx-venv/lib/python3.8/site-packages/weewx/engine.py", > line 104, in setupStation > __import__(driver) > ModuleNotFoundError: *No module named 'usr'* > > I tried "driver = xxx.py" without success > > if I put my driver in > ~/weewx-venv/lib/python3.8/site-packages/weewx/drivers/xxx.py and I put > driver = xxx.py in weewx.conf there is no longer the error. > > Moral: Would it be possible to tell me the exact location where to put my > driver in the user directory and how to declare it in weewx.conf ? > > Thank you... > > -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/6e41bfdc-59cc-454e-b684-3c012745f412n%40googlegroups.com.
