> > Yes, but you need a timestamp in the message so that
In my dealings with MQTT I've been exclusively dealing with JSON encoded strings, so a datetime is just another field in the message, did you do something different? On Thu, 9 Jul 2026 at 00:29, Greg Troxel <[email protected]> wrote: > 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/CAGTinV4kONGkUe1BuRwB7_5EYsWGgLoW%3DB8sN_4GS5uLT7LOmQ%40mail.gmail.com.
