Page 1 of 1

dynamicText problem with offline station

Posted: Mon Dec 11, 2017 10:12 am
by adelrosso
dynamicText block display temperature warning (and maybe other warnings) if meteo station is offline. Tested with netatmo and temp warning set to -1 °C.

Re: dynamicText problem with offline station

Posted: Mon Dec 11, 2017 1:08 pm
by MonyMony
I will add that I had the same issue last week when I went offline for a few days (hard drive died). Dynamic Text was reporting temperature and barometer warnings.

Re: dynamicText problem with offline station

Posted: Mon Dec 11, 2017 9:17 pm
by Jachym
There should be G instead of W, I agree, but that does not explain the odd behavior with the other parameters. This block for some reason is malfunctioning right from its release. I went through the code several times, but it just all seems right, guess I will just remove it.

Re: dynamicText problem

Posted: Tue Dec 12, 2017 6:19 am
by MrData
I was sure hoping that Dynamic Text worked like this.....

0-12;;;Good Morning! It's %timeOfDay (GMT-6) -- the current temperature is %T but it feels like %A. Precipitation today is %R. Sunrise today will be at %sunrise.
12-18;;;Good Afternoon! It's %timeOfDay (GMT-6) -- the current temperature is %T but it feels like %A. Precipitation today is %R. Sunset today will be at %sunset.
18-0;;;Good Evening! It's %timeOfDay (GMT-6) -- the current temperature is %T but it feels like %A. Precipitation today is %R.

Is this possible?

Re: dynamicText problem with offline station

Posted: Tue Dec 12, 2017 10:50 am
by Jachym
Thats how it was supposed to work, but even if the G is corrected it sometimes shows nonsense, no clue why, the code looks ok to me

Re: dynamicText problem with offline station

Posted: Sat Jan 13, 2018 8:11 pm
by MrData
It seems to work in some instances. Depending on where I put the code in the setup page.
Greeting works in the time of day section, Temp works in the Hi/Lo temp section and precip works in the Precip section.
Image

Re: dynamicText problem with offline station

Posted: Sat Jan 13, 2018 8:16 pm
by Jachym
:roll: :roll: :roll: