Items not displayed but receiving updates

openhab2
sitemap
items
Tags: #<Tag:0x00007f1829ec59d0> #<Tag:0x00007f1829ec5890> #<Tag:0x00007f1829ec5688>

(Florian Dahlitz) #1

Hello Community,
I’m quite new to openHAB and have an issue.

  • Platform information:
    • Hardware: Raspberry Pi
    • OS: Raspbian Stretch with Desktop (November 2017)
    • Java Runtime Environment: 1.8.0_65 (build: 1.8.0_65-b17)
    • openHAB version: 2.2.0-1
  • Issue of the topic:
    I’m integrating more than 80 multi-sensors and created around 240 Items to handle the data with more than 20 related Groups to structure them.
    The Items are displayed in the sitemap through Group-structure, so in the sitemap a Group is specified and you get to the subgroups and Items by clicking through this structure (example below).
    The Item names are auto-generated, because of the huge number of sensors, which will increase in the future.

The problem is that somehow some Items are not displayed even if they are in the correct Group. No warnings and errors are logged (that’s why I’m not going to post the log files here).

  • Group-structure snapshot
Group   Floor23             "Floor 23"
Group   Location_Based      "Location"                              (Floor23)
Group   Entrance            "Entrance"                              (Location_Based)
  • Items configuration example (whole file is simply to long)
// Entrance
Number      809646_EUI64_0080E10300046C8A_3_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (Entrance, Temperature)
Number      809646_EUI64_0080E10300046C8A_3_humidity_value      "Humidity [%d %%]"                                          <humidity>      (Entrance, Humidity)
Number      809646_EUI64_0080E10300046C8A_4_carbonDioxide_value "Carbon Dioxide [%d ppm]"                                   <carbondioxide> (Entrance, Carbon_Dioxide)
Number      809646_EUI64_0080E10300046C8A_5_carbonDioxide_value "Carbon Dioxide [%d ppm]"                                   <carbondioxide> (Entrance, Carbon_Dioxide)
Number      809646_EUI64_0080E10300046C8A_6_pressure_value      "Pressure [%.2f hPa]"                                       <pressure>      (Entrance, Pressure)
Number      809646_EUI64_0080E103000452B5_3_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (Entrance, Temperature)
DateTime    809646_EUI64_0080E103000452B5_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (Entrance, Motion)
Number      809646_EUI64_0080E103000452B5_5_illuminance_value   "Illuminance [%.2f lm]"                                     <light>         (Entrance, Illuminance)
Number      809646_EUI64_0080E103000452B5_3_humidity_value      "Humidity [%d %%]"                                          <humidity>      (Entrance, Humidity)
DateTime    809646_EUI64_0080E103000454CA_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (Entrance, Motion)
Number      809646_EUI64_0080E103000454CA_5_illuminance_value   "Illuminance [%.2f lm]"                                     <light>         (Entrance, Illuminance)
Number      809646_EUI64_0080E103000454CA_3_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (Entrance, Temperature)
Number      809646_EUI64_0080E103000454CA_3_humidity_value      "Humidity [%d %%]"                                          <humidity>      (Entrance, Humidity)

  • Sitemap configuration example (left remaining elements, because they have the same structure - only get’s longer)
sitemap main label="Main Page" {
    Frame label="Rooms" {
        Group   item=Entrance
    }
}

Thanks for your help!


(Harry) #2

The items and sitemap is korrekt.
I can see all items.
Try to restart openhab.
Which items do you miss?


(Florian Dahlitz) #3

As mentioned in my post I was posting only snapshots of the entire Items- and Sitemap-file.
From 240 Items around 60 are not displayed (the posted ones included).
Even restarting didn’t help.
I thought about to many operations per second - updates coming in through REST API from the Watson IoT Platform the sensors are connected to - that’s why I changed the log-level from INFO to WARN to decrease the operations per second. It didn’t help, though.


(Harry) #4

Post the whole items and sitmaps-file please.
What model is the pi?


(Florian Dahlitz) #5

Items-file

