sitemap trojca label="Trójca" {
Frame label="Piwnica" icon="cellar" {
}
Frame label="Parter" icon="groundfloor" {
Group item=GF_MasterBedroom
Group item=GF_Kitchen
Group item=GF_Bathroom
Group item=GF_Corridor
Group item=GF_Porch
}
Frame {
Text label="Światło" icon="light" {
Default item=GF_MasterBedroom_Light label="Główna Sypialnia"
Default item=GF_Kitchen_Light label="Kuchnia"
Default item=GF_Bathroom_Light label="Łazienka"
Default item=GF_Corridor_Light label="Korytarz"
Default item=GF_Porch_Light label="Ganek"
}
Text label="Ogrzewanie" icon="heating" {
Default item=GF_MasterBedroom_Heating label="Główna Sypialnia"
Default item=GF_Kitchen_Heating label="Kuchnia"
Default item=GF_Bathroom_Heating label="Łazienka"
}
Text label="Temperatura" icon="temperature" {
Default item=GF_MasterBedroom_Temperature label="Główna Sypialnia"
Default item=GF_Kitchen_Temperature label="Kuchnia"
Default item=GF_Bathroom_Temperature label="Łazienka"
Default item=GF_Porch_Temperature label="Ganek"
}
Text label="Wilgotność" icon="humidity" {
Default item=GF_MasterBedroom_Humidity label="Główna Sypialnia"
Default item=GF_Kitchen_Humidity label="Kuchnia"
Default item=GF_Bathroom_Humidity label="Łazienka"
Default item=GF_Porch_Humidity label="Ganek"
}
Text label="Wiatrak" icon="fan_ceiling" {
Default item=GF_Kitchen_Fan label="Kuchnia"
Default item=GF_Bathroom_Fan label="Łazienka"
}
Text label="Czujnik ruchu" icon="motion" {
Default item=GF_Corridor_Motion label="Korytarz"
Default item=GF_Porch_Motion label="Ganek"
}
}
}
I items
Group Home "Trójca" <house> ["Building"]
Group C "Piwnica" <cellar> (Home) ["Basement"]
Group GF "Parter" <groundfloor> (Home) ["GroundFloor"]
Group GF_MasterBedroom "Główna Sypialnia" <bedroom_red> (Home, GF) ["Bedroom"]
Group GF_Kitchen "Kuchnia" <kitchen> (Home, GF) ["Kitchen"]
Group GF_Bathroom "Łazienka" <bath> (Home, GF) ["Bathroom"]
Group GF_Corridor "Korytarz" <corridor> (Home, GF) ["Corridor"]
Group GF_Porch "Ganek" <group> (Home, GF) ["Outside"]
Switch GF_MasterBedroom_Light "Światło" <light> (GF_MasterBedroom, gLight) ["Lighting", "Switchable"] {channel=""}
Number GF_MasterBedroom_Heating "Ogrzewanie" <heating> (GF_MasterBedroom, gHeating) ["HVAC"] {channel=""}
Number GF_MasterBedroom_Temperature "Temperatura" <temperature> (GF_MasterBedroom, gTemperature) ["Temperature"] {channel=""}
Number GF_MasterBedroom_Humidity "Wilgotność" <humidity> (GF_MasterBedroom, gHumidity) ["Humidity"] {channel=""}
Switch GF_Kitchen_Light "Światło" <light> (GF_Kitchen, gLight) ["Lighting", "Switchable"] {channel=""}
Switch GF_Kitchen_Fan "Wiatrak" <fan_ceiling> (GF_Kitchen, gFan) ["Switchable"] {channel=""}
Number GF_Kitchen_Heating "Ogrzewanie" <heating> (GF_Kitchen, gHeating) ["HVAC"] {channel=""}
Number GF_Kitchen_Temperature "Temperatura" <temperature> (GF_Kitchen, gTemperature) ["Temperature"] {channel=""}
Number GF_Kitchen_Humidity "Wilgotność" <humidity> (GF_Kitchen, gHumidity) ["Humidity"] {channel=""}
Switch GF_Bathroom_Light "Światło" <light> (GF_Bathroom, gLight) ["Lighting", "Switchable"] {channel=""}
Number GF_Bathroom_Heating "Ogrzewanie" <heating> (GF_Bathroom, gHeating) ["HVAC"] {channel=""}
Number GF_Bathroom_Temperature "Temperatura" <temperature> (GF_Bathroom, gTemperature) ["Temperature"] {channel=""}
Number GF_Bathroom_Humidity "Wilgotność" <humidity> (GF_Bathroom, gHumidity) ["Humidity"] {channel=""}
Switch GF_Bathroom_Fan "Wiatrak" <fan_ceiling> (GF_Bathroom, gFan) ["Switchable"] {channel=""}
Switch GF_Corridor_Light "Światło" <light> (GF_Corridor, gLight) ["Lighting", "Switchable"] {channel=""}
Switch GF_Corridor_Motion "Czujnik ruchu" <motion> (GF_Corridor, gMotion) ["MotionDetector", "Switchable"] {channel=""}
Switch GF_Porch_Light "Światło" <light> (GF_Porch, gLight) ["Lighting", "Switchable"] {channel=""}
Switch GF_Porch_Motion "Czujnik ruchu" <motion> (GF_Porch, gMotion) ["MotionDetector", "Switchable"] {channel=""}
Number GF_Porch_Temperature "Temperatura" <temperature> (GF_Porch, gTemperature) ["Temperature"] {channel=""}
Number GF_Porch_Humidity "Wilgotność" <humidity> (GF_Porch, gHumidity) ["Humidity"] {channel=""}
Group:Switch:OR(ON, OFF) gLight "Światło" <light> (Home) ["Lighting", "Switchable"]
Group:Number:AVG gHeating "Ogrzewanie" <heating> (Home) ["HVAC"]
Group:Number:AVG gTemperature "Temperatura" <temperature> (Home) ["Temperature"]
Group:Number:AVG gHumidity "Wilgotność" <humidity> (Home) ["Humidity"]
Group:Switch:OR(ON, OFF) gFan "Wiatrak" <fan_ceiling> (Home) ["Switchable"]
Group:Switch:OR(ON, OFF) gMotion "Czujnik ruchu" <motion> (Home) ["MotionDetector", "Switchable"]
// vim: syntax=Xtend
Stworzyłem to przy pomocy Home Buildera ale coś nie Hula
Nie Hula w sensie nie wyświetla się?
w katalogu /var/log/openhab2/
masz plik openhab.log - tam będziesz miał błędy wypisane.
jak coś to spakuj ten plik do zip i załącz do posta
Zrobiłem kolejną konfigurację problemem jest piwnica jako piętro (1 ramka). Zrobiłem kolejną konfigurację gdzie piwnica jest jako pomieszczenie na parterze i już działa.
super - teraz musisz dopisać channels, żeby ożyło, pozdrawiam