Hi all,
I’m a newbie and created already my first sitemap, but could not create a hierarchy as in the demo sitemap in the Android app.
Originally I had 3 floors and an outside area but recuced it to 2 floors for keeping it simple for tests.
I wanted a nested hierarchy where I first can click on the floor and then get the rooms shown. Then click on a room and get the items like switches, rollershutter shown.
My sitemap file:
sitemap test label=“test” {
Frame label=“Outside” icon=“garden” {
Group item=OU_FrontYard
Group item=OU_Patio
}
Frame label="Cellar" icon="cellar" {
Group item=C_Hallway
Group item=C_LaundryRoom
Group item=C_Office
Group item=C_Toilet
Group item=C_Shed
}
Frame label="Ground Floor" icon="groundfloor" {
Group item=GF_Wardrobe
Group item=GF_Corridor
Group item=GF_Dining
Group item=GF_GuestRoom
Group item=GF_Kitchen
Group item=GF_LivingRoom
Group item=GF_Office
Group item=GF_Patio
}
Frame {
Text label="Licht" icon="light" {
Default item=C_Hallway_Light label="Corridor"
Default item=C_LaundryRoom_Light label="Laundry"
Default item=C_Toilet_Light label="Toilet"
}
}
}
My items file:
Group Home "test" <house> ["Building"]
Group OU "Outside" <garden> (Home) ["Outdoor"]
Group C "Cellar" <cellar> (Home) ["Basement"]
Group GF "Ground Floor" <groundfloor> (Home) ["GroundFloor"]
Group OU_FrontYard "Front Yard" <lawnmower> (Home, OU) ["Garden"]
Group OU_Patio "Patio" <terrace> (Home, OU) ["Outside"]
Group C_Hallway "Corridor" <corridor> (Home, C) ["Corridor"]
Group C_LaundryRoom "Laundry" <washingmachine> (Home, C) ["Room"]
Group C_Office "Office" <office> (Home, C) ["Room"]
Group C_Toilet "Toilet" <toilet> (Home, C) ["Bathroom"]
Group C_Shed "Shed" <greenhouse> (Home, C) ["Garage"]
Group GF_Wardrobe "Wardrobe" <wardrobe> (Home, GF) ["Wardrobe"]
Group GF_Corridor "Corridor" <corridor> (Home, GF) ["Corridor"]
Group GF_Dining "Dining" (Home, GF) ["Room"]
Group GF_GuestRoom "Guests" <parents_4_3> (Home, GF) ["Room"]
Group GF_Kitchen "Kitchen" <kitchen> (Home, GF) ["Kitchen"]
Group GF_LivingRoom "Living Room" <sofa> (Home, GF) ["LivingRoom"]
Group GF_Office "Office" <office> (Home, GF) ["Room"]
Group GF_Patio "Patio" <terrace> (Home, GF) ["Outside"]
Switch C_Hallway_Light "Light" <light> (C_Hallway, gLight) ["Lighting", "Switchable"] {channel=""}
Switch C_LaundryRoom_Light "Light" <light> (C_LaundryRoom, gLight) ["Lighting", "Switchable"] {channel=""}
Switch C_Toilet_Light "Light" <light> (C_Toilet, gLight) ["Lighting", "Switchable"] {channel=""}
Switch C_Toilet_Motion "Motion" <motion> (C_Toilet, gMotion) ["MotionDetector", "Switchable"] {channel=""}
Switch GF_GuestRoom_Light "Light" <light> (GF_GuestRoom, gLight) ["Lighting", "Switchable"] {channel=""}
Rollershutter GF_GuestRoom_Shutter "Shutter" <rollershutter> (GF_GuestRoom, gShutter) ["Rollershutter"] {channel=""}
Contact GF_GuestRoom_Window "Window" <window> (GF_GuestRoom, gWindow) ["Window"] {channel=""}
Switch GF_Kitchen_Light "Licht" <light> (GF_Kitchen, gLight) ["Lighting", "Switchable"] {channel=""}
Switch GF_Kitchen_Motion "Motion" <motion> (GF_Kitchen, gMotion) ["MotionDetector", "Switchable"] {channel=""}
Switch GF_Kitchen_Fan "Fan" <fan_ceiling> (GF_Kitchen, gFan) ["Switchable"] {channel=""}
Switch GF_LivingRoom_Light "Light" <light> (GF_LivingRoom, gLight) ["Lighting", "Switchable"] {channel=""}
Contact GF_LivingRoom_Window "Window" <window> (GF_LivingRoom, gWindow) ["Window"] {channel=""}
Contact GF_LivingRoom_Door "Door" <door> (GF_LivingRoom, gDoor) ["Door"] {channel=""}
Rollershutter GF_LivingRoom_Shutter "Shutter" <rollershutter> (GF_LivingRoom, gShutter) ["Rollershutter"] {channel=""}
Number GF_LivingRoom_Heating "Heating" <heating> (GF_LivingRoom, gHeating) ["HVAC"] {channel=""}
Switch GF_Office_Light "Light" <light> (GF_Office, gLight) ["Lighting", "Switchable"] {channel=""}
Group:Switch:OR(ON, OFF) gLight "Light" <light> (Home) ["Lighting", "Switchable"]
Group:Switch:OR(ON, OFF) gMotion "Motion" <motion> (Home) ["MotionDetector", "Switchable"]
Group:Rollershutter:OR(UP, DOWN) gShutter "Shutter" <rollershutter> (Home) ["Rollershutter"]
Group:Contact:OR(OPEN, CLOSED) gWindow "Window" <window> (Home) ["Window"]
Group:Switch:OR(ON, OFF) gFan "Fan" <fan_ceiling> (Home) ["Switchable"]
Group:Contact:OR(OPEN, CLOSED) gDoor "Door" <door> (Home) ["Door"]
Group:Number:AVG gHeating "Heating" <heating> (Home) ["HVAC"]
But Paper-UI (and my Android app) show only a header for each floor and then a 2 column list of all rooms.
I tried to apply the example of Udo_Hartmann where he builds a sitemap with Text items and got this sitemap file:
sitemap test label="test" {
Frame label="Outside" icon="garden" {
Group item=OU_FrontYard
Group item=OU_Patio
}
Frame label="Cellar" {
Group item=C_Hallway {
Default item=C_Hallway_Light label="Corridor"
}
Group item=C_LaundryRoom {
Default item=C_LaundryRoom_Light label="Laundry"
}
Group item=C_Office
Group item=C_Toilet {
Default item=C_Toilet_Light label="Toilet"
}
Group item=C_Shed
}
Frame label="Ground Floor" icon="groundfloor" {
Group item=GF_Wardrobe
Group item=GF_Corridor
Group item=GF_Dining
Group item=GF_GuestRoom
Group item=GF_Kitchen
Group item=GF_LivingRoom
Group item=GF_Office
Group item=GF_Patio
}
}
But the floors are still not expandable
Any hints where I did the error ? Unfortunately I can not investigate in the demo files of the app.