Since I have not found a need to use MQTT for anything else, learning to use it for this rather simple application seems like more effort than it deserves. As noted in another reply, I will probably add a couple of columns to my weewx database and grab the data at each archive interval directly from the energy monitoring hardware.
On Tuesday, July 15, 2025 at 10:22:28 PM UTC-4 Graham Eddy wrote: > 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]. > 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/4c4960e8-5a59-4c21-8901-c942af89388fn%40googlegroups.com.
