-
Notifications
You must be signed in to change notification settings - Fork 0
Weather Forecast Widget
Igor Gladkov edited this page Jan 24, 2016
·
2 revisions
- Type
- weather-forecast
- Items
-
Type Element Item day0-condition Text String day0-temperature Text Number day0-temperature-high Text Number day0-temperature-low Text Number the same for all other days (day1, day2, and so on) - Default size
- 2x1
- Additional sizes
- 3x1
- Condition item expects commonId from weather binding. All values are supported.
- Default size supports 3-4 forecast days, while 3x1 size supports 5-6.
- Forecast day numbers start from 0 (today) up to 5 (in 5 days).
- Either temperature item or combination of temperature-high and temperature-low items is required for each forecast day.
Frame label="{widget:weather-forecast}" {
Text item=Weather_Forecast_Day0_Condition label="{item:day0-condition}"
Text item=Weather_Forecast_Day0_Temperature_High label="{item:day0-temperature-high}"
Text item=Weather_Forecast_Day0_Temperature_Low label="{item:day0-temperature-low}"
Text item=Weather_Forecast_Day1_Condition label="{item:day1-condition}"
Text item=Weather_Forecast_Day1_Temperature_High label="{item:day1-temperature-high}"
Text item=Weather_Forecast_Day1_Temperature_Low label="{item:day1-temperature-low}"
Text item=Weather_Forecast_Day2_Condition label="{item:day2-condition}"
Text item=Weather_Forecast_Day2_Temperature_High label="{item:day2-temperature-high}"
Text item=Weather_Forecast_Day2_Temperature_Low label="{item:day2-temperature-low}"
}
Frame label="{widget:weather-forecast}" {
Text item=Weather_Forecast_Day0_Condition label="{item:day0-condition}"
Text item=Weather_Forecast_Day0_Temperature_High label="{item:day0-temperature}"
Text item=Weather_Forecast_Day1_Condition label="{item:day1-condition}"
Text item=Weather_Forecast_Day1_Temperature_High label="{item:day1-temperature}"
Text item=Weather_Forecast_Day2_Condition label="{item:day2-condition}"
Text item=Weather_Forecast_Day2_Temperature_High label="{item:day2-temperature}"
Text item=Weather_Forecast_Day3_Condition label="{item:day3-condition}"
Text item=Weather_Forecast_Day3_Temperature_High label="{item:day3-temperature}"
}
Frame label="{widget:weather-forecast}" {
Text item=Weather_Forecast_Day0_Condition label="{item:day0-condition}"
Text item=Weather_Forecast_Day0_Temperature_High label="{item:day0-temperature-high}"
Text item=Weather_Forecast_Day0_Temperature_Low label="{item:day0-temperature-low}"
Text item=Weather_Forecast_Day1_Condition label="{item:day1-condition}"
Text item=Weather_Forecast_Day1_Temperature_High label="{item:day1-temperature-high}"
Text item=Weather_Forecast_Day1_Temperature_Low label="{item:day1-temperature-low}"
Text item=Weather_Forecast_Day2_Condition label="{item:day2-condition}"
Text item=Weather_Forecast_Day2_Temperature_High label="{item:day2-temperature-high}"
Text item=Weather_Forecast_Day2_Temperature_Low label="{item:day2-temperature-low}"
Text item=Weather_Forecast_Day3_Condition label="{item:day3-condition}"
Text item=Weather_Forecast_Day3_Temperature_High label="{item:day3-temperature-high}"
Text item=Weather_Forecast_Day3_Temperature_Low label="{item:day3-temperature-low}"
Text item=Weather_Forecast_Day4_Condition label="{item:day4-condition}"
Text item=Weather_Forecast_Day4_Temperature_High label="{item:day4-temperature-high}"
Text item=Weather_Forecast_Day4_Temperature_Low label="{item:day4-temperature-low}"
}
Frame label="{widget:weather-forecast}" {
Text item=Weather_Forecast_Day1_Condition label="{item:day1-condition}"
Text item=Weather_Forecast_Day1_Temperature_High label="{item:day1-temperature-high}"
Text item=Weather_Forecast_Day1_Temperature_Low label="{item:day1-temperature-low}"
Text item=Weather_Forecast_Day2_Condition label="{item:day2-condition}"
Text item=Weather_Forecast_Day2_Temperature_High label="{item:day2-temperature-high}"
Text item=Weather_Forecast_Day2_Temperature_Low label="{item:day2-temperature-low}"
Text item=Weather_Forecast_Day3_Condition label="{item:day3-condition}"
Text item=Weather_Forecast_Day3_Temperature_High label="{item:day3-temperature-high}"
Text item=Weather_Forecast_Day3_Temperature_Low label="{item:day3-temperature-low}"
Text item=Weather_Forecast_Day4_Condition label="{item:day4-condition}"
Text item=Weather_Forecast_Day4_Temperature_High label="{item:day4-temperature-high}"
Text item=Weather_Forecast_Day4_Temperature_Low label="{item:day4-temperature-low}"
Text item=Weather_Forecast_Day5_Condition label="{item:day5-condition}"
Text item=Weather_Forecast_Day5_Temperature_High label="{item:day5-temperature-high}"
Text item=Weather_Forecast_Day5_Temperature_Low label="{item:day5-temperature-low}"
}
Frame label="{widget:weather-forecast}" {
Text item=Weather_Forecast_Day0_Condition label="{item:day0-condition}"
Text item=Weather_Forecast_Day0_Temperature_High label="{item:day0-temperature}"
Text item=Weather_Forecast_Day1_Condition label="{item:day1-condition}"
Text item=Weather_Forecast_Day1_Temperature_High label="{item:day1-temperature}"
Text item=Weather_Forecast_Day2_Condition label="{item:day2-condition}"
Text item=Weather_Forecast_Day2_Temperature_High label="{item:day2-temperature}"
Text item=Weather_Forecast_Day3_Condition label="{item:day3-condition}"
Text item=Weather_Forecast_Day3_Temperature_High label="{item:day3-temperature}"
Text item=Weather_Forecast_Day4_Condition label="{item:day4-condition}"
Text item=Weather_Forecast_Day4_Temperature_High label="{item:day4-temperature}"
Text item=Weather_Forecast_Day5_Condition label="{item:day5-condition}"
Text item=Weather_Forecast_Day5_Temperature_High label="{item:day5-temperature}"
}
- Sitemaps
-
Widgets
- Binary Sensor
- Button
- Calendar
- Camera
- Clock
- Clock Square
- Door Sensor
- Energy
- Garage Door
- Gauge
- Gauge Group
- Light Switch
- Light Dimmer
- Light Color
- Light Color Advanced
- Light Temperature
- Linear Gauge Group
- Image
- Mode
- Motion Sensor
- Music
- Outlet
- Room
- Room View
- Scene
- Switch
- Temperature
- Text
- Voice Command
- Water Sensor
- Weather
- Weather Advanced
- Weather Forecast
- Weight
- Window Blinds
- Window Sensor
- Widget Sizes
- Widget Icons
- Widget Units
- Widget PIN Security