Ocean Beach: I was taking notes on your recent work with the NOAA buoy RSS as I have several of these buoys near me as I live very close to the Gulf of Mexico here in the Tampa Bay area.
As Vince stated earlier, it is actually simple to write to a separate db in weewx. what you want to do is write an extension that uses the archive method that will pull the RSS, compare it to see if there are any deltas, and commit it using WeeWx DB Manager to its own database. here are some key links in the weewx documentation that can give you an understanding of the process: Adding_2nd_source : http://weewx.com/docs/customizing.htm#Adding_2nd_source Customizing the database : http://weewx.com/docs/customizing.htm#archive_database creating a driver : http://weewx.com/docs/customizing.htm#Implement_the_driver Once you get your data service driver working, you want to package it. here is the link to understand the extension packing process http://weewx.com/docs/customizing.htm#extensions Finally, I would spend some time studying this weewx extension called weewx-nws. This was written by John Kline and he is essentially interfacing with the NWS API and writing the data into a separate database. This approach is similar to what you are trying to achieve. https://github.com/chaunceygardiner/weewx-nws remember, once you have this in a database, you can add it as another archive source and reference it in your skin with graphs. Here is the documentation that discusses that http://weewx.com/docs/customizing.htm#Using_multiple_bindings I hope this helps you along the way. Doug Jenkins largoweather.com On Friday, August 19, 2022 at 9:29:51 PM UTC-4 [email protected] wrote: > An independent db is quite easy to integrate if weewx doesn't already have > built-in ones that match up with what you're doing. There are a zillion > good examples of how to set up the db (the python code) and how to > reference it (the cheetah .tmpl templates). Very straightforward. > > -- 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/a4a53a35-7e2c-4888-874a-26323741f7bbn%40googlegroups.com.
