The weewx-Weather34 skin does exactly what you are looking for. It creates a cache of loop data to fill in gaps if the station emits partial loops. What is written to the real time file is always the latest data for each sensor type.
https://github.com/steepleian/weewx-Weather34 Ian On Mon, 10 Aug 2020 at 02:30, Chotechai Piyavongsiri <[email protected]> wrote: > .....So one would need to build a realtime file with the first full > observation write the realtime file, update the current observation with > the wind value, write another file and when it receives the next > observation update every other values. Looping light that would make a more > realtime file..... > > I'm looking forwards to this option too. Hope someone could have done this. > > On Thursday, 6 August 2020 at 03:46:56 UTC+7 Hyrules wrote: > >> I can confirm this as well I have the Weatherflow Tempest with the UDP >> driver as well as the cumulus realtime service. The station broadcast >> packet on a time base. This makes a few different packet types. Wind, Obs >> and Strikes as well as others. The only way to fix this is to bind the crt >> plugin to the archive packet instead of the loop. It will generate a full >> realtime.txt value without NULL values. The problem with this is that it's >> not really realtime for the wind. I might try myself at creating a service >> for a realtime tempest file. I have a few idea on how to do it. This is not >> a bad thing in itself because you get data values faster this way for the >> wind and realtime lightning strike events. >> >> Packet I see are the following : rapid_wind, hub_status, obs_st, >> device_status, strike_evt >> >> Wind packet is emitted every 3 seconds >> Hub status packet every 10 seconds >> Observations every 60 seconds. >> Strikes are on event >> >> So one would need to build a realtime file with the first full >> observation write the realtime file, update the current observation with >> the wind value, write another file and when it receives the next >> observation update every other values. Looping light that would make a more >> realtime file. >> > >> -- > 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/3588a9c4-7c8e-4ec3-ab9c-6291b188f1afn%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/3588a9c4-7c8e-4ec3-ab9c-6291b188f1afn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CADASSaTr-LWw41TfxDovtw9P3RZR1UE1p%3D9wyyAt%3DJPuH%3D%2Bp_Q%40mail.gmail.com.
