Happy to help where/when I can though I have none of this hardware so that 
limits advice to reviewing code/errors.

Gary

On Wednesday, 2 January 2019 05:52:17 UTC+10, Pat wrote:
>
> I've actually run out of time for today. 
>
> Gary, I could use some help if you (or anyone else) has some time. I 
> haven't done much special on the driver other than try to bolt everything 
> together from the Tutorial's code 
> <https://projects.raspberrypi.org/en/projects/build-your-own-weather-station/2>
>  
> and some of Patrick's code provided in this thread. Since I don't have the 
> hardware it's a logical first step to me. 
>
> In bolting things together it's making calls to other files which seems a 
> bit sloppy for a driver. Perhaps there's a quick way to clean this up and 
> consolidate? 
>
> Secondly, in the genPackets function, there's a while loop which is 
> counting the wind speed from the wind_direction_byo_5.py file and it 
> delays things for roughly 60 seconds in 5 second intervals. Seems like 
> there could be a better way to let weewx handle the wind speed counter?
>
> This is where some of my inexperience with driver making starts to show up 
> with wind speed counting and rain bucket tip counting. :)
>
> Help is appreciated to try and finish this driver. 
>
> Thanks
>
>
> On Tuesday, January 1, 2019 at 2:31:16 PM UTC-5, Pat wrote:
>>
>> Exactly correct. I'm SSH'd to his Pi and debugging now. Will probably 
>> need more help soon but for now the driver is at least working. Unsure on 
>> validity of sensor values quite yet. 
>>
>> On Tuesday, January 1, 2019 at 2:30:19 PM UTC-5, gjr80 wrote:
>>>
>>> In this case the problem is your code is trying use a BYOWS object 
>>> before the BYOWS class has been defined. You need to re-structure your code 
>>> to avoid calling the class before it is defined.
>>>
>>> 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.

Reply via email to