John Smith <[email protected]> writes:

>>
>> Perhaps, but it gets complicated.
>
> or if any variable was different enough than the last report.
>
>
> This of course made easier by using multiple topics and setting retain on
> published messages.
>
> Bonus points for parsing the retained messages on startup.

Yes, but you need a timestamp in the message so that

  weewx goes offline (down, network)

  MQTT subscriber restarts

doesn't lead to logging (now, old_data).  And I don't think anybody does
this.  That's why I don't set retain.

-- 
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 visit 
https://groups.google.com/d/msgid/weewx-user/rmizf01zh9d.fsf%40s1.lexort.com.

Reply via email to