Page 1 of 1

Station data

Posted: Tue Oct 10, 2017 4:01 pm
by Didiersm
I have an issue with this block.
Temperatures Min and Max are false! See the picture
Same issue for 24h, today, 1h, yesterday
It semmes to be ok for the others (months, year...etc)

However the now temperature is correct

Image

Didier

Re: Station data

Posted: Tue Oct 10, 2017 4:19 pm
by Jachym
The only explanation I have for this is that for some reason data is not being saved to your db, but I would need to see what exactly is saved in the database

Re: Station data

Posted: Tue Oct 10, 2017 5:11 pm
by Didiersm
Image

it is enought?

Re: Station data

Posted: Tue Oct 10, 2017 5:15 pm
by Jachym
Hi,
look at the Tmin and Tmax fields, there is a problem. The block works ok, it uses the data in the db. It is the data in the db that is not correct. How do you update your template? Which SW?

Re: Station data

Posted: Tue Oct 10, 2017 6:33 pm
by Didiersm
I'm working with Cumulus and a WMR200
Since a few days I have a Nuc switch on all the time.

The data send today to Wunderground are correct and the min/max too
High Low Average
Température 24.3 ° C 7.4 ° C 15.8 ° C

Re: Station data

Posted: Tue Oct 10, 2017 7:16 pm
by Jachym
OK, but the problem is that when I looked at the raw data you are sending to the template, you are sending Tmax and Tmin as 21, do you have CRON job set for the realtime.txt?

Re: Station data

Posted: Tue Oct 10, 2017 7:48 pm
by Didiersm
Yes the Cron is ok and I use the url you gave us in the page mysite/template/update/updateSetup.php, which is

mysite/template/update/update.php?password=xxxxxxx
This cron have no errors

Re: Station data

Posted: Tue Oct 10, 2017 7:57 pm
by Jachym
OK, please post link to your realtime.txt

Re: Station data

Posted: Tue Oct 10, 2017 8:02 pm
by Didiersm

Re: Station data

Posted: Tue Oct 10, 2017 8:17 pm
by Jachym
This is really strange, did you make any modifications to either api.php or update/update.php? Because it looks like the template is for some reason using TMX and TMN as extra sensors

Re: Station data

Posted: Tue Oct 10, 2017 8:20 pm
by Didiersm
no I'm not good enougth for that!

Re: Station data

Posted: Tue Oct 10, 2017 9:14 pm
by Jachym
OK, then try this:

delete:
cache/apiCache.txt
meteotemplateLive.txt

And see if it resets

Re: Station data

Posted: Wed Oct 11, 2017 1:22 pm
by Didiersm
Done!

It seems to be fixed (for TMin it's OK, still waiting for the TMax), and hope it is :D
Well done Jachym, but beyond these solution, do you have an idea from where could come these issue?
once again thank you Jachym for your quick answer

Re: Station data

Posted: Wed Oct 11, 2017 3:10 pm
by Jachym
Most likely a temporary problem with server time, which prevented the cache from being deleted