[weewx-user] Re: User Guide to create a driver

2023-08-31 Thread Craig Young
Thanks Gary, I will start with that.

On Friday, September 1, 2023 at 8:39:10 AM UTC+12 gjr80 wrote:

> Have a look at the Porting to new hardware 
>  section in 
> the Customization Guide 
> . Perhaps that is what 
> you saw? You might also find some benefit in looking through the Notes 
> for Developers  guide.
>
> In terms of where to do your development/keep your driver - it's entirely 
> up to you. A public GitHub repo is great, makes reversion easy and gives 
> you an offsite backup in case the worst happens. Depending on what you want 
> to do with GitHub it can be a bit daunting at first, but the effort is well 
> worth it. The big plus for others is that users of the same/similar 
> hardware now have access to a driver.
>
> Gary
> On Friday, 1 September 2023 at 06:06:18 UTC+10 craig.y...@gmail.com wrote:
>
>> My weather station (Campbell Scientific CR300 data logger) is not 
>> supported by weewx.  What I can do though is take an existing driver that 
>> closely matches what I need and change it to create a new driver for the 
>> CR300.  I have looked around for a user guide on how to do this and I 
>> thought I had found one a few weeks ago but can't relocate it.  Is there a 
>> recommended User Guide for creating a new driver from an existing driver?  
>> For this project is it better to download the driver source code to my 
>> raspberry pi, modify it and install it locally as a new driver rather than 
>> putting it in the public GitHub repositories.
>>
>> Craig
>>
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/686bd29d-4bf1-432b-9142-83b29b722c3cn%40googlegroups.com.


[weewx-user] Re: User Guide to create a driver

2023-08-31 Thread gjr80
Have a look at the Porting to new hardware 
 section in the 
Customization 
Guide . Perhaps that is 
what you saw? You might also find some benefit in looking through the Notes 
for Developers  guide.

In terms of where to do your development/keep your driver - it's entirely 
up to you. A public GitHub repo is great, makes reversion easy and gives 
you an offsite backup in case the worst happens. Depending on what you want 
to do with GitHub it can be a bit daunting at first, but the effort is well 
worth it. The big plus for others is that users of the same/similar 
hardware now have access to a driver.

Gary
On Friday, 1 September 2023 at 06:06:18 UTC+10 craig.y...@gmail.com wrote:

> My weather station (Campbell Scientific CR300 data logger) is not 
> supported by weewx.  What I can do though is take an existing driver that 
> closely matches what I need and change it to create a new driver for the 
> CR300.  I have looked around for a user guide on how to do this and I 
> thought I had found one a few weeks ago but can't relocate it.  Is there a 
> recommended User Guide for creating a new driver from an existing driver?  
> For this project is it better to download the driver source code to my 
> raspberry pi, modify it and install it locally as a new driver rather than 
> putting it in the public GitHub repositories.
>
> Craig
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/4ecfb47d-f49e-4354-ad7f-61e2358db73dn%40googlegroups.com.