// Floor23 Section
Group   Devices             "Devices"
Group   Floor23             "Floor 23"
Group   NotYetAssigned      "Not Yet Assigned"

// View kinds
Group   Location_Based      "Location"                              (Floor23)
Group   Device              "Devices"

// ################################################################################################
// ################################################################################################
// LOCATION GROUPS
// ################################################################################################
// ################################################################################################
// Room Groups
Group   North_Lab           "North Lab"                             (Location_Based)
Group   South_Lab           "South Lab"                             (Location_Based)

Group   Meeting_Room        "Meeting Rooms"

// Rooms South
Group   Cognitive_Life      "Cognitive Life"                        (South_Lab)
Group   Smart_Home          "Smart Home"                            (Location_Based)
Group   Smart_Mobility      "Smart Mobility"                        (South_Lab)
Group   South_Small_1       "South Small 1"         <suitcase>      (Location_Based, Meeting_Room)
Group   South_Small_2       "South Small 2"         <suitcase>      (Location_Based, Meeting_Room)

Group   Port_Of_Rotterdam   "Port of Rotterdam"     <suitcase>      (Location_Based, Meeting_Room)
Group   South_Workarea      "Workarea South"                        (Location_Based)
Group   Isar                "Isar"                  <suitcase>      (Location_Based, Meeting_Room)

// Workarea South
Group   South_Workarea_1    "Workarea South 1"                      (South_Workarea)
Group   South_Workarea_2    "Workarea South 2"                      (South_Workarea)
Group   South_Workarea_3    "Workarea South 3"                      (South_Workarea)
Group   South_Workarea_ext  "Workarea South Extras"                 (South_Workarea)

// Rooms North
Group   City_Operations     "City Operations"                       (North_Lab)
Group   Industrial          "Industrial"                            (North_Lab)
Group   North_Small_1       "North Small 1"         <suitcase>      (Location_Based, Meeting_Room)
Group   North_Small_2       "North Small 2"         <suitcase>      (Location_Based, Meeting_Room)

Group   Shinano             "Shinano"               <suitcase>      (Location_Based, Meeting_Room)
Group   Think_Box           "Think Box"             <suitcase>      (Location_Based, Meeting_Room)
Group   Entrance            "Entrance"                              (Location_Based)
Group   North_Workarea      "Workarea North"                        (Location_Based)

// Workarea North
Group   North_Workarea_1    "Workarea North 1"                      (North_Workarea)
Group   North_Workarea_2    "Workarea North 2"                      (North_Workarea)
Group   North_Workarea_3    "Workarea North 3"                      (North_Workarea)
Group   North_Workarea_ext  "Workarea North Extras"                 (North_Workarea)

// ################################################################################################
// ################################################################################################
// DEVICE GROUPS
// ################################################################################################
// ################################################################################################
// Device Types
Group   Sensor              "Sensor"                                (Device)
Group   Actor               "Actor"                                 (Device)

// Sensor Types
Group   Temperature         "Temperature"           <temperature>   (Sensor)
Group   Motion              "Motion"                <motion>        (Sensor)
Group   Waterlevel          "Waterlevel"            <water>         (Sensor)
Group   Soil_Mois           "Soil Moisture"         <rain>          (Sensor)
Group   Humidity            "Humidity"              <humidity>      (Sensor)
Group   Illuminance         "Illuminance"           <light>         (Sensor)
Group   Carbon_Dioxide      "Carbon Dioxide"        <carbondioxide> (Sensor)
Group   Pressure            "Pressure"              <pressure>      (Sensor)

// ################################################################################################
// ################################################################################################
// ITEMS
// ################################################################################################
// ################################################################################################
// North Workarea 1
DateTime    809646_EUI64_0080E1030005257C_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (North_Workarea_1, Motion)
Number      809646_EUI64_0080E1030005257C_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (North_Workarea_1, Temperature)
DateTime    809646_EUI64_0080E10300051B5C_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (North_Workarea_1, Motion)
Number      809646_EUI64_0080E10300051B5C_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (North_Workarea_1, Temperature)
DateTime    809646_EUI64_0080E10300052439_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (North_Workarea_1, Motion)
Number      809646_EUI64_0080E10300052439_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (North_Workarea_1, Temperature)
DateTime    809646_EUI64_0080E103000515B5_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (North_Workarea_1, Motion)
Number      809646_EUI64_0080E103000515B5_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (North_Workarea_1, Temperature)
DateTime    809646_EUI64_0080E10300052760_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (North_Workarea_1, Motion)
Number      809646_EUI64_0080E10300052760_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (North_Workarea_1, Temperature)
DateTime    809646_EUI64_0080E10300051BEB_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (North_Workarea_1, Motion)
Number      809646_EUI64_0080E10300051BEB_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (North_Workarea_1, Temperature)

// North Workarea 2
DateTime    809646_EUI64_0080E1030005245A_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (North_Workarea_2, Motion)
Number      809646_EUI64_0080E1030005245A_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (North_Workarea_2, Temperature)
Number      809646_EUI64_0080E1030005161B_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (North_Workarea_2, Temperature)
DateTime    809646_EUI64_0080E1030005161B_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (North_Workarea_2, Motion)
DateTime    809646_EUI64_0080E10300051183_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (North_Workarea_2, Motion)
Number      809646_EUI64_0080E10300051183_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (North_Workarea_2, Temperature)
Number      809646_EUI64_0080E10300051711_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (North_Workarea_2, Temperature)
DateTime    809646_EUI64_0080E10300051711_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (North_Workarea_2, Motion)
DateTime    809646_EUI64_0080E103000510E0_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (North_Workarea_2, Motion)
Number      809646_EUI64_0080E103000510E0_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (North_Workarea_2, Temperature)
DateTime    809646_EUI64_0080E1030005130A_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (North_Workarea_2, Motion)
Number      809646_EUI64_0080E1030005130A_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (North_Workarea_2, Temperature)

// North Workarea 3
DateTime    809646_EUI64_0080E103000512F5_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (North_Workarea_3, Motion)
Number      809646_EUI64_0080E103000512F5_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (North_Workarea_3, Temperature)
DateTime    809646_EUI64_0080E10300051B88_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (North_Workarea_3, Motion)
Number      809646_EUI64_0080E10300051B88_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (North_Workarea_3, Temperature)
DateTime    809646_EUI64_0080E10300051C0A_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (North_Workarea_3, Motion)
Number      809646_EUI64_0080E10300051C0A_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (North_Workarea_3, Temperature)
DateTime    809646_EUI64_0080E10300052444_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (North_Workarea_3, Motion)
Number      809646_EUI64_0080E10300052444_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (North_Workarea_3, Temperature)
DateTime    809646_EUI64_0080E10300052259_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (North_Workarea_3, Motion)
Number      809646_EUI64_0080E10300052259_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (North_Workarea_3, Temperature)

// North Workarea Extra
Number      809646_EUI64_0080E10300045534_3_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (North_Workarea_ext, Temperature)
Number      809646_EUI64_0080E10300045534_3_humidity_value      "Humidity [%d %%]"                                          <humidity>      (North_Workarea_ext, Humidity)
DateTime    809646_EUI64_0080E10300045534_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (North_Workarea_ext, Motion)
Number      809646_EUI64_0080E10300045534_5_illuminance_value   "Illuminance [%.2f lm]"                                     <light>         (North_Workarea_ext, Illuminance)
DateTime    809646_EUI64_0080E10300045140_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (North_Workarea_ext, Motion)
Number      809646_EUI64_0080E10300045140_3_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (North_Workarea_ext, Temperature)
Number      809646_EUI64_0080E10300045140_3_humidity_value      "Humidity [%d %%]"                                          <humidity>      (North_Workarea_ext, Humidity)
Number      809646_EUI64_0080E10300045140_5_illuminance_value   "Illuminance [%.2f lm]"                                     <light>         (North_Workarea_ext, Illuminance)

// Entrance
Number      809646_EUI64_0080E10300046C8A_3_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (Entrance, Temperature)
Number      809646_EUI64_0080E10300046C8A_3_humidity_value      "Humidity [%d %%]"                                          <humidity>      (Entrance, Humidity)
Number      809646_EUI64_0080E10300046C8A_4_carbonDioxide_value "Carbon Dioxide [%d ppm]"                                   <carbondioxide> (Entrance, Carbon_Dioxide)
Number      809646_EUI64_0080E10300046C8A_5_carbonDioxide_value "Carbon Dioxide [%d ppm]"                                   <carbondioxide> (Entrance, Carbon_Dioxide)
Number      809646_EUI64_0080E10300046C8A_6_pressure_value      "Pressure [%.2f hPa]"                                       <pressure>      (Entrance, Pressure)
Number      809646_EUI64_0080E103000452B5_3_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (Entrance, Temperature)
DateTime    809646_EUI64_0080E103000452B5_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (Entrance, Motion)
Number      809646_EUI64_0080E103000452B5_5_illuminance_value   "Illuminance [%.2f lm]"                                     <light>         (Entrance, Illuminance)
Number      809646_EUI64_0080E103000452B5_3_humidity_value      "Humidity [%d %%]"                                          <humidity>      (Entrance, Humidity)
DateTime    809646_EUI64_0080E103000454CA_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (Entrance, Motion)
Number      809646_EUI64_0080E103000454CA_5_illuminance_value   "Illuminance [%.2f lm]"                                     <light>         (Entrance, Illuminance)
Number      809646_EUI64_0080E103000454CA_3_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (Entrance, Temperature)
Number      809646_EUI64_0080E103000454CA_3_humidity_value      "Humidity [%d %%]"                                          <humidity>      (Entrance, Humidity)

// North Small 1
Number      809646_EUI64_0080E10300045152_3_humidity_value      "Humidity [%d %%]"                                          <humidity>      (North_Small_1, Humidity)
Number      809646_EUI64_0080E10300045152_3_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (North_Small_1, Temperature)
DateTime    809646_EUI64_0080E10300045152_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (North_Small_1, Motion)
Number      809646_EUI64_0080E10300045152_5_illuminance_value   "Illuminance [%.2f lm]"                                     <light>         (North_Small_1, Illuminance)

// North Small 2
Number      809646_EUI64_0080E10300045590_3_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (North_Small_2, Temperature)
Number      809646_EUI64_0080E10300045590_3_humidity_value      "Humidity [%d %%]"                                          <humidity>      (North_Small_2, Humidity)
DateTime    809646_EUI64_0080E10300045590_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (North_Small_2, Motion)
Number      809646_EUI64_0080E10300045590_5_illuminance_value   "Illuminance [%.2f lm]"                                     <light>         (North_Small_2, Illuminance)
Number      809646_EUI64_0080E10300047888_3_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (North_Small_2, Temperature)
Number      809646_EUI64_0080E10300047888_3_humidity_value      "Humidity [%d %%]"                                          <humidity>      (North_Small_2, Humidity)
Number      809646_EUI64_0080E10300047888_4_carbonDioxide_value "Carbon Dioxide [%d ppm]"                                   <carbondioxide> (North_Small_2, Carbon_Dioxide)
Number      809646_EUI64_0080E10300047888_6_pressure_value      "Pressure [%.2f hPa]"                                       <pressure>      (North_Small_2, Pressure)
Number      809646_EUI64_0080E10300047888_5_carbonDioxide_value "Carbon Dioxide [%d ppm]"                                   <carbondioxide> (North_Small_2, Carbon_Dioxide)

// Industrial
Number      809646_EUI64_0080E103000450EC_3_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (Industrial, Temperature)
Number      809646_EUI64_0080E103000450EC_3_humidity_value      "Humidity [%d %%]"                                          <humidity>      (Industrial, Humidity)
DateTime    809646_EUI64_0080E103000450EC_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (Industrial, Motion)
Number      809646_EUI64_0080E103000450EC_5_illuminance_value   "Illuminance [%.2f lm]"                                     <light>         (Industrial, Illuminance)

