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'. I am also not sure 
why you would want to do *anything* with tide height every loop. It is 
self-evidently a rather slow-changing datum, and could easily be dealt with 
at archive frequency. What you can certainly do is write a service that is 
triggered every time an archive packet is generated 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/4d6ad33a-532d-496a-b0af-41baeb0938ebn%40googlegroups.com.

Reply via email to