On Sunday, February 16, 2020 at 1:24:23 PM UTC-8, Bill Burton wrote:
>
>
> *Can anyone suggest a recent driver or one that's a better staring point 
> that supports XML or JSON by getting data via HTTP?*
>
>
>
Take a look at the purpleair extension.  You'd have to run it through 2to3 
to make it python3-compatible, but it basically does a http get of a url 
and gets the data into weewx pretty reliably.

I have a fork at https://github.com/vinceskahan/weewx-purpleair if you 
wanted to take a look.  The readme there points to the author's master 
copy.   Code should be pretty obvious to you. 

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" 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-development/a8e4e52e-a978-43d3-9330-2ba6a11f2151%40googlegroups.com.

Reply via email to