Hi, Rich If you use MQTTSubscribe as a driver, there is an existing mechanism --- the configuration editor. Unfortunately, there is not much documentation on how to use it (well, actually, there is no documentation), but if you look at existing implementations (such as for the Vantage driver), you can probably figure it out.
There is no analog for services, although that would not be a bad idea. -tk On Sun, Nov 19, 2023 at 5:44 PM [email protected] <[email protected]> wrote: > In the 4.5 years since I released MQTTSubscribe, I’ve leaned so much about > WeeWX (and continue to be impressed with how well it is designed and > implemented). It is now time for me to update and improve the process of > configuring MQTTSubscribe. MQTTSubscribe can be a bit complex to configure > (that is a whole different discussion). When installing as a driver, one > can be prompted with configuration options. There is no such mechanism for > services (and skins), that I know of. > > I’m thinking of writing some code similar to wee_config (weectl/station) > to allow a person to configure MQTTSubscribeService the same way one can > configure MQTTSubscribeDriver. Has anyone else done something similar? Any > obvious pitfalls I’m missing? > > Thanks. rich > > -- > 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/b8cc63a0-e08d-4eb4-87e0-c7eca15850ecn%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-development/b8cc63a0-e08d-4eb4-87e0-c7eca15850ecn%40googlegroups.com?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 on the web visit https://groups.google.com/d/msgid/weewx-development/CAPq0zEC5j3YLLEXGw94m9RzwVstFfgU74pRDDY5MSv-DCgXsMQ%40mail.gmail.com.
