Thanks Rich Yes both sets of data are on the same mqtt server. I agree with the single point of failure issue, but I think I have that anyway. I may look at some sort of parallel data logging maybe?
Graham - nice work :) Cheers Colin On Fri, 9 Apr 2021 at 13:10, Graham Eddy <[email protected]> wrote: > i am nearly finished doing something similar, except > (1) i position weewx as the manager of the wx hardware via > station-specific interface - weewx is the app that encapsulates the wx and > provides its data as mqtt to the world (unless the wx is natively mqtt). > e.g. the vantage driver is solid. > (2) i also position weewx as manager of an abstract weather station that > receives its observations from many sources - and i have chosen mqtt as the > common messaging medium i.e. lots of little IoT devices provide data to > weewx via mqtt. this is a different role from (1), and i know some weewx > users stream to data consolidaters that can provide this abstraction > instead. > (3) i wrote my own bi-directional mqtt gateway, for use in all my mqtt > apps (the paho client leaves a lot ’to the reader’ to implement in a > production environment so needs a whole software layer above it). most of > my former data services have been migrated to separate apps that talk to > weewx via mqtt. (some of my weewx data services manipulate data within > weewx so are not externalised.) i have a weewx data service built on the > bi-directional gateway as the interface between weewx and mqtt world. > > i expect there is a lot of overlap with the excellent MQTTSubscribe. but > my requirement was for a generic gateway outside of weewx, and the weewx > interface is just one of the apps built on it > > On 9 Apr 2021, at 5:47 am, Colin Larsen <[email protected]> wrote: > > I'm thinking about rewriting my current weather station code to solely use > MQTT to deliver data to WeeWX > > > -- > 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 on the web visit > https://groups.google.com/d/msgid/weewx-user/8BAB1C3E-DE3C-4D57-84FA-6B6AFBD0326C%40gmail.com > <https://groups.google.com/d/msgid/weewx-user/8BAB1C3E-DE3C-4D57-84FA-6B6AFBD0326C%40gmail.com?utm_medium=email&utm_source=footer> > . > -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/CACjxfUtuS7G_ijuvn1KWPHLfmCm9q7WSENL1830SZ6oOLbpydg%40mail.gmail.com.
