Extract station data for use in script...

41 views
Skip to first unread message

bus...@gmail.com

unread,
Apr 28, 2021, 3:33:58 AM4/28/21
to weewx-user

Hi,
I wonder if weewx has some file or methods where I can easily read the last weather station data from with php or perl.  The good ol' WeatherView had its parameterlist.htm file where all raw data from the station were saved at each poll. 

Does weewx have something like this too, or do I have to retrieve it from the database?

Does it exist examples of this..?

best regards
Tor

Graham Eddy

unread,
Apr 28, 2021, 3:44:31 AM4/28/21
to weewx...@googlegroups.com
you can easily create a template just like wview’s parameterlist.htm.
look at the NOAA templates as a related example.
weewx 4.5 has introduced json as generated values format (i haven’t tried them yet) which should suit you perfectly

--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/ed636472-eec0-45e1-bc8d-ac40e630e98cn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages