Thanks Tom. I was reading the source and saw the binding reference, but I
didn't see it say "loop" specifically so I never tried it. I'm to assume
anything that's not "archive" would have worked?
if binding == 'archive':
self.bind(weewx.NEW_ARCHIVE_RECORD, self.new_archive_record)
else:
self.bind(weewx.NEW_LOOP_PACKET, self.new_loop_packet)
On Tuesday, March 27, 2018 at 7:38:52 PM UTC-4, Tom Keffer wrote:
>
> Matthew's "MQTT" extension can do this by setting binding = 'loop'. For
> example,
>
> [StdRestful]
> [[MQTT]]
> server_url = mqtt://username:password@localhost:1883/
> topic = weather
> unit_system = METRIC
> binding = loop
>
> -tk
>
> On Tue, Mar 27, 2018 at 2:04 PM, Pat <[email protected] <javascript:>>
> wrote:
>
>> I'm looking to see if it's possible to have "rapid fire" type updates
>> with mqtt and have it publish the mqtt /loop topic on every weewx loop?
>>
>>
>> --
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
--
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].
For more options, visit https://groups.google.com/d/optout.