UV Indicator

It is cooling off here so this looks about right to me .
See a test I made that shows the seconds count since the last weather data update . I can force a sync by using a Two Button Reboot . You should show us your number to text conversion . What I mean is which number have you equated with Moderate .
I don’t think the UV numbers get High until they are Dangerous .
.



.
uv index test.wfs.zip (190.0 KB)

The values I entered are: under the value 4 is “low” index then from 4 to 8 I put “moderate” and from 8 to 11 it is set to “high” testing via watchface studio it works well, but then in full Day, when the value changes from moderate to High, on the weather app it works, but then on the smartwatch it remains on “moderate” I tried both this code : (([WTHR_UV_INDEX]<=4)?“BASSO”:“”)

((([WTHR_UV_INDEX]>4)*([WTHR_UV_INDEX]<=7))?“MODERATO”:“”)

((([WTHR_UV_INDEX]>=8)*([WTHR_UV_INDEX]<=11))?“ALTO”:“”)

Che questo:

(([WTHR_UV_INDEX]<=4)?“BASSO”:“”)

((([WTHR_UV_INDEX]>4)*([WTHR_UV_INDEX]<=8))?“MODERATO”:“”)

(([WTHR_UV_INDEX]>8)?“ALTO”:“”)

1 Like

I have seen scales like this often . I would not think 7 is moderate . I think you need to rescale your Descriptions of the condition . Remember . These things are not updated by the Minute and vary from station to station . It the rest of your weather Data OK ?
.

1 Like

Thanks for showing me this scale, I’ll try to reformulate everything and do the test tomorrow, since it’s already evening here… the rest of the data doesn’t give any problems, I’ll do the update manually Whenever I need it…

2 Likes

Yes . Download a few scales . they all vary a bit . Obviously you have to chose the scale that makes sense to you . Let us know how you get on .


watch face studio, the simulation works, tomorrow I’ll test it on the smartwatch

2 Likes

Yeah . That looks better . Well done .

I am finding under test the UV [WTHR_UV_INDEX] reading is remarkably bad . I can get it to update by going to the weather often and swapping faces . I don’t know what [WTHR_LAST_UPDATED] is supposed to do . It seems to be set when the Watch wakes up , most times . It does not reflect the update of the weather data .
I am going to try [WTHR_IS_AVAIL] I have not looked there before .

ok, I’m trying with the weather channel reference scale, it seems to work well, but the data update seems to lose, that is, it doesn’t always update…

1 Like

Yes I am finding it is not behaving as expected . May be on the next update it will be better .

I honestly hoped that they would have fixed the UV problem in this update and possibly added humidity and wind, but unfortunately we will obviously have to wait a little longer

1 Like

With this formulation, the UV index seems to work well, I’m testing it today, since today is a day of only clouds and rain, so the UV value changes during the day, and so far It seems to correspond well between smartwatch and smartphone

(([WTHR_UV_INDEX]<=2)?“Low”:“”)

((([WTHR_UV_INDEX]>3)*([WTHR_UV_INDEX]<=5))?“Moderate “:””)

(((WTHR_UV_INDEX]>=6)*([WTHR_UV_INDEX]<=7))?“High”:“”)

((([WTHR_UV_INDEX]>=8)*([WTHR_UV_INDEX]<=10))?“Very high”:“”)

(([WTHR_UV_INDEX]>=11)?“extreme”:“”)

3 Likes

Great Work . Looks perfect to me . Thanks for sharing the Formulas .

1 Like