// Think Box
Number      809646_EUI64_0080E10300045A95_3_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (Think_Box, Temperature)
Number      809646_EUI64_0080E10300045A95_3_humidity_value      "Humidity [%d %%]"                                          <humidity>      (Think_Box, Humidity)
Number      809646_EUI64_0080E10300045A95_4_carbonDioxide_value "Carbon Dioxide [%d ppm]"                                   <carbondioxide> (Think_Box, Carbon_Dioxide)
Number      809646_EUI64_0080E10300045A95_5_carbonDioxide_value "Carbon Dioxide [%d ppm]"                                   <carbondioxide> (Think_Box, Carbon_Dioxide)
Number      809646_EUI64_0080E10300045A95_6_pressure_value      "Pressure [%.2f hPa]"                                       <pressure>      (Think_Box, Pressure)
Number      809646_EUI64_0080E1030004521C_3_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (Think_Box, Temperature)
Number      809646_EUI64_0080E1030004521C_3_humidity_value      "Humidity [%d %%]"                                          <humidity>      (Think_Box, Humidity)
DateTime    809646_EUI64_0080E1030004521C_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (Think_Box, Motion)
Number      809646_EUI64_0080E1030004521C_5_illuminance_value   "Illuminance [%.2f lm]"                                     <light>         (Think_Box, Illuminance)

// Shinano
Number      809646_EUI64_0080E1030004562F_3_humidity_value      "Humidity [%d %%]"                                          <humidity>      (Shinano, Humidity)
DateTime    809646_EUI64_0080E1030004562F_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (Shinano, Motion)
Number      809646_EUI64_0080E1030004562F_3_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (Shinano, Temperature)
Number      809646_EUI64_0080E1030004562F_5_illuminance_value   "Illuminance [%.2f lm]"                                     <light>         (Shinano, Illuminance)
Number      809646_EUI64_0080E1030004674C_3_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (Shinano, Temperature)
Number      809646_EUI64_0080E1030004674C_3_humidity_value      "Humidity [%d %%]"                                          <humidity>      (Shinano, Humidity)
Number      809646_EUI64_0080E1030004674C_4_carbonDioxide_value "Carbon Dioxide [%d ppm]"                                   <carbondioxide> (Shinano, Carbon_Dioxide)
Number      809646_EUI64_0080E1030004674C_5_carbonDioxide_value "Carbon Dioxide [%d ppm]"                                   <carbondioxide> (Shinano, Carbon_Dioxide)
Number      809646_EUI64_0080E1030004674C_6_pressure_value      "Pressure [%.2f hPa]"                                       <pressure>      (Shinano, Pressure)

// City Operations
Number      809646_EUI64_0080E103000456C6_3_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (City_Operations, Temperature)
Number      809646_EUI64_0080E103000456C6_3_humidity_value      "Humidity [%d %%]"                                          <humidity>      (City_Operations, Humidity)
DateTime    809646_EUI64_0080E103000456C6_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (City_Operations, Motion)
Number      809646_EUI64_0080E103000456C6_5_illuminance_value   "Illuminance [%.2f lm]"                                     <light>         (City_Operations, Illuminance)

// South Workarea 1
DateTime    809646_EUI64_0080E10300051166_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (South_Workarea_1, Motion)
Number      809646_EUI64_0080E10300051166_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (South_Workarea_1, Temperature)
DateTime    809646_EUI64_0080E10300051B0E_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (South_Workarea_1, Motion)
Number      809646_EUI64_0080E10300051B0E_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (South_Workarea_1, Temperature)
Number      809646_EUI64_0080E10300051A63_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (South_Workarea_1, Temperature)
DateTime    809646_EUI64_0080E10300051A63_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (South_Workarea_1, Motion)
DateTime    809646_EUI64_0080E10300051B56_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (South_Workarea_1, Motion)
Number      809646_EUI64_0080E10300051B56_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (South_Workarea_1, Temperature)
Number      809646_EUI64_0080E10300052443_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (South_Workarea_1, Temperature)
DateTime    809646_EUI64_0080E10300052443_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (South_Workarea_1, Motion)
DateTime    809646_EUI64_0080E1030005131F_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (South_Workarea_1, Motion)
Number      809646_EUI64_0080E1030005131F_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (South_Workarea_1, Temperature)

