I should also note that when I 'sudo wee_config --reconfigure 
--driver=user.byows_rpi --no-prompt' I see the following:

Using configuration file /home/weewx/weewx.conf
Driver user.byows_rpi  failed to load: name 'weewx' is not defined

On Saturday, July 23, 2022 at 7:07:55 AM UTC-6 Jan Bennett wrote:

> Hey all - 
>
> I am trying to install the driver for the Build Your Own Weather Station 
> using Raspberry pi (byows_rpi.py)
>
> I have updated weewx-config to include BYOWS. I also have the interceptor 
> driver installed.
>
> However, I cannot seem to get the driver to show up under the drivers list 
> when I try 'wee_config --list-drivers'.  I show byows_rpi.py under 
> /usr/share/weewx/user/
>
> I have tried 'sudo wee_config --reconfigure --driver=user.byows_rpi 
> --no-promt' to no avail.
>
> I feel like I've missed a step somewhere about how to actually get the 
> system to recognize the driver.
>
> When I try to run the byows_rpi.py via command line from within the 
> /usr/share/weewx/user/ folder: 'python3 byows_rpi.py' I see the following 
> error:
>
> class ByowsRpi(weewx.drivers.AbstractDevice)
> NameError: name 'weewx' is not defined
>
> Any guidance would be greatly appreciated!
>

-- 
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/074ed02d-872f-4384-82bf-748449e13ef5n%40googlegroups.com.

Reply via email to