On Sunday, March 12, 2017 at 6:11:49 PM UTC-7, [email protected] wrote:
>
>
> Bob - I don't think that the line you mention needs to be changed. As far 
> as I now it is the name of the class (prefixed by the 'user.' folder which 
> becomes part of the nested class when it is imported) which does have the 
> 'Driver' text at the end of it. It has been that way for a while and has 
> always worked for me.
>
>
> Hi Susan,  that code goes into weewx.conf.  When I first installed your 
driver, back before you renamed it hp1000, the code was "driver = 
user.xc0422Driver" 
and weewx complained that it couldn't find xc0422Driver.py. So I removed 
the "Driver" part. Since then, I've had the appropriate text 
(driver=user.hp1000) already in weewx,conf, and the install script doesn't 
touch the text already there. A new user would probably get bitten. But we 
should defer to the "big boys" on this. I note that mwall, one of the 
gurus, stated back on Feb 13:

2) the 'driver' field refers to the python module in which the driver code 
> resides.  so you want 'user.hp1000' (assuming that you lowercase the 
> filename)


Bob 

Reply via email to