(click on flag to translate on your language)

Tasker - Update weather data

Send weather data (since 14.6.7 app version)

To send weather data to Notify app (and your smartwatch) send this intent
Action: com.mc.miband.setWeatherData (Notify for Mi Band and Notify for Amazfit apps) or com.mc.xiaomi.setWeatherData (Notify for Xiaomi app)
Extras (must be included all):
currentTemp - float - current temperature value
currentTempMin - float - minimum temperature value of current day
currentTempMax - float - maximum temperature value of current day
currentWeatherCode - integer - current weather condition code (see below)
currentWeatherDescr - string - current weather condition description (max 16 characters)
humidity - integer - today humidity
UV - integer - today UV
windSpeed - float - current wind speed
windDegrees - float - current wind degrees (0-360)
locationName - string - location name showed on watch (since 14.6.9 version)
day1.min - float - forecasted minimum temperature of +1 day
day1.max - float - forecasted maximum temperature of +1 day
day1.weatherCode - integer - forecasted weather condition code of +1 day
day1.weatherDescr - string - forecasted weather condition description of +1 day
day2.min - float - forecasted minimum temperature of +2 day
day2.max - float - forecasted maximum temperature of +2 day
day2.weatherCode - integer - forecasted weather condition code of +2 day
day2.weatherDescr - string - forecasted weather condition description of +2 day
day3.min - float - forecasted minimum temperature of +3 day
day3.max - float - forecasted maximum temperature of +3 day
day3.weatherCode - integer - forecasted weather condition code of +3 day
day3.weatherDescr - string - forecasted weather condition description of +3 day
day4.min - float - forecasted minimum temperature of +4 day
day4.max - float - forecasted maximum temperature of +4 day
day4.weatherCode - integer - forecasted weather condition code of +4 day
day4.weatherDescr - string - forecasted weather condition description of +4 day
day5.min - float - forecasted minimum temperature of +5 day
day5.max - float - forecasted maximum temperature of +5 day
day5.weatherCode - integer - forecasted weather condition code of +5 day
day5.weatherDescr - string - forecasted weather condition description of +5 day

Weather condition codes

CLEAR_SKY = 0;
SCATTERED_CLOUDS = 1;
CLOUDY = 2;
RAIN_WITH_SUN = 3;
THUNDERSTORM = 4;
HAIL = 5;
RAIN_AND_SNOW = 6;
LIGHT_RAIN = 7;
MEDIUM_RAIN = 8;
HEAVY_RAIN = 9;
EXTREME_RAIN = 10;
SUPER_EXTREME_RAIN = 11;
TORRENTIAL_RAIN = 12;
SNOW_AND_SUN = 13;
LIGHT_SNOW = 14;
MEDIUM_SNOW = 15;
HEAVY_SNOW = 16;
EXTREME_SNOW = 17;
MIST = 18;
DRIZZLE = 19;
WIND_AND_RAIN = 20;