instead of writing a weewx service, could use mqtt as middleware - write a little daemon to read the NAS database periodically and publish to mqtt, use contributed mqtt driver service in weewx to subscribe to them. (note that the mqtt messages could be subscribed to by other apps too, great way of making your data available) ⊣GE⊢
> On 16 Jul 2025, at 12:15 pm, Graham Eddy <[email protected]> wrote: > > could write a simple weewx service that reads the NAS database and inserts > the values into either loop or archive weewx packet. add some columns to > weewx database to store the values and data_type definitions in > user/extensions.py. (if more than one NAS read between packets, have to > summarise them to insert into next passing weewx packet. values don’t have to > be inserted into every weewx packet) > ⊣GE⊢ > >> On 16 Jul 2025, at 11:54 am, 'Cameron D' via weewx-development >> <[email protected]> wrote: >> >> data from my PV Solar installation being saved on a MySQL (actually mariadb) >> database on a NAS within my network. It would be nice if I could, in real >> time, pull the values in a couple of fields from this database and save them >> in my weewx database for trend display > > > -- > 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] > <mailto:[email protected]>. > To view this discussion visit > https://groups.google.com/d/msgid/weewx-development/9E10C697-509F-45BF-B332-04951AE7FFDF%40geddy.au > > <https://groups.google.com/d/msgid/weewx-development/9E10C697-509F-45BF-B332-04951AE7FFDF%40geddy.au?utm_medium=email&utm_source=footer>. -- 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 visit https://groups.google.com/d/msgid/weewx-development/1C152E61-5EDD-4F34-98B4-D3E9D6989780%40geddy.au.
