Then it's easy. You have all the reporting machinery at your disposal. For example, a very simple template containing:
$current.dateTime $current.outTemp $current.outHumidity $current.barometer would create a file with the current time, temperature, humidity, and barometer. See the Customizing Guide <http://weewx.com/docs/customizing.htm> for details on creating reports. Although, really, someone should create an extension with a super simple "skin" like this. Good project for a student. -tk On Sat, Feb 16, 2019 at 8:46 AM Federico <[email protected]> wrote: > The second one, we need to create a txt file every archive record. > > > Il giorno sabato 16 febbraio 2019 17:38:56 UTC+1, Thomas Keffer ha scritto: >> >> Depends on whether you want to create the text file with every LOOP >> packet, or every archive record. See this >> <http://weewx.com/docs/customizing.htm#_____________LOOP_packets_vs._archive_records_> >> for the difference. >> >> If you want to create a text file with every new LOOP packet then, yes, >> you would have to change the source code of the service to change the >> output. This is because, with the present architecture, services do not >> have access to the report generator machinery. >> >> However, if you want to create a text file with every archive record, >> then that's what the reporting machinery is for. The user need only change >> a configuration file, or a template, not code. >> >> Which did you want to do? >> >> >> >> >> On Sat, Feb 16, 2019 at 8:32 AM Federico <[email protected]> wrote: >> >>> hi Thomas, >>> thank you for the quick reply. for example, using crt, you need to >>> modify the source code to extract humidity (max and min) and dew Point (max >>> and min). Another problem we encountered is that we need to write a new >>> parser for the data (the previous parser was structured on Weather display >>> output). My idea was an extension similar to crt that allow the user to >>> select the output format (and the output data) without code changes. >>> >>> Thank you >>> >>> >>> Il giorno sabato 16 febbraio 2019 17:11:11 UTC+1, Thomas Keffer ha >>> scritto: >>>> >>>> All of the extensions that I am aware of are listed on the Wiki >>>> <https://github.com/weewx/weewx/wiki>. >>>> >>>> It's not hard to customize them. What cannot be changed on crt and csv? >>>> >>>> -tk >>>> >>>> On Sat, Feb 16, 2019 at 7:42 AM Federico <[email protected]> >>>> wrote: >>>> >>>>> Hi everyone, >>>>> >>>>> Thank you for your great effort in the development of weewx and >>>>> congratulations on the product. Since we discovered weewx, we use only >>>>> your >>>>> software to read weather station data. However, we would need to create a >>>>> customized output text file. By checking on the site, the only extensions >>>>> that can help us are crt and csv, but the output format can not be changed >>>>> as desired. Do any of you know of any additional extensions that allow us >>>>> to create a custom output file? >>>>> >>>>> thank you >>>>> >>>>> -- >>>>> 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. >>> >> -- > 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.
