Hey everyone
OK, this really shouldn't be that hard, but somehow I can't get it to work. 
I'm trying to use an Airmar PB200 sensor with weewx on a RasPi 3B+, and 
downloaded the driver from the user group. I have put the driver in 
etc/weewx/bin/user as suggested, and added Airmar as the station in my 
.conf file (driver = weewx.drivers.airmar), but weewx can't seem to find 
the driver. What am I doing wrong? See output from systemctl status below:

:~ $ sudo systemctl status weewx
× weewx.service - WeeWX
     Loaded: loaded (/lib/systemd/system/weewx.service; enabled; preset: 
enabled)
     Active: failed (Result: exit-code) since Sat 2024-09-28 10:03:05 PDT; 
29s ago
   Duration: 605ms
       Docs: https://weewx.com/docs
    Process: 1850 ExecStart=weewxd /etc/weewx/weewx.conf (code=exited, 
status=1/FAILURE)
   Main PID: 1850 (code=exited, status=1/FAILURE)
        CPU: 606ms

Sep 28 10:03:05 raspberrypi weewxd[1850]: CRITICAL __main__:     **** 
 Exiting.
Sep 28 10:03:05 raspberrypi weewxd[1850]:     engine = 
weewx.engine.StdEngine(config_dict)
Sep 28 10:03:05 raspberrypi weewxd[1850]:             
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sep 28 10:03:05 raspberrypi weewxd[1850]:   File 
"/usr/share/weewx/weewx/engine.py", line 80, in __init__
Sep 28 10:03:05 raspberrypi weewxd[1850]:     self.setupStation(config_dict)
Sep 28 10:03:05 raspberrypi weewxd[1850]:   File 
"/usr/share/weewx/weewx/engine.py", line 104, in setupStation
Sep 28 10:03:05 raspberrypi weewxd[1850]:     __import__(driver)
Sep 28 10:03:05 raspberrypi weewxd[1850]: ModuleNotFoundError: No module 
named 'weewx.drivers.airmar'
Sep 28 10:03:05 raspberrypi systemd[1]: weewx.service: Main process exited, 
code=exited, status=1/FAILURE
Sep 28 10:03:05 raspberrypi systemd[1]: weewx.service: Failed with result 
'exit-code'.

-- 
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/b7079c76-2449-448f-95d7-8b795132fa1fn%40googlegroups.com.

Reply via email to