Big MQTT fan here, so I would parse the XML and post a MQTT payload to a local mosquitto broker, then MQTTSubscribe that in weewx to get it into weewx. Uncertain how you'd map the data elements into the weewx schema though.
I'm sure others have more direct ways of importing data from a file etc. Check the wiki as wrll. On Friday, August 22, 2025 at 4:59:40 PM UTC-7 [email protected] wrote: > > Hi, > The download is an RSS (XML) file via 'simplexml_load_file('...') from the > NOAA Buoy site that I am parsing most of the data into an array then > displaying that information on a local / private server running WeeWX with > a custom web page along with lots of other information from the web and a > Davis Console. Currently only the Davis data are saved via WeeWX > The information I wish to save is the Buoy name (10 chars, date stamp > (date and time) and wave height (NN.DD). All parsed into an array and then > displayed on the web page index.php created from index.php.tmpl. This will > be for 2 buoys and the data is collected approximately every 10 minutes. > I'd like to archive this information and possibly display both data sets > on WeeWX charts. > I'm hoping this isn't too complex. if it is it is no biggie to just > display the data the way I am doing. Being on the east coast it is good to > have an idea of what is going on off shore. > Thanks for the reply, > Den > > On Friday, August 22, 2025 at 5:57:50 PM UTC-4 vince wrote: > >> What data, from where, and how are you getting it currently ? >> >> On Friday, August 22, 2025 at 1:46:42 PM UTC-7 [email protected] wrote: >> >>> I could use some help, a step by step tutorial, on how to add data >>> (timedate, decimal value and unit) that is collected from an internet NOAA >>> site every few minutes in my index.html file. Currently the data is just >>> displayed locally. I'd like to save it and display the history, locally, in >>> a WeeWX graph. >>> The more I read on customization the less i understand. Some plain >>> language would be appreciated. >>> Thanks >>> Den >>> >> -- 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]. To view this discussion visit https://groups.google.com/d/msgid/weewx-user/2d077cfa-71c5-4d6d-a3d5-29858be4a1can%40googlegroups.com.
