Hi there and a merry Christmas
First of all, I’m a complet newbee so be kind with my first level questions.
I started with my raspberry with version 1.7 and the configuration files worked.
Now I tryed to skip to 2.x, but I have some problems to display my home in the webpage. The Main menu is nearly ok, but all submenus want display and I can’t find why
Here are my files and thanks for any help.
Don’t hesitat to give your comments, they are all welcome. I have a to learn !
Best regards
Ossy
ossy.sitemap
sitemap ossy label=“Menu Principal”
{
Frame label=“Ossy” {
Group item=gFF label=“Premier Etage” icon=“firstfloor”
Group item=gGF label=“Rez de Chaussée” icon=“groundfloor”
Group item=gC label=“Dépendants” icon=“cellar”
Group item=Outdoor label=“Jardin” icon=“garden”
}
Frame label=“Météo/Astro” {
Group item=Weather label=“Météo” icon=“sun”
Group item=Astro label=“Astro” icon=“astro”
}
Frame label="Ossy" {
Text item=CurrentDate
Text label="Group Ossy" icon="firstfloor" {
Switch item=Lights mappings=[OFF="All Off"]
Group item=Heating
Group item=Windows
Text item=Temperature
}
Text label="Widget Overview" icon="chart" {
Frame label="Binary Widgets" {
Switch item=DemoSwitch label="Toggle Switch"
Switch item=DemoSwitch label="Button Switch" mappings=[ON="On"]
}
Frame label="Discrete Widgets" {
Selection item=Scene_General label="Scene Selection" mappings=[0=off, 1=TV, 2=Dinner, 3=Reading]
Switch item=Scene_General label="Scene" mappings=[1=TV, 2=Dinner, 3=Reading]
Setpoint item=Temperature_Setpoint minValue=16 maxValue=28 step=0.5
}
Frame label="Percent-based Widgets" {
Slider item=DimmedLight switchSupport
Colorpicker item=RGBLight icon="slider"
Switch item=DemoShutter
Slider item=DemoBlinds
}
Frame label="Map/Location" {
Mapview item=OssyLocation height=10
}
}
Text label="Multimedia" icon="video" {
Frame label="Radio Control" {
Selection item=Radio_Station mappings=[0=off, 1=HR3, 2=SWR3, 3=FFH]
Slider item=Volume
}
Frame label="Multimedia Widgets" {
Image url="http://localhost:8080/icon/splash-ipad-h.png" label="openHAB" {
Text label="http://www.openHAB.org" icon="icon"
}
Video url="http://demo.openhab.org/Hue.m4v"
Webview url="http://heise-online.mobi/" height=8
}
}
}
}
ossy.things
/* https://github.com/eclipse/smarthome/blob/20150525/addons/binding/org.eclipse.smarthome.binding.yahooweather/README.md /
yahooweather:weather:ossy [ location=“584165” ]
/ https://github.com/openhab/openhab2/tree/master/addons/binding/org.openhab.binding.astro */
astro:sun:home [ geolocation=“45.938170,5.65375”,interval=60 ]
astro:moon:home [ geolocation=“45.938170,5.65374”,interval=60 ]
ntp:ntp:ossy [ ntpServer=“ntp.univ-lyon1.fr”, refreshInterval=60, refreshNtp=30 ]
ossy.items
Group All
Group gFF “Premier Etage” [ “home-group” ]
Group gGF “Rez de Chausée” [ “home-group” ]
Group gC “Dépendants” [ “home-group” ]
Group Outdoor “Exterieur” [ “home-group” ]
Group Shutters
Group Weather “Météo” [ “home-group” ]
Group Astro “Astro” [ “home-group” ]
Group Status
Group GF_Living “Salon” (gGF) [ “home-group” ]
Group GF_Kitchen “Cuisine” (gGF)
Group GF_Toilet “Salle de bain” (gGF)
Group GF_Corridor “Montée escalier” (gGF)
Group GF_Office “Bureau” (gGF)
Group FF_Bath “Salle de bain” (gFF)
Group FF_WC “WC” (gFF)
Group FF_Child “Chambre Martin” (gFF)
Group FF_Bed “Chambre A&R” (gFF)
Group FF_Bed2 “Chambre C&R” (gFF)
Group FF_Bed3 “Chambre rose” (gFF)
Group FF_Corridor “Couloire” (gFF)
Group C_Cave “Cave” (gC)
Group C_Grange “Grange” (gC)
Group C_Ecurie “Ecurie” (gC)
/* active groups */
Group:Switch:OR(ON, OFF) Lights “Tous les lumieres [(%d)]” (All)
Group:Switch:OR(ON, OFF) Heating “Nbr Chauffage active [(%d)]” (All)
Group:Number:AVG Temperature “Temperature moy. pièce [%.1f °C]” (Status)
Group:Contact:OR(OPEN, CLOSED) Windows “Fenetres ouvertes [(%d)]” (All)
/* Lights */
Dimmer Light_GF_Living_Table “Table” (GF_Living, Lights)
Switch Light_GF_Living_Mur “Murale” (GF_Living, Lights)
Switch Light_GF_Corridor_Ceiling “Plafond” (GF_Corridor, Lights)
Switch Light_GF_Kitchen_Ceiling “Plafond” (GF_Kitchen, Lights)
Switch Light_GF_Kitchen_Table “Table” (GF_Kitchen, Lights)
Switch Light_GF_Kitchen_Meuble “Meuble” (GF_Kitchen, Lights)
Switch Light_GF_Kitchen_Mur “Murale” (GF_Kitchen, Lights)
Switch Light_GF_Corridor_Wardrobe “Escalier” (GF_Corridor, Lights)
Switch Light_GF_Toilet_Ceiling “Plafond” (GF_Toilet, Lights)
Switch Light_GF_Toilet_WC “WC” (GF_Toilet, Lights)
Switch Light_FF_Office_Ceiling “Plafond” (FF_Office, Lights)
Switch Light_FF_Office_Mur “Murale” (FF_Office, Lights)
Switch Light_FF_Bath_Ceiling “Plafond” (FF_Bath, Lights)
Switch Light_FF_WC_Ceiling “Plafond” (FF_WC, Lights)
Switch Light_FF_Corridor_Ceiling “Couloir” (FF_Corridor, Lights)
Switch Light_FF_Child_Ceiling “Plafond” (FF_Child, Lights)
Switch Light_FF_Bed_Ceiling “Plafond” (FF_Bed, Lights)
Switch Light_FF_Bed2_Ceiling “Plafond” (FF_Bed2, Lights)
Switch Light_FF_Bed3_Ceiling “Plafond” (FF_Bed3, Lights)
Switch Light_C_Ecurie_Ceiling “Plafond” (C_Ecurie, Lights)
Switch Light_C_Cave_Ceiling “Plafond” (C_Cave, Lights)
Switch Light_C_Grange_Ceiling “Mur centrale” (C_Grange, Lights)
Switch Light_C_Grange_Workshop “Etablie” (C_Grange, Lights)
Switch Light_Outdoor_Garage “Portail” (Outdoor, Lights)
Switch Light_Outdoor_Terrace “Terrace” (Outdoor, Lights)
Switch Light_Outdoor_Frontdoor “Porte d’entrée” (Outdoor, Lights)
/* Heating */
Switch Heating_GF_Toilet “WC” (GF_Toilet, Heating)
Switch Heating_GF_Living “vers Cheminée” (GF_Living, Heating)
Switch Heating_GF_Living2 “vers Meuble” (GF_Living, Heating)
Switch Heating_GF_Kitchen “Cuisine” (GF_Kitchen, Heating)
Switch Heating_GF_Office “Bureau” (GF_Office, Heating)
Switch Heating_FF_Bath “Salle de bain” (FF_Bath, Heating)
Switch Heating_FF_WC “WC” (FF_WC, Heating)
Switch Heating_FF_Child “Chambre Martin” (FF_Child, Heating)
Switch Heating_FF_Bed “Chambre A&R” (FF_Bed, Heating)
Switch Heating_FF_Bed2 “Chambre C&R” (FF_Bed2, Heating)
Switch Heating_FF_Bed3 “Chambre rose” (FF_Bed3, Heating)
/* Rollershutters */
Switch Shutter_all (Shutters)
Rollershutter Shutter_GF_Toilet “WC” (GF_Toilet, Shutters)
Rollershutter Shutter_GF_Kitchen “Cuisine” (GF_Kitchen, Shutters)
Rollershutter Shutter_GF_Living “Salon” (GF_Living, Shutters)
Rollershutter Shutter_FF_Bed “Chambre A&R” (FF_Bed, Shutters)
Rollershutter Shutter_FF_Bath “Salle de bain” (FF_Bath, Shutters)
Rollershutter Shutter_GF_Office_Window “Fenetre Bureau” (GF_Office, Shutters)
Rollershutter Shutter_GF_Office_Door “Porte Bureau” (GF_Office, Shutters)
/* Indoor Temperatures */
Number Temperature_GF_Corridor “Temperature [%.1f °C]” (Temperature, GF_Corridor)
Number Temperature_GF_Toilet “Temperature [%.1f °C]” (Temperature, GF_Toilet)
Number Temperature_GF_Living “Temperature [%.1f °C]” < temperature> (Temperature, GF_Living)
Number Temperature_GF_Office “Temperature [%.1f °C]” < temperature> (Temperature, GF_Office)
Number Temperature_FF_Bath “Temperature [%.1f °C]” < temperature> (Temperature, FF_Bath)
Number Temperature_FF_Child “Temperature [%.1f °C]” < temperature> (Temperature, FF_Child)
Number Temperature_FF_Bed “Temperature [%.1f °C]” < temperature> (Temperature, FF_Bed)
/* Windows */
Contact Window_GF_Frontdoor “Porte d’entrée [MAP(fr.map):%s]” (GF_Kitchen, Windows)
Contact Window_GF_Kitchen “Cuisine [MAP(fr.map):%s]” (GF_Kitchen, Windows)
Contact Window_GF_Living “Porte de Terrace [MAP(fr.map):%s]” (GF_Living, Windows)
Contact Window_GF_Living2 “Fenetre cheminee [MAP(fr.map):%s]” (GF_Living, Windows)
Contact Window_GF_Living3 “Fenetre meuble [MAP(fr.map):%s]” (GF_Living, Windows)
Contact Window_GF_Office “Fenetre bureau [MAP(fr.map):%s]” (GF_Office, Windows)
Contact Window_FF_Bed “Chambre A&R [MAP(fr.map):%s]” (FF_Bed, Windows)
Contact Window_FF_Child “Chambre Martin [MAP(fr.map):%s]” (FF_Child, Windows)
Contact Window_FF_Bed2 “Chambre C&R [MAP(fr.map):%s]” (FF_Bed2, Windows)
Contact Window_FF_Bed3 “Chambre rose [MAP(fr.map):%s]” (FF_Bed3, Windows)
Contact Garage_Door “Porte de Grange [MAP(fr.map):%s]” (Outdoor, Windows)
/*Group Weather_Chart (Weather) */
Number Weather_Temperature “Temperature exterieure [%.1f °C]” (Weather) { channel=“yahooweather:weather:ossy:temperature” }
Number Weather_Humidity “Humidité exterieure [%.1f %%]” (Weather) { channel=“yahooweather:weather:ossy:humidity” }
Number Weather_Pressure “Pressure exterieure [%.1f hPa]” (Weather) { channel=“yahooweather:weather:ossy:pressure” }
Number Weather_Rain “Rain [%.2f mm/h]” (Weather) { channel=“yahooweather:weather:ossy:rain” }
Number Weather_UV_Index “UV Index” (Weather) { channel=“yahooweather:weather:ossy:uvIndex” }
DateTime LastUpdate “Last update [%1$td.%1$tm.%1$tY %1$tH:%1$tM]” (Weather) { channel=“yahooweather:weather:ossy:lastUpdate” }
/* DateTime Weather_LastUpdate “Dern. MAJ [%1$ta %1$tR]” */
/* Astro */
DateTime Astro_Sunrise_Time “Sunrise [%1$tH:%1$tM]” (Astro) { channel=“astro:sun:home:rise#start” }
DateTime Astro_Sunset_Time “Sunset [%1$tH:%1$tM]” (Astro) { channel=“astro:sun:home:set#start” }
Number Astro_Azimuth “Azimuth” (Astro) { channel=“astro:sun:home:position#azimuth” }
Number Astro_Elevation “Elevation” (Astro) { channel=“astro:sun:home:position#elevation” }
String Astro_MoonPhase “MoonPhase” (Astro) { channel=“astro:moon:home:phase#name” }
/* NTP binding demo item */
DateTime Date “Date [%1$tA, %1$td.%1$tm.%1$tY]” { channel=“ntp:ntp:ossy:dateTime” }
/* Real items */
Switch Wemo_GF_Kitchen “Poêle” (GF_Kitchen) {wemo=“PC-WM01”}
Number Temperature_GF_Kitchen “Temperature [%.1f °C]” (GF_Kitchen, Temperature) {zwave=“2:0:command=sensor_multilevel,sensor_type=1,sensor_scale=0”}
Number Humidity_GF_Kitchen “Humidity [%.0f %%]” (GF_Kitchen, Humidity) {zwave=“2:0:command=sensor_multilevel,sensor_type=5”}
Number Luminance_GF_Kitchen “Luminance [%.0f Lux]” (GF_Kitchen) {zwave=“2:0:command=sensor_multilevel,sensor_type=3”}
Number Ultraviolet_GF_Kitchen “Ultraviolet [%.0f]” (GF_Kitchen) {zwave=“2:0:command=sensor_multilevel,sensor_type=27”}
Contact Motion_GF_Kitchen “Motion [%s]” (GF_Kitchen, Motion) {zwave=“2:0:command=sensor_binary,respond_to_basic=true”}
Number Battery_GF_Kitchen “Battery [%s %%]” (GF_Kitchen) {zwave=“2:0:command=battery”}
Number Vibation_GF_Kitchen “Vibration [%.0f]” (GF_Kitchen) {zwave=“2:0:command=sensor_multilevel,sensor_type=6”}
/* Demo items */
Switch DemoSwitch “Switch”
Dimmer DimmedLight "Dimmer [%d %%]
Color RGBLight “RGB Light”
Rollershutter DemoShutter “Roller Shutter”
Dimmer DemoBlinds “Blinds [%d %%]”
Number Scene_General “Scene”
Number Radio_Station “Radio”
Dimmer Volume “Volume [%.1f %%]”
Number Temperature_Setpoint “Temperature [%.1f °C]”
String UnknownDevices “Unknown Devices in Range: [%s]” { bluetooth="?" }
Number NoOfPairedDevices “Paired Devices in Range: [%d]” { bluetooth="!" }
/* Locations */
Location OssyLocation “Champagne-en-Valromey”