There are lots of ways to accomplish this.

1. You could modify the csv service extension
<https://github.com/weewx/weewx/wiki/csv> to save output in XML (instead of
csv).

2. You could modify the StdPrint service to output XML to a file instead of
printing to stdout.

-tk

On Sun, Nov 6, 2016 at 3:38 AM, Hiljo Lodewijk <[email protected]>
wrote:

> Hello everyone,
>
> I'm pretty new into weewx, but for what i see, it is an awsome piece of
> software! Thnx for the development so far :)
>
> But for now i'm having a small issue:
> What i see is that when i run weewx from te command line, the current
> received weather conditions are printed to STDOUT. This happens multiple
> times per minute. But when i look at the archive database, the conditions
> are only inserted every 5 minutes. I'd like to output the current
> conditions to an XML file, so i can get the most recent conditions (and not
> those 5 minutes old).
> But where to start? How can i get Weewx to not output the conditions to
> STDOUT but to an XML file?
>
> Thnx for a little help!
>
> --
> 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].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to