// South Workarea 2
DateTime    809646_EUI64_0080E10300052774_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (South_Workarea_2, Motion)
Number      809646_EUI64_0080E10300052774_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (South_Workarea_2, Temperature)
DateTime    809646_EUI64_0080E10300051A51_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (South_Workarea_2, Motion)
Number      809646_EUI64_0080E10300051A51_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (South_Workarea_2, Temperature)
DateTime    809646_EUI64_0080E103000510FD_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (South_Workarea_2, Motion)
Number      809646_EUI64_0080E103000510FD_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (South_Workarea_2, Temperature)
DateTime    809646_EUI64_0080E10300051B6F_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (South_Workarea_2, Motion)
Number      809646_EUI64_0080E10300051B6F_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (South_Workarea_2, Temperature)
DateTime    809646_EUI64_0080E10300052686_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (South_Workarea_2, Motion)
Number      809646_EUI64_0080E10300052686_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (South_Workarea_2, Temperature)
DateTime    809646_EUI64_0080E103000516AF_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (South_Workarea_2, Motion)
Number      809646_EUI64_0080E103000516AF_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (South_Workarea_2, Temperature)

// South Workarea 3
DateTime    809646_EUI64_0080E103000522AE_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (South_Workarea_3, Motion)
Number      809646_EUI64_0080E103000522AE_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (South_Workarea_3, Temperature)
DateTime    809646_EUI64_0080E1030005140A_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (South_Workarea_3, Motion)
Number      809646_EUI64_0080E1030005140A_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (South_Workarea_3, Temperature)
DateTime    809646_EUI64_0080E10300052268_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (South_Workarea_3, Motion)
Number      809646_EUI64_0080E10300052268_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (South_Workarea_3, Temperature)
DateTime    809646_EUI64_0080E10300051B62_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (South_Workarea_3, Motion)
Number      809646_EUI64_0080E10300051B62_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (South_Workarea_3, Temperature)
DateTime    809646_EUI64_0080E103000511D3_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (South_Workarea_3, Motion)
Number      809646_EUI64_0080E103000511D3_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (South_Workarea_3, Temperature)
DateTime    809646_EUI64_0080E10300051174_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (South_Workarea_3, Motion)
Number      809646_EUI64_0080E10300051174_5_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (South_Workarea_3, Temperature)

// South Workarea Extra
Number      809646_EUI64_0080E103000451E8_3_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (South_Workarea_ext, Temperature)
Number      809646_EUI64_0080E103000451E8_3_humidity_value      "Humidity [%d %%]"                                          <humidity>      (South_Workarea_ext, Humidity)
DateTime    809646_EUI64_0080E103000451E8_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (South_Workarea_ext, Motion)
Number      809646_EUI64_0080E103000451E8_5_illuminance_value   "Illuminance [%.2f lm]"                                     <light>         (South_Workarea_ext, Illuminance)
Number      809646_EUI64_0080E103000455D9_3_humidity_value      "Humidity [%d %%]"                                          <humidity>      (South_Workarea_ext, Humidity)
Number      809646_EUI64_0080E103000455D9_3_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (South_Workarea_ext, Temperature)
DateTime    809646_EUI64_0080E103000455D9_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (South_Workarea_ext, Motion)
Number      809646_EUI64_0080E103000455D9_5_illuminance_value   "Illuminance [%.2f lm]"                                     <light>         (South_Workarea_ext, Illuminance)

