Min Max not updating

Post Reply
User avatar
jay_hoehn
Language Admin
Language Admin
Posts: 135
Joined: Sun Aug 20, 2017 1:45 pm
Location: Las Cruces, NM USA
Station model: Vantage Pro 2 Plus
Software: WeeWx
Contact:

Min Max not updating

Post by jay_hoehn » Mon Dec 18, 2017 2:11 pm

Well this seems to have been a problem with meteotemplateLive.txt being in the wrong format. Not sure how it happened but I deleted the file and had MeteoTemplate recreate it and all seems good. I will keep an eye on it.

I have WeeWx set up and running. But the Min and Max Temperature seems to be stuck. The current temp in the API works fine but the database uploads min and max are wrong. Where might I look to fix this?

Jay

http://www.jayswoodfurniture.com/meteo/indexDesktop.php

wx_jon
Advisor
Advisor
Posts: 52
Joined: Tue Aug 29, 2017 8:54 pm
Location: Seattle, WA, USA
Station model: Davis Vantage Pro 2 Plus
Software: weeWX
Contact:

Re: Min Max not updating

Post by wx_jon » Tue Dec 19, 2017 1:17 am

Do you mean that Tmax = Tmin = T? Does wind and wind gust work correctly? I compared your api caches to mine and they look perfectly normal, so I'd be inclined to think it's a server or Meteotemplate issue, not weeWX.

User avatar
jay_hoehn
Language Admin
Language Admin
Posts: 135
Joined: Sun Aug 20, 2017 1:45 pm
Location: Las Cruces, NM USA
Station model: Vantage Pro 2 Plus
Software: WeeWx
Contact:

Re: Min Max not updating

Post by jay_hoehn » Tue Dec 19, 2017 6:51 pm

Jon,
I'm not sure what caused the issue, but it looked like the meteotemplateLive.txt was being created wrong. I wish I would have saved a copy of that and looked at it more carefully. Once I deleted it off the server and had MeteoTemplate recreate it then all was fine. Maybe an issue with switching from Weather Display. Anyway all is working now.

Thanks,
Jay

User avatar
Luc
Developer
Developer
Posts: 168
Joined: Mon Aug 21, 2017 6:40 am
Location: Paramaribo, Suriname
Station model: Davis Pro 2 (2x)
Software: WeeWX
Contact:

Re: Min Max not updating

Post by Luc » Thu Dec 21, 2017 10:52 am

Hi Jay,

The weewx meteotemplate uploader has two options:

1. Send loop data
Current values are sent as soon as they are received from the weather station
No Tmin and Tmax are sent because these values are not provided by the weather station.

2. Send archive data each archive interval (default 5 minutes)
Weewx calculates Tmin and Tmax and sent these values to meteotemplate.

Hope this helps.

Luc
Image

User avatar
Luc
Developer
Developer
Posts: 168
Joined: Mon Aug 21, 2017 6:40 am
Location: Paramaribo, Suriname
Station model: Davis Pro 2 (2x)
Software: WeeWX
Contact:

Re: Min Max not updating

Post by Luc » Thu Dec 21, 2017 11:01 am

Hi Jay,

I just realized what happened.
There is a problem with the automatic deletion of old values in the life data. Will be fixed in the next release of MT.
So, when you changed from weewx archive data to weewx loop data, the old Tmin and Tmax values of the archive option stayed in the life data.
Deleting once the life file is the current work-around (which you already did).
Sorry that I didn't think of this before.

Cheers,
Luc
Image

User avatar
jay_hoehn
Language Admin
Language Admin
Posts: 135
Joined: Sun Aug 20, 2017 1:45 pm
Location: Las Cruces, NM USA
Station model: Vantage Pro 2 Plus
Software: WeeWx
Contact:

Re: Min Max not updating

Post by jay_hoehn » Thu Dec 21, 2017 1:23 pm

Luc,
We'll I'm glad that you were able to see the issue. It was a small problem that I wish I would have seen quickly instead of two days later. I am going back and correcting the entries in the database and when that is done everything will be ok. Thanks for looking at the issue. So far Weewx is working great with MeteoTemplate.
Thanks,
Jay

wx_jon
Advisor
Advisor
Posts: 52
Joined: Tue Aug 29, 2017 8:54 pm
Location: Seattle, WA, USA
Station model: Davis Vantage Pro 2 Plus
Software: weeWX
Contact:

Re: Min Max not updating

Post by wx_jon » Thu Dec 21, 2017 6:58 pm

Luc, that is interesting because I know that in my initial setup I did the same as Jay, switch from archive to loop, and never noticed a problem (I don't recall deleting Live.txt). Right now I have weeWX send both loop and archive, and I see no Tmin/Tmax in Live.txt...

User avatar
Luc
Developer
Developer
Posts: 168
Joined: Mon Aug 21, 2017 6:40 am
Location: Paramaribo, Suriname
Station model: Davis Pro 2 (2x)
Software: WeeWX
Contact:

Re: Min Max not updating

Post by Luc » Thu Dec 21, 2017 8:55 pm

Hi Jon,

Discarding old live data used to work in MT but got broken in a newer version.
It will be fixed in the next release.

You noticed no values of Tmin and Tmax in the live data, so I checked my system.
You are right and I think I'm getting (too) old. :-)
I always thought the weewx uploader for MT and also the weewx export utility for MT contained Tmin and Tmax, (in some versions of some utilities it used to be!) but looking at the current version I noticed they are not.

This leaves me totally puzzled! No hairs left on my head to pull either! Where are the Tmin and Tmax values of Jay's system come from?

Luc
Image

Post Reply