Page 1 of 1

[Current Block] no time when a parameter is missing

Posted: Sun Jan 14, 2018 10:06 am
by Clement
Hello,

I'm currently moving my weather website to meteotemplate.

It seems that there is a bug with the update time when a parameter is missing.
For example, if my anemometer is not reporting any data (transmission problem) the time is not displyed.
The other parameters are well updated.

https://www.meteomelin.be/template/

Regards,

Re: [Current Block] no time when a parameter is missing

Posted: Sun Jan 14, 2018 10:10 am
by iatros
yes, the same happened to me a few days ago when my wind station was also out of range: no display of the current time!

Re: [Current Block] no time when a parameter is missing

Posted: Sun Jan 14, 2018 10:25 am
by Jachym
the time is the very last thing loaded by the block, if there are errors in the previous part of the script it can happen

Re: [Current Block] no time when a parameter is missing

Posted: Sun Jan 14, 2018 10:31 am
by iatros
That's not a bad thing, so we see at least at once if a data is missing!

Re: [Current Block] no time when a parameter is missing

Posted: Sun Jan 14, 2018 12:18 pm
by Jachym
hmm no, it is a bad thing :D I will see if I can move the loading of the time before it checks the parameters

Re: [Current Block] no time when a parameter is missing

Posted: Mon Jan 15, 2018 12:07 am
by jay_hoehn
I will see if I can move the loading of the time before it checks the parameters
I would like that.

Jay