Weewx/Eccowitt lg.txt and vantage.txt

My Davis broke, and the cost of replacing is just … well a bit much. I also had issues with WD, although a fantastic app I decided to try weewx. Still learning.

To keep the forecasts with wxsim going I had to create a tmpl to output the lg.txt and vantage.txt files the same way as WD.
Here they are. They might help. Remember I am not a coder, so there might be better ways of doing this… this just works for me.
I have it in /usr/share/weewx/usr
Update your weewx.conf [engine] archive_services to include “user.custom_reports.loader”
The files are written to “/var/www/html/weewx/logfiles” (lines 133 and 209)

Make sure they are available for WXMATE.

custom_reports.zip (3.5 KB)

1 Like

Thanks for this, I’m just starting with WXSim and use WeeWX, I don’t have WD so this is very useful. The rain.json.tmpl isn’t in the zip file, can you upload it? Thanks!

Rory

Unfortunately I can’t get the template to run, I get type errors when processing the template. This outputs a json file, does WXSim not require text files, lg.txt and vantage.txt?

■■■■■■ you are correct, my mistake.
custom_reports.zip (3.5 KB)
Here is the correct file,
This file goes in /usr/share/weewx/user

Then update your weewx.conf file to include in archive_services user.custom_reports.loader

Let me know how you go…

H

1 Like