OpenHab Configuration - sitemap

		sitemap test label="Menu"
 Frame label="Home" {
    Group item=gGF label="Parter" icon="groundfloor" 
    Group item=gFF label="Etaj"  icon="firstfloor"
    Group item=gA label="Pod" icon="attic"
    Group item=Outdoor label="Afara" icon="garden"
    Group item=All label="Everything" icon="house"
    Text item=Temperature_FF_Bed valuecolor=[>25="orange", >24="green", >15="orange", >10="orange", <=10="blue", <=4="red"]{
	Frame {
				Chart item=Temperature_FF_Bed period=d refresh=6000 
			}
    }
    Text item=Temperature_FF_Child_OUT valuecolor=[>25="orange", >24="green", >15="orange", >10="orange", <=10="blue", <=4="red"]{
	Frame {
				Chart item=Temperature_FF_Child_OUT period=d refresh=6000 
			}
    }
    Text item=Temperature_A_Attic     valuecolor=[>25="orange", >24="green", >15="orange", >10="orange", <=10="blue", <=4="red"]{
	Frame {
				Chart item=Temperature_A_Attic     period=d refresh=6000 
			}
    }

    


    Switch item=Light_FF_Bed_SW label="Lumina Dormitor"
 }


 Frame label="Online Data" {
    Text item=Date		
    Text item=Time
}

Frame label="Charts" {


    Frame label="Weather" {
		Text item=Weather_Temperature valuecolor=[Weather_LastUpdate=="Uninitialized"="lightgray",Weather_LastUpdate>90="lightgray",>25="orange",>15="green",>5="orange",<=5="blue"] {
			Frame {
				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" mappings=[0="Hour", 1="Day", 2="Week"]
				Chart item=Weather_Chart period=h refresh=6000 visibility=[Weather_Chart_Period==0, Weather_Chart_Period=="Uninitialized"]
				Chart item=Weather_Chart period=D refresh=30000 visibility=[Weather_Chart_Period==1]
				Chart item=Weather_Chart period=W refresh=30000 visibility=[Weather_Chart_Period==2]
			}
		}
	}
}