Graham, I am still very much in the ‘idea stage’, but would be happy to chat. In order to not hijack this thread we should probably start another thread or start a discussion over here, https://github.com/bellrichm/WeeWX-MQTTSubscribe/discussions - rich
On Tuesday, 2 March 2021 at 20:09:38 UTC-5 [email protected] wrote: > i’ve implemented my own bidirectional gateway and i also parked this issue > - next version’s problem, as i had no present need for it. but i am moving > my system (of which weewx is a component) to mqtt backbone (e.g. my alarms > weewx service moving to mqtt for more general use) so i would be very > interested to discuss this issue with you as it impacts all my mqtt apps. i > tracked the publish requests while they were in client-side queue but > didn’t persist them, wondering about true need and performance cost > > On 3 Mar 2021, at 11:14 am, [email protected] <[email protected]> wrote: > > In order to ensure data delivery, I’ve started investigating ‘persistent > sessions’ (clean_session = False) and a QOS = 2. I think on the subscribe > side it will be that easy - assuming the broker is configured correctly. On > the publish side, I’ll probably have to keep track of failed publishes and > have some type of retry - not sure I really want to deal with that... > > > -- 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/dcfb8062-22a6-43ae-b506-b4a1099adf81n%40googlegroups.com.