// South Small 1
Number      809646_EUI64_0080E10300046CF4_3_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (South_Small_1, Temperature)
Number      809646_EUI64_0080E10300046CF4_3_humidity_value      "Humidity [%d %%]"                                          <humidity>      (South_Small_1, Humidity)
Number      809646_EUI64_0080E10300046CF4_4_carbonDioxide_value "Carbon Dioxide [%d ppm]"                                   <carbondioxide> (South_Small_1, Carbon_Dioxide)
Number      809646_EUI64_0080E10300046CF4_5_carbonDioxide_value "Carbon Dioxide [%d ppm]"                                   <carbondioxide> (South_Small_1, Carbon_Dioxide)
Number      809646_EUI64_0080E10300046CF4_6_pressure_value      "Pressure [%.2f hPa]"                                       <pressure>      (South_Small_1, Pressure)
Number      809646_EUI64_0080E103000451B7_3_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (South_Small_1, Temperature)
Number      809646_EUI64_0080E103000451B7_3_humidity_value      "Humidity [%d %%]"                                          <humidity>      (South_Small_1, Humidity)
DateTime    809646_EUI64_0080E103000451B7_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (South_Small_1, Motion)
Number      809646_EUI64_0080E103000451B7_5_illuminance_value   "Illuminance [%.2f lm]"                                     <light>         (South_Small_1, Illuminance)

// South Small 2
Number      809646_EUI64_0080E10300045C72_3_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (South_Small_2, Temperature)
Number      809646_EUI64_0080E10300045C72_3_humidity_value      "Humidity [%d %%]"                                          <humidity>      (South_Small_2, Humidity)
Number      809646_EUI64_0080E10300045C72_4_carbonDioxide_value "Carbon Dioxide [%d ppm]"                                   <carbondioxide> (South_Small_2, Carbon_Dioxide)
Number      809646_EUI64_0080E10300045C72_5_carbonDioxide_value "Carbon Dioxide [%d ppm]"                                   <carbondioxide> (South_Small_2, Carbon_Dioxide)
Number      809646_EUI64_0080E10300045C72_6_pressure_value      "Pressure [%.2f hPa]"                                       <pressure>      (South_Small_2, Pressure)
Number      809646_EUI64_0080E10300045735_3_temperature_value   "Temperature [%.1f °C]"                                     <temperature>   (South_Small_2, Temperature)
Number      809646_EUI64_0080E10300045735_3_humidity_value      "Humidity [%d %%]"                                          <humidity>      (South_Small_2, Humidity)
DateTime    809646_EUI64_0080E10300045735_4_motion_value        "Time Last Motion [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tI]"    <motion>        (South_Small_2, Motion)
Number      809646_EUI64_0080E10300045735_5_illuminance_value   "Illuminance [%.2f lm]"                                     <light>         (South_Small_2, Illuminance)

The used items in the sitemap, which are not part of the items-file are in another non-related file.
The sitemap is posted separate and the Items of “Smart_Home”, “Smart_Mobility”, “Port_Of_Rotterdam”, “Isar” and “Cognitive_Life” were left, because the character limited was exceed.


(Florian Dahlitz) #6

Sitemap-file

