yes, you are right. But I have no real clue how to map Vantage icon values to WD-Live values. Anybody out there who is volunteering to make the transfer matrix?
WD-Live expects this:
Code: Select all
0= sunny
1= clear night
2= cloudy
3= cloudy2
4= cloudy night
5= dry
6= fog
7= haze
8= heavy rain
9= mainly fine
10=mist
11=night fog
12=night heavy rain
13=night overcast
14=night rain
15=night showers
16=night snow
17=night thunder
18=overcast
19=partly cloudy
20=rain
21=rain2
22=showers2
23=sleet
24=sleet showers
25=snow
26=snowmelt
27=snowshowers2
28=sunny
29=thundershowers
30=thundershowers2
31=thunderstorms
32=tornado
33=windy
34=stopped raining
35=windy rain
And the vantage Icon codes are like this:
Code: Select all
Forecast Icons field 89 in LOOP packet are bit-coded:
Forecast Icons, Bit #
Rain, 0
Cloud, 1
Partly Cloudy, 2
Sun, 3
Snow, 4
Examples:
decimal, hex, meaning
6, 0x06, Partially Cloudy
2, 0x02, Mostly Cloudy
3, 0x03, Mostly Cloudy, Rain within 12 hours
18, 0x12, Mostly Cloudy, Snow within 12 hours
19, 0x13, Mostly Cloudy, Rain or Snow within 12 hours
7, 0x07, Partially Cloudy, Rain within 12 hours
22, 0x16, Partially Cloudy, Snow within 12 hours
23, 0x17, Partially Cloudy, Rain or Snow within 12 hours
If someone defines a transformation list to map a Vantage icon (0-31) code to a WD-live current code (0-35), I will implement this into next Meteohub version.