not quite what is being asked re ‘extract data for the last 5 minutes’…
given weewx usually generates data reports each 5 mins, presumably you just 
want a file generated with the data you specifically want.
i create a json file with basic wx info each 5 mins as a javascript-friendly 
api - it is just a template in a skin
⊣GE⊢

> On 27 Aug 2023, at 12:18 am, Per Weisteen <[email protected]> wrote:
> 
> Hi, I'm running weewx on Raspberry Pi at my summer cabin 
> <https://www.wenchebo.no/Weather/index.html> and would like to know how to 
> extract data on temperature, pressure, etc for use in another system. Is 
> there a command I could run for extracting data for the last 5 minutes? The 
> RPi has sshd enabled and I can ssh into it and run commands. Could I extract 
> data using wee utilities or should I use SQLite command directly?  
> 
> I'm planning to display the data as text in one corner of short videos I'm 
> getting from my weather camera (Link to camera on Windy 
> <https://on.windy.com/87oan>) using ffmpeg to add text to the video. 
> 
> Any suggestions would be most welcome.
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/23526fa7-48cb-4f3c-b28a-0090dc41eefbn%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/weewx-user/23526fa7-48cb-4f3c-b28a-0090dc41eefbn%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/14CA595F-9A3E-4239-807A-E083866AE710%40geddy.au.

Reply via email to