sitemap main label="Industry Lab" {
    Frame label="Industry Lab" {
        Group   item=Location_Based     label="Location"
        Group   item=Device             label="Device"              icon="projector"
        Group   item=NotYetAssigned     label="Not Yet Assigned"    icon="zoom"
        Group   item=Meeting_Room       label="Meeting Rooms"       icon="suitcase"
        Switch  item=TV_Mute
        Switch  item=MuteSwitch         
    }

    Frame label="Meeting Room Occupancy" {
        Text    item=North_Small_1_Occupancy        valuecolor=[=="free" = "green", =="occupied" = "red"]
        Text    item=North_Small_2_Occupancy        valuecolor=[=="free" = "green", =="occupied" = "red"]
        Text    item=Think_Box_Occupancy            valuecolor=[=="free" = "green", =="occupied" = "red"]
        Text    item=Shinano_Occupancy              valuecolor=[=="free" = "green", =="occupied" = "red"]
        Text    item=Isar_Occupancy                 valuecolor=[=="free" = "green", =="occupied" = "red"]
        Text    item=Port_Of_Rotterdam_Occupancy    valuecolor=[=="free" = "green", =="occupied" = "red"]
        Text    item=South_Small_1_Occupancy        valuecolor=[=="free" = "green", =="occupied" = "red"]
        Text    item=South_Small_2_Occupancy        valuecolor=[=="free" = "green", =="occupied" = "red"]
    }

    Frame label="Air Quality Alerts" {
        Text    item=Nothing_Placeholder                                                                   visibility=[Nothing_Placeholder == 1]
        Text    item=North_Small_2_Air              valuecolor=[< 1000 = "orange", >= 1000 = "red"]        visibility=[North_Small_2_Air >= 800]
        Text    item=Entrance_Air                   valuecolor=[< 1000 = "orange", >= 1000 = "red"]        visibility=[Entrance_Air >= 800]
        Text    item=Think_Box_Air                  valuecolor=[< 1000 = "orange", >= 1000 = "red"]        visibility=[Think_Box_Air >= 800]
        Text    item=Shinano_Air                    valuecolor=[< 1000 = "orange", >= 1000 = "red"]        visibility=[Shinano_Air >= 800]
        Text    item=Port_Of_Rotterdam_Air          valuecolor=[< 1000 = "orange", >= 1000 = "red"]        visibility=[Port_Of_Rotterdam_Air >= 800]
        Text    item=Smart_Home_Air                 valuecolor=[< 1000 = "orange", >= 1000 = "red"]        visibility=[Smart_Home_Air >= 800]
        Text    item=South_Small_1_Air              valuecolor=[< 1000 = "orange", >= 1000 = "red"]        visibility=[South_Small_1_Air >= 800]
        Text    item=South_Small_2_Air              valuecolor=[< 1000 = "orange", >= 1000 = "red"]        visibility=[South_Small_2_Air >= 800]
        Text    item=Smart_Mobility_Air             valuecolor=[< 1000 = "orange", >= 1000 = "red"]        visibility=[Smart_Mobility_Air >= 800]
        Text    item=Cognitive_Life_Air             valuecolor=[< 1000 = "orange", >= 1000 = "red"]        visibility=[Cognitive_Life_Air >= 800]
    }

    Frame label="Rooms" {
        Group   item=City_Operations
        Group   item=Industrial
        Group   item=North_Small_1 
        Group   item=North_Small_2 
        Group   item=North_Workarea
        Group   item=Entrance
        Group   item=Think_Box
        Group   item=Shinano 
        Group   item=Isar
        Group   item=South_Workarea
        Group   item=Port_Of_Rotterdam 
        Group   item=Smart_Home 
        Group   item=South_Small_1
        Group   item=South_Small_2 
        Group   item=Smart_Mobility 
        Group   item=Cognitive_Life 
    }
}

(Harry) #7

What model is your pi?
The test works.

.


(Florian Dahlitz) #8

Raspberry Pi 3.
Maybe it’s because of the rules I’m using. They are working, but maybe they cause trouble.
I will test it as you did without rules.


(Florian Dahlitz) #9

I found the solution: The problem is the the actual code and the definitions around, but it’s the total number of items. If I leave a certain amount of Items, it works (independent of which Items I leave).


(Joachim Boeddeker) #10

Your item names are the same for the first 20-something characters, could you try to replace the long prefix to something shorter? Maybe with replacing “809646_EUI64_0080E103000” with “XXX”.

Perhaps some function took a shortcut and just compares the first something characters.

I am using far more then 240 items and do not miss any of them. But i am also not using the group display.


(Florian Dahlitz) #11

Great hint and thanks for your reply - will implement it and tell you about the result later.


(Florian Dahlitz) #12

Does anybody know if there is a limit of possible items per file? Because if I have more than 200 Items per file this leads to uncertain behaviour.

Thanks anyway for all replies!


(Florian Dahlitz) #13

I removed the Group-displaying and replaced it by a sitemap (listing all 200 items in Frames and nested Texts).
Now everything works fine. The problem seems to be the Group-displaying.

Should someone open an issue?