Thanks for the quick reply, Gary. Yes, /usr seemed odd to me. My mind
went there instead of user when I read where to create the driver script.
I implemented the changes you suggested but get the same error.
pi@wx-rpi:/home/weewx/bin/user $ ls -l
total 4
-rw-r--r-- 1 pi pi 2664 Jun 20 21:17 Raspberry_Pi.py
[Raspberry_Pi]
loop_interval = 5
driver = user.Raspberry_Pi
Jun 20 21:53:16 wx-rpi weewx[24736]: engine: Loading station type
Raspberry_Pi (user.Raspberry_Pi)
Jun 20 21:53:16 wx-rpi weewx[24736]: engine: Caught unrecoverable exception
in engine:
Jun 20 21:53:16 wx-rpi weewx[24736]: **** No module named Raspberry_Pi
On Tuesday, June 20, 2017 at 9:36:41 PM UTC-5, gjr80 wrote:
>
> Hi,
>
> I think you should be putting your Raspberry_Pi.py file in the
> /home/weewx/bin/user
> directory not /usr.
>
> Also, under [Raspberry_Pi] you should use
>
> driver = user.Raspberry_Pi
>
> not
>
> driver = usr.Raspberry_Pi
>
> Gary
>
--
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].
For more options, visit https://groups.google.com/d/optout.