On Saturday, April 6, 2019 at 6:52:06 AM UTC-7, Ralph Underwood wrote: > > I have a small python program that subscribes to mqtt and writes a text > file. I then use the filepile as a service to get the data into WeeWx. The > "main" data comes from a Ultimeter station via the driver. > > > I have a similar setup that reads pi sensors and writes a JSON file that nginx serves up on a secondary pi. I wrote a weewx service that grabs that file and populates a custom weewx db, although the code is somewhat ugly under the hood to say the least.
A better example is the weatherflow UDP driver. That does a web get of a JSON formatted file, maps the elements to a database schema of your choosing, and populates the database. Very very stable. It would be a great example for how to grab a web endpoint and populate a custom db. -- 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.
