I'm not 100% clear what you are trying to do here. I don't think that you can actually add data to the loop packet 'on the fly'. What you can certainly do is write a service that is triggered every time a loop packet is received and processed which either gets data from somewhere (?MQTT) and saves it in the weewx database or gets data from the database and does something with it (or both).
On Sunday, February 12, 2023 at 2:27:58 AM UTC-5 [email protected] wrote: > Hi everybody: > > I have created a new data ("hauteur") in the database to graph the sea > tide. It works like a charm. See at http://chevrerie-du-cap.com/meteo/ at > the bottom. > > Now I would like to send the tide level observation with MQTT, then I need > it in the loop packet. > > So, is there a way to augment loop packet with a data coming from database > ? > > It tried to extend the field map of the GW1000 driver, but it doesn't work > > [[field_map_extensions]] > hauteur = hauteur(data_binding=wx_binding) > > Thanks > > -- 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/9cb9b926-43fb-4fe1-98d4-072501027ff9n%40googlegroups.com.
