When you write your formula it is working on WFS simulator?
or are you see your formula instead of the data number?
Hello @masterboyhr,
This is my first message on the forum. I am looking for the exact same feature you described: (forecastDays(1, "TEM_LOW"))° / (forecastDays(1, "TEM_HIGH"))°
.
The issue is that WFS displays the tag texts instead of the actual temperatures, and the same happens on the watch.
I tried using the tags in several components, but the result is always the same. Could you tell me what I might be doing wrong?
Thank you very much by advance !
Donât use âsmartâ quotes.
I honestly cannot say why itâs not working for you.
I donât see any error.
When I enter the formula - it works.
(forecastDays(1, "TEM_LOW"))° / (forecastDays(1, "TEM_HIGH"))°
Do you have the latest version of WFS installed?
version 1.7.13
@masterboyhr You didnât actually enter the same formula! You used the correct quotes, whereas @Demokrit didnât.
Smart quotes really should be turned off in a software forum.
I must say Iâm confused by quotes, cannot say I understand the difference.
I was warned by Peter and Russell about the text formatting here so now I mark formulas as âblockquoteâ.
I donât trully understand the difference between smart, straight, curly, block⌠quotes.
Maybe itâs the best to enter formulas by hand, not to copy and paste.
blockquote is a good idea; that should prevent automatic conversion. Copy-and-paste from a blockquote should be safe â unless the paste mangles things.
Hello @Gondwana and @masterboyhr,
Thank you so much for your help! As it turns out, I had copied the code directly, which included the wrong quotation marks. I replaced them with the correct ones from my keyboard, and now everything works perfectly!
I really appreciate your guidanceâit saved me a lot of time. Thanks again for pointing me in the right direction!
Best regards,
Hello. Please help me. My goal is to make the dial show the weather for 6 days. How to make the temperature show the desired minus sign - itâs winter now and the temperature should be with a minus sign, but it shows how in summer. Or am I doing everything wrong? Thanks in advance.
Itâs an easy answer.
(forecastDays(1, âCOND_DAYâ))
does not show temperature.
It shows/returns weather conditions 0-15
- 0: UNKNOWN_VALUE
- 1: CLEAR
- 2: CLOUDY
- 3: FOG
- 4: HEAVY_RAIN
- 5: HEAVY_SNOW
- 6: RAIN
- 7: SNOW
- 8: SUNNY
- 9: THUNDERSTORM
- 10: SLEET
- 11: LIGHT_SNOW
- 12: LIGHT_RAIN
- 13: MIST
- 14: PARTLY_CLOUDY
- 15: WINDY
There is no tag for temperature tomorrow.
There are tags for min and max temperature tomorrow, use:
(forecastDays(1, âTEM_LOWâ))
(forecastDays(1, âTEM_HIGHâ))
OK, so when you use
(forecastDays(1, âCOND_DAYâ))
and you get the result (for example): 8
it doesnât mean it will be 8°
it means it will be SUNNY (8=SUNNY)
Thank you very much. Now I understand. âLow/Highâ It worked! It is a pity that so far there is no possibility in the program and it is impossible to display the âcurrent temperatureâ for the week ahead.
Iâm glad it helped.
When you think about it only min-max makes sense.
âcurrent temperatureâ is temp at the moment, âcurrent temperatureâ for tomorrow means nothing.
I mean, tomorrow when? 8 AM, noon or 7 PM, when would it be âcurrentâ?
Youâre right! I probably put it wrong. I do not know what it is properly called, maybe then the âWeather Forecastâ for the week))). Anyway, thank you very much again.
I also noticed that the information update is âLow/Highâ for a week occurs once a day after about midnight, and from exactly 00:00 to about 07:00 there is simply no information and just 0 is displayed. Of course, it really depends on the weather provider, and thereâs no way to fix it.
Yes, itâs been discussed here, itâs a bug in WFS. I hope it will be solved in the future.
Also the UV tag does not work, always shows 0 on the watch.
([WTHR_TEM] > 0? ââ: ââ)[WTHR_TEM]°([WTHR_TEM_UNIT] == 1? âCâ: âFâ)
I just want to say thank you, I have learned a lot from your very useful shares. Thank you very much and wish you good health.