I am trying to show the Current, Min and Max temperatures on a sitemap and chart. Yet for some reason, the Min value is always the same as the Max value and the Min value is also not appearing in my chart. In my chart, the Min value should be a green line, yet is missing.
The items look like this
Group gWeather (All)
Number Weather_Chart_Period "Weather Temps"
Number Weather_Temperature "Temperature [%.2f °F]" (gWeather) {weather="locationId=home, type=temperature, property=current, unit=fahrenheit"}
Number Weather_Temp_Min "Temperature min [%.2f °F]" (gWeather) {weather="locationId=home, type=temperature, property=min, unit=fahrenheit"}
Number Weather_Temp_Max "Temperature max [%.2f °F]" (gWeather) {weather="locationId=home, type=temperature, property=max, unit=fahrenheit"}
And the sitemap has:
Frame label="Weather" {
Text item=Weather_Temperature valuecolor=[Weather_LastUpdate=="NULL"="lightgray",Weather_LastUpdate>90="lightgray",>25="orange",>15="green",>5="orange",<=5="blue"] {
Frame {
Text item=Weather_Temp_Max valuecolor=[>25="orange",>15="green",>5="orange",<=5="blue"]
Text item=Weather_Temp_Min valuecolor=[>25="orange",>15="green",>5="orange",<=5="blue"]
Text item=Weather_LastUpdate visibility=[Weather_LastUpdate>30] valuecolor=[Weather_LastUpdate>120="orange", Weather_LastUpdate>300="red"]
}
Frame {
Switch item=Weather_Chart_Period label="Chart Period" icon="chart" mappings=[0="Hour", 1="Day", 2="Week"]
Chart item=gWeather period=h refresh=600 visibility=[Weather_Chart_Period==0]
Chart item=gWeather period=D refresh=900 visibility=[Weather_Chart_Period==1, Weather_Chart_Period=="NULL"]
Chart item=gWeather period=W refresh=3600 visibility=[Weather_Chart_Period==2]
}
}
}