Beginner Question: items isnt correct

Hi Forum,

I has searched the last 3 days and I’m a little tired… therefore this is my last try.

My Setup:
Debian strech dedicated server (amd64)
HM-LAN-CFG
Homegear
openhab

I have successfull connected 2 homematic heating adapters to the OH2 and they will be shown in “Paper UI” with right parameters and data. Also the data is transmitted to the heating adapter, if i change the value in “paper ui” - so far, so good.

But what i fighting for is the items file and the sitemap info.
I have created this item file (with data form paper ui channels of the corrosponding device):

Group                     Heating_Group          "Heizung Gesamt"                               <heating>         (default)
Group                     Heating_WZ             "Heizung Wohnzimmer"                           <heating>         (Heating_Group)
Group                     Heating_FK             "Heizung Flur/Kueche"                          <heating>         (Heating_Group)
Group                     Heating_SZ             "Heizung Schlafzimmer"                         <heating>         (Heating_Group)
Group                     Heating_BD             "Heizung Bad"                                  <heating>         (Heating_Group)
Group:Number:AVG          Heating_TargetTemps    "Raumtemperaturen Soll [%.1f °C]"              <temperature>     (Heating_Group)
Group:Switch:OR(ON, OFF)  Heating_ValveSettings  "Aktive Heizkoerper [%d]"                      <heating>         (Heating_Group)
Group                     Heating_OpModes        "Raumtemperaturen Mode [%.1f °C]"              <"heating-off">   (Heating_Group)
Group:Number:AVG          Heating_TargetPresets  "Raumtemperaturen Soll Zeitprogramm [%.1f °C]" <line>            (Heating_Group)
Group:NUMBER:SUM          Heating_WindowModes    "Fensterabsenkung"                             <window>          (Heating_Group)


// HM-CC-RT-DN Heizkoerperthermostat
Number SZ_HEIZUNG_RSSI       "SZ_HEIZUNG RSSI [%d dBm]"                         <"signal-3">      (Heating_SZ,RSSI_Group)               {channel="homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0251036:0#RSSI_DEVICE"}
Switch SZ_HEIZUNG_Unreach    "SZ_HEIZUNG unreachable"                           <siren>           (Heating_SZ,Unreach_Group)            {channel="homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0251036:0#UNREACH"}
Switch SZ_HEIZUNG_Pending    "SZ_HEIZUNG config pending"                        <siren>           (Heating_SZ,Pending_Group)            {channel="homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0251036:0#CONFIG_PENDING"}
Number SZ_HEIZUNG_Battery    "SZ_HEIZUNG Batteriezustand [%.1f V]"              <"battery-100">   (Heating_SZ,Bat_Volts)                {channel="homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0251036:4#BATTERY_STATE"}
String SZ_HEIZUNG_Fault      "SZ_HEIZUNG Fehlerwert [MAP(HM-CC-RT-DN.map):%s]"  <error2>          (Heating_SZ,Error_Group)              {channel="homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0251036:4#FAULT_REPORTING"}
Number SZ_HEIZUNG_ActTemp    "SZ_HEIZUNG Ist-Temperatur [%.1f °C]"              <tmperature>      (Heating_SZ,Temperatures)             {channel="homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0251036:4#ACTUAL_TEMPERATURE"}
Number SZ_HEIZUNG_SetTemp    "SZ_HEIZUNG Soll-Temperatur [%.1f °C]"             <temperture>      (Heating_SZ,Heating_TargetTemps)      {channel="homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0251036:4#SET_TEMPERATURE"}
Number SZ_HEIZUNG_Valve      "SZ_HEIZUNG Ventilstellung [%d %%]"                <heating>         (Heating_SZ,Heating_ValveSettings)    {channel="homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0251036:4#VALVE_STATE"}
String SZ_HEIZUNG_Mode       "SZ_HEIZUNG Betriebsart [MAP(HM-CC-RT-DN.map):%s]" <"heating-off">   (Heating_SZ,Heating_OpModes)          {channel="homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0251036:4#CONTROL_MODE"}
Switch SZ_HEIZUNG_Auto       "SZ_HEIZUNG Auto-Mode"                             <temperature>     (Heating_SZ)                          {channel="homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0251036:4#AUTO_MODE"}
Number SZ_HEIZUNG_Manu       "SZ_HEIZUNG Manu-Mode [%.1f °C]"                   <"heatig-40">     (Heating_SZ)                          {channel="homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0251036:4#MANU_MODE"}
Switch SZ_HEIZUNG_BoostMode  "SZ_HEIZUNG Boost-Mode"                            <fire>            (Heating_SZ)                          {channel="homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0251036:4#BOOST_MODE"}
Number SZ_HEIZUNG_BoostTime  "SZ_HEIZUNG Boost-Restdauer [%d min]"              <"clock-on">      (Heating_SZ)                          {channel="homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0251036:4#BOOST_STATE"}
Switch SZ_HEIZUNG_WindowMode "SZ_HEIZUNG Fensterabsenkung"                      <window>          (Heating_SZ,Heating_WindowModes)
Number SZ_HEIZUNG_Preset     "SZ_HEIZUNG Soll-Temperatur Schnellauswahl"        <"heating-60">    (Heating_SZ)
Number SZ_HEIZUNG_PresetTemp "SZ_HEIZUNG Soll-Temperatur Zeitprogramm [%.1f °C" <line>            (Heating_SZ,Heating_TargetPresets)
String SZ_HEIZUNG_Summary    "SZ_HEIZUNG Uebersicht [%s]"                       <thermometer_red> (Heating_SZ)

Also i have created this sitemap file

sitemap default label="Sitemap" {

    Switch item=DEV_VIRTUAL_ipfire label="IP Fire"


    Text item=SpeedtestSummary {
      Frame label="Ergebnisse" {
        Text item=SpeedtestResultDown
        Text item=SpeedtestResultUp
        Text item=SpeedtestResultPing
      }
      Frame label="Steuerung" {
        Text item=SpeedtestResultDate
        Text item=SpeedtestRunning label="Speedtest [%s]" visibility=[SpeedtestRunning != "-"]
        Switch item=SpeedtestRerun mappings=[ON="Start"]
      }
      Frame label="Statistik" {
        Text label="day" icon="speedtest_analytics8"
      }
    }


  Frame label="Temperaturen und Heizung" {
        //
        Selection item=Whg_Heating_Mode label="Heizmodus (Wohnung) []" mappings=[NORMAL="Normal",
            PARTY="Party",
            SICKDAY="Krankheitstag",
            WEEKEND_TRIP="Wochenendtrip",
            AWAY="Unterwegs",
            OFF_SUMMER="Aus (Sommer-Standby)"
        ]



        //
        //Text item=SZ_Heizung_Battery label="Schlafzimmer [%.1f V]" visibility=[SZ_Heizung_Battery < 2.2] valuecolor=[<2.2="maroon"]
        Text item=SZ_Heizung_Fault label="Schlafzimmer [MAP(HM-CC-RT-DN.map):%s]" visibility=[SZ_Heizung_Fault != NO_FAULT] valuecolor=[!=NO_FAULT="maroon"]
        Text item=SZ_Heizung_Summary label="Schlafzimmer [%s]" visibility=[SZ_Heizung_Unreach == OFF] {
            Frame label="Temperatur" {
                Text item=SZ_Heizung_ActTemp label="Aktuelle Temperatur [%.1f °C]"
            }
            Frame label="Heizung" {
                Setpoint item=SZ_Heizung_SetTemp label="Stellwert (±1) [%.1f °C]" minValue=4.5 maxValue=30.5 step=1.0 visibility=[SZ_Heizung_SetTemp > 4.5]
                Setpoint item=SZ_Heizung_SetTemp label="Stellwert (±½) [%.1f °C]" minValue=4.5 maxValue=30.5 step=0.5 visibility=[SZ_Heizung_SetTemp > 4.5]
                Switch item=SZ_Heizung_SetTemp label="Stellglied [OFF]" mappings=[5.0=Einschalten] visibility=[SZ_Heizung_SetTemp == 4.5]
                Switch item=SZ_Heizung_Preset label="Schnellwahl" mappings=[0="Abgesenkt", 1="Komfort", 2="Warm"]
                Switch item=SZ_Heizung_BoostMode label="Boost (5min)" mappings=[ON="Starten"]
                Text item=SZ_Heizung_BoostTime label="Boost-Restzeit [%d min]" visibility=[SZ_Heizung_BoostTime > 0]
                Text item=SZ_Heizung_Valve label="Ventilstellung [%d %%]"
            }
        }
        Text label="Schlafzimmer Heizstellglied [N/A �]" icon="error2" visibility=[SZ_Heizung_Unreach != OFF]



}



}

The only values i can see are from the “speedtest”.

Bfo

There is something missing within the square brackets add a %s

1 Like

Post the entrys fom event.log and openhab.log please.
The items seams to be not complete.

After stopping openhab, remove the events log und restart, i get this in event.log

cat events.log 
2018-01-12 12:14:01.655 [.ItemChannelLinkAddedEvent] - Link 'DEV_VIRTUAL_ipfire-network:pingdevice:192_168_1_101:online' has been added.
2018-01-12 12:14:01.656 [.ItemChannelLinkAddedEvent] - Link 'SZ_HEIZUNG_RSSI-homematic:HG-HM-CC-RT-DN:ccu:MEQ0251036:0#RSSI_DEVICE' has been added.
2018-01-12 12:14:01.657 [.ItemChannelLinkAddedEvent] - Link 'SZ_HEIZUNG_Auto-homematic:HG-HM-CC-RT-DN:ccu:MEQ0251036:4#AUTO_MODE' has been added.
2018-01-12 12:14:01.658 [.ItemChannelLinkAddedEvent] - Link 'SZ_HEIZUNG_SetTemp-homematic:HG-HM-CC-RT-DN:ccu:MEQ0251036:4#SET_TEMPERATURE' has been added.
2018-01-12 12:14:01.658 [.ItemChannelLinkAddedEvent] - Link 'SZ_HEIZUNG_Unreach-homematic:HG-HM-CC-RT-DN:ccu:MEQ0251036:0#UNREACH' has been added.
2018-01-12 12:14:01.658 [.ItemChannelLinkAddedEvent] - Link 'SZ_HEIZUNG_Valve-homematic:HG-HM-CC-RT-DN:ccu:MEQ0251036:4#VALVE_STATE' has been added.
2018-01-12 12:14:01.658 [.ItemChannelLinkAddedEvent] - Link 'SZ_HEIZUNG_BoostTime-homematic:HG-HM-CC-RT-DN:ccu:MEQ0251036:4#BOOST_STATE' has been added.
2018-01-12 12:14:01.658 [.ItemChannelLinkAddedEvent] - Link 'SZ_HEIZUNG_ActTemp-homematic:HG-HM-CC-RT-DN:ccu:MEQ0251036:4#ACTUAL_TEMPERATURE' has been added.
2018-01-12 12:14:01.659 [.ItemChannelLinkAddedEvent] - Link 'SZ_HEIZUNG_Mode-homematic:HG-HM-CC-RT-DN:ccu:MEQ0251036:4#CONTROL_MODE' has been added.
2018-01-12 12:14:01.659 [.ItemChannelLinkAddedEvent] - Link 'SZ_HEIZUNG_Manu-homematic:HG-HM-CC-RT-DN:ccu:MEQ0251036:4#MANU_MODE' has been added.
2018-01-12 12:14:01.659 [.ItemChannelLinkAddedEvent] - Link 'SZ_HEIZUNG_Pending-homematic:HG-HM-CC-RT-DN:ccu:MEQ0251036:0#CONFIG_PENDING' has been added.
2018-01-12 12:14:01.659 [.ItemChannelLinkAddedEvent] - Link 'SZ_HEIZUNG_Fault-homematic:HG-HM-CC-RT-DN:ccu:MEQ0251036:4#FAULT_REPORTING' has been added.
2018-01-12 12:14:01.659 [.ItemChannelLinkAddedEvent] - Link 'SZ_HEIZUNG_BoostMode-homematic:HG-HM-CC-RT-DN:ccu:MEQ0251036:4#BOOST_MODE' has been added.
2018-01-12 12:14:01.659 [.ItemChannelLinkAddedEvent] - Link 'SZ_HEIZUNG_Battery-homematic:HG-HM-CC-RT-DN:ccu:MEQ0251036:4#BATTERY_STATE' has been added.
2018-01-12 12:14:01.660 [.ItemChannelLinkAddedEvent] - Link 'network_pingdevice_192_168_1_101_lastseen-network:pingdevice:192_168_1_101:lastseen' has been added.
2018-01-12 12:14:01.660 [.ItemChannelLinkAddedEvent] - Link 'HZ1_4_ValveState-homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0806768:4#VALVE_STATE' has been added.
2018-01-12 12:14:01.660 [.ItemChannelLinkAddedEvent] - Link 'network_pingdevice_192_168_1_101_latency-network:pingdevice:192_168_1_101:latency' has been added.
2018-01-12 12:14:01.660 [.ItemChannelLinkAddedEvent] - Link 'homematic_HG_HM_CC_RT_DN_e139e0ee_MEQ0251036_4_SET_TEMPERATURE-homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0251036:4#SET_TEMPERATURE' has been added.
2018-01-12 12:14:01.660 [.ItemChannelLinkAddedEvent] - Link 'HZ1_ActualTemperature-homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0806768:4#ACTUAL_TEMPERATURE' has been added.
2018-01-12 12:14:01.661 [.ItemChannelLinkAddedEvent] - Link 'homematic_HG_HM_CC_RT_DN_e139e0ee_MEQ0251036_4_ACTUAL_TEMPERATURE-homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0251036:4#ACTUAL_TEMPERATURE' has been added.
2018-01-12 12:14:01.661 [.ItemChannelLinkAddedEvent] - Link 'homematic_HG_HM_CC_RT_DN_e139e0ee_MEQ0251036_4_VALVE_STATE-homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0251036:4#VALVE_STATE' has been added.
2018-01-12 12:14:01.661 [.ItemChannelLinkAddedEvent] - Link 'network_pingdevice_192_168_1_101_online-network:pingdevice:192_168_1_101:online' has been added.
2018-01-12 12:14:01.662 [.ItemChannelLinkAddedEvent] - Link 'HZ1_SetTemperature-homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0806768:4#SET_TEMPERATURE' has been added.
2018-01-12 12:14:01.823 [hingStatusInfoChangedEvent] - 'network:pingdevice:192_168_1_101' changed from UNINITIALIZED to INITIALIZING
2018-01-12 12:14:01.942 [hingStatusInfoChangedEvent] - 'network:pingdevice:192_168_1_101' changed from INITIALIZING to ONLINE
2018-01-12 12:14:01.963 [me.event.ThingUpdatedEvent] - Thing 'network:pingdevice:192_168_1_101' has been updated.
2018-01-12 12:14:02.030 [vent.ItemStateChangedEvent] - DEV_VIRTUAL_ipfire changed from NULL to ON
2018-01-12 12:14:02.094 [me.event.ThingUpdatedEvent] - Thing 'network:pingdevice:192_168_1_101' has been updated.
2018-01-12 12:14:03.019 [hingStatusInfoChangedEvent] - 'homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0251036' changed from UNINITIALIZED to UNINITIALIZED (BRIDGE_UNINITIALIZED)
2018-01-12 12:14:03.023 [hingStatusInfoChangedEvent] - 'homematic:GATEWAY-EXTRAS-E139E0EE:e139e0ee:GWE00000000' changed from UNINITIALIZED to UNINITIALIZED (BRIDGE_UNINITIALIZED)
2018-01-12 12:14:03.032 [hingStatusInfoChangedEvent] - 'homematic:bridge:e139e0ee' changed from UNINITIALIZED to INITIALIZING
2018-01-12 12:14:03.059 [hingStatusInfoChangedEvent] - 'homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0806768' changed from UNINITIALIZED to UNINITIALIZED (BRIDGE_UNINITIALIZED)
2018-01-12 12:14:03.466 [hingStatusInfoChangedEvent] - 'homematic:bridge:e139e0ee' changed from INITIALIZING to ONLINE
2018-01-12 12:14:03.493 [hingStatusInfoChangedEvent] - 'homematic:GATEWAY-EXTRAS-E139E0EE:e139e0ee:GWE00000000' changed from UNINITIALIZED (BRIDGE_UNINITIALIZED) to INITIALIZING
2018-01-12 12:14:03.507 [hingStatusInfoChangedEvent] - 'homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0806768' changed from UNINITIALIZED (BRIDGE_UNINITIALIZED) to INITIALIZING
2018-01-12 12:14:03.508 [hingStatusInfoChangedEvent] - 'homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0251036' changed from UNINITIALIZED (BRIDGE_UNINITIALIZED) to INITIALIZING
2018-01-12 12:14:03.509 [hingStatusInfoChangedEvent] - 'homematic:GATEWAY-EXTRAS-E139E0EE:e139e0ee:GWE00000000' changed from INITIALIZING to ONLINE
2018-01-12 12:14:03.530 [hingStatusInfoChangedEvent] - 'homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0251036' changed from INITIALIZING to ONLINE
2018-01-12 12:14:03.538 [hingStatusInfoChangedEvent] - 'homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0806768' changed from INITIALIZING to ONLINE
2018-01-12 12:14:03.582 [vent.ItemStateChangedEvent] - HZ1_SetTemperature changed from NULL to 10.00
2018-01-12 12:14:03.592 [me.event.ThingUpdatedEvent] - Thing 'homematic:GATEWAY-EXTRAS-E139E0EE:e139e0ee:GWE00000000' has been updated.
2018-01-12 12:14:03.609 [me.event.ThingUpdatedEvent] - Thing 'homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0251036' has been updated.
2018-01-12 12:14:03.639 [me.event.ThingUpdatedEvent] - Thing 'homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0806768' has been updated.
2018-01-12 12:14:03.640 [vent.ItemStateChangedEvent] - HZ1_4_ValveState changed from NULL to 0
2018-01-12 12:14:03.641 [vent.ItemStateChangedEvent] - HZ1_ActualTemperature changed from NULL to 16.70
2018-01-12 12:14:03.690 [vent.ItemStateChangedEvent] - homematic_HG_HM_CC_RT_DN_e139e0ee_MEQ0251036_4_SET_TEMPERATURE changed from NULL to 10.00
2018-01-12 12:14:03.691 [vent.ItemStateChangedEvent] - homematic_HG_HM_CC_RT_DN_e139e0ee_MEQ0251036_4_VALVE_STATE changed from NULL to 0
2018-01-12 12:14:03.691 [vent.ItemStateChangedEvent] - homematic_HG_HM_CC_RT_DN_e139e0ee_MEQ0251036_4_ACTUAL_TEMPERATURE changed from NULL to 17.20
2018-01-12 12:14:03.701 [vent.ItemStateChangedEvent] - network_pingdevice_192_168_1_101_latency changed from NULL to 18.0
2018-01-12 12:14:03.701 [vent.ItemStateChangedEvent] - network_pingdevice_192_168_1_101_online changed from NULL to ON
2018-01-12 12:14:03.730 [vent.ItemStateChangedEvent] - network_pingdevice_192_168_1_101_lastseen changed from NULL to 2018-01-12T12:14:01.972+0100
2018-01-12 12:14:03.928 [me.event.ThingUpdatedEvent] - Thing 'homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0806768' has been updated.
2018-01-12 12:14:04.057 [me.event.ThingUpdatedEvent] - Thing 'homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0251036' has been updated.

and this are the last 30 lines of openhab.log

2018-01-12 12:14:03.928 [me.event.ThingUpdatedEvent] - Thing 'homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0806768' has been updated.
2018-01-12 12:14:04.057 [me.event.ThingUpdatedEvent] - Thing 'homematic:HG-HM-CC-RT-DN:e139e0ee:MEQ0251036' has been updated.

root@openhab:/var/log/openhab2# tail -n 30 openhab.log 
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) [87:org.eclipse.jetty.server:9.3.22.v20171030]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [87:org.eclipse.jetty.server:9.3.22.v20171030]
	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80) [191:org.ops4j.pax.web.pax-web-jetty:6.0.7]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) [87:org.eclipse.jetty.server:9.3.22.v20171030]
	at org.eclipse.jetty.server.Server.handle(Server.java:534) [87:org.eclipse.jetty.server:9.3.22.v20171030]
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:333) [87:org.eclipse.jetty.server:9.3.22.v20171030]
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) [87:org.eclipse.jetty.server:9.3.22.v20171030]
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283) [79:org.eclipse.jetty.io:9.3.22.v20171030]
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108) [79:org.eclipse.jetty.io:9.3.22.v20171030]
	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [79:org.eclipse.jetty.io:9.3.22.v20171030]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [90:org.eclipse.jetty.util:9.3.22.v20171030]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [90:org.eclipse.jetty.util:9.3.22.v20171030]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [90:org.eclipse.jetty.util:9.3.22.v20171030]
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [90:org.eclipse.jetty.util:9.3.22.v20171030]
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [90:org.eclipse.jetty.util:9.3.22.v20171030]
	at java.lang.Thread.run(Thread.java:748) [?:?]
2018-01-12 12:15:37.294 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'SZ_Heizung_BoostMode' for widget org.eclipse.smarthome.model.sitemap.Switch
2018-01-12 12:15:37.294 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Switch
2018-01-12 12:15:37.295 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'SZ_Heizung_BoostMode' for widget org.eclipse.smarthome.model.sitemap.Switch
2018-01-12 12:15:37.295 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'SZ_Heizung_BoostMode' for widget org.eclipse.smarthome.model.sitemap.Switch
2018-01-12 12:15:37.295 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'SZ_Heizung_BoostMode' for widget org.eclipse.smarthome.model.sitemap.Switch
2018-01-12 12:15:37.295 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2018-01-12 12:15:37.296 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve visibility item SZ_Heizung_BoostTime for widget org.eclipse.smarthome.model.sitemap.Text
2018-01-12 12:15:37.296 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'SZ_Heizung_BoostTime' for widget org.eclipse.smarthome.model.sitemap.Text
2018-01-12 12:15:37.296 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'SZ_Heizung_BoostTime' for widget org.eclipse.smarthome.model.sitemap.Text
2018-01-12 12:15:37.297 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'SZ_Heizung_BoostTime' for widget org.eclipse.smarthome.model.sitemap.Text
2018-01-12 12:15:37.297 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2018-01-12 12:15:37.297 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'SZ_Heizung_Valve' for widget org.eclipse.smarthome.model.sitemap.Text
2018-01-12 12:15:37.298 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'SZ_Heizung_Valve' for widget org.eclipse.smarthome.model.sitemap.Text
2018-01-12 12:15:37.298 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'SZ_Heizung_Valve' for widget org.eclipse.smarthome.model.sitemap.Text

Bfo

There is more than one problem
the item is named SZ_HEIZUNG_BoostTime
in sitemaps you use SZ_Heizung_BoostTime

replace [%d min] with [%s min] or [%.1f min]

Hi,

i have made the replaces and have now the following items file:

Group                     Heating_Group          "Heizung Gesamt"                               <heating>         (default)
Group                     Heating_WZ             "Heizung Wohnzimmer"                           <heating>         (Heating_Group)
Group                     Heating_FK             "Heizung Flur/Kueche"                          <heating>         (Heating_Group)
Group                     Heating_SZ             "Heizung Schlafzimmer"                         <heating>         (Heating_Group)
Group                     Heating_BD             "Heizung Bad"                                  <heating>         (Heating_Group)
Group:Number:AVG          Heating_TargetTemps    "Raumtemperaturen Soll [%.1f °C]"              <temperature>     (Heating_Group)
Group:Switch:OR(ON, OFF)  Heating_ValveSettings  "Aktive Heizkoerper [%s]"                      <heating>         (Heating_Group)
Group                     Heating_OpModes        "Raumtemperaturen Mode [%.1f °C]"              <"heating-off">   (Heating_Group)
Group:Number:AVG          Heating_TargetPresets  "Raumtemperaturen Soll Zeitprogramm [%.1f °C]" <line>            (Heating_Group)
Group:NUMBER:SUM          Heating_WindowModes    "Fensterabsenkung"                             <window>          (Heating_Group)


// HM-CC-RT-DN Heizkoerperthermostat
Number SZ_HEIZUNG_RSSI       "SZ_HEIZUNG RSSI [%s dBm]"                         <"signal-3">      (Heating_SZ,RSSI_Group)               {channel="homematic:HG-HM-CC-RT-DN:ccu:MEQ0251036:0#RSSI_DEVICE"}
Switch SZ_HEIZUNG_Unreach    "SZ_HEIZUNG unreachable"                           <siren>           (Heating_SZ,Unreach_Group)            {channel="homematic:HG-HM-CC-RT-DN:ccu:MEQ0251036:0#UNREACH"}
Switch SZ_HEIZUNG_Pending    "SZ_HEIZUNG config pending"                        <siren>           (Heating_SZ,Pending_Group)            {channel="homematic:HG-HM-CC-RT-DN:ccu:MEQ0251036:0#CONFIG_PENDING"}
Number SZ_HEIZUNG_Battery    "SZ_HEIZUNG Batteriezustand [%.1f V]"              <"battery-100">   (Heating_SZ,Bat_Volts)                {channel="homematic:HG-HM-CC-RT-DN:ccu:MEQ0251036:4#BATTERY_STATE"}
String SZ_HEIZUNG_Fault      "SZ_HEIZUNG Fehlerwert [MAP(HM-CC-RT-DN.map):%s]"  <error2>          (Heating_SZ,Error_Group)              {channel="homematic:HG-HM-CC-RT-DN:ccu:MEQ0251036:4#FAULT_REPORTING"}
Number SZ_HEIZUNG_ActTemp    "SZ_HEIZUNG Ist-Temperatur [%.1f °C]"              <tmperature>      (Heating_SZ,Temperatures)             {channel="homematic:HG-HM-CC-RT-DN:ccu:MEQ0251036:4#ACTUAL_TEMPERATURE"}
Number SZ_HEIZUNG_SetTemp    "SZ_HEIZUNG Soll-Temperatur [%.1f °C]"             <temperture>      (Heating_SZ,Heating_TargetTemps)      {channel="homematic:HG-HM-CC-RT-DN:ccu:MEQ0251036:4#SET_TEMPERATURE"}
Number SZ_HEIZUNG_Valve      "SZ_HEIZUNG Ventilstellung [%s %%]"                <heating>         (Heating_SZ,Heating_ValveSettings)    {channel="homematic:HG-HM-CC-RT-DN:ccu:MEQ0251036:4#VALVE_STATE"}
String SZ_HEIZUNG_Mode       "SZ_HEIZUNG Betriebsart [MAP(HM-CC-RT-DN.map):%s]" <"heating-off">   (Heating_SZ,Heating_OpModes)          {channel="homematic:HG-HM-CC-RT-DN:ccu:MEQ0251036:4#CONTROL_MODE"}
Switch SZ_HEIZUNG_Auto       "SZ_HEIZUNG Auto-Mode"                             <temperature>     (Heating_SZ)                          {channel="homematic:HG-HM-CC-RT-DN:ccu:MEQ0251036:4#AUTO_MODE"}
Number SZ_HEIZUNG_Manu       "SZ_HEIZUNG Manu-Mode [%.1f °C]"                   <"heatig-40">     (Heating_SZ)                          {channel="homematic:HG-HM-CC-RT-DN:ccu:MEQ0251036:4#MANU_MODE"}
Switch SZ_HEIZUNG_BoostMode  "SZ_HEIZUNG Boost-Mode"                            <fire>            (Heating_SZ)                          {channel="homematic:HG-HM-CC-RT-DN:ccu:MEQ0251036:4#BOOST_MODE"}
Number SZ_HEIZUNG_BoostTime  "SZ_HEIZUNG Boost-Restdauer [%s min]"              <"clock-on">      (Heating_SZ)                          {channel="homematic:HG-HM-CC-RT-DN:ccu:MEQ0251036:4#BOOST_STATE"}
Switch SZ_HEIZUNG_WindowMode "SZ_HEIZUNG Fensterabsenkung"                      <window>          (Heating_SZ,Heating_WindowModes)
Number SZ_HEIZUNG_Preset     "SZ_HEIZUNG Soll-Temperatur Schnellauswahl"        <"heating-60">    (Heating_SZ)
Number SZ_HEIZUNG_PresetTemp "SZ_HEIZUNG Soll-Temperatur Zeitprogramm [%.1f °C" <line>            (Heating_SZ,Heating_TargetPresets)
String SZ_HEIZUNG_Summary    "SZ_HEIZUNG Uebersicht [%s]"                       <thermometer_red> (Heating_SZ)

and this sitemap file:

sitemap default label="Sitemap" {

  Frame label="Speedtest" {
    Text item=SpeedtestSummary {
      Frame label="Ergebnisse" {
        Text item=SpeedtestResultDown
        Text item=SpeedtestResultUp
        Text item=SpeedtestResultPing
      }
      Frame label="Steuerung" {
        Text item=SpeedtestResultDate
        Text item=SpeedtestRunning label="Speedtest [%s]" visibility=[SpeedtestRunning != "-"]
        Switch item=SpeedtestRerun mappings=[ON="Start"]
      }
      Frame label="Statistik" {
        Text label="day" icon="speedtest_analytics8"
      }
    }
  }

  Frame label="Temperaturen und Heizung" {
        //
        Selection item=Whg_Heating_Mode label="Heizmodus (Wohnung) []" mappings=[
            NORMAL="Normal",
            PARTY="Party",
            SICKDAY="Krankheitstag",
            WEEKEND_TRIP="Wochenendtrip",
            AWAY="Unterwegs",
            OFF_SUMMER="Aus (Sommer-Standby)"
        ]

        Text item=SZ_HEIZUNG_Fault label="Schlafzimmer [MAP(HM-CC-RT-DN.map):%s]" visibility=[SZ_HEIZUNG_Fault != NO_FAULT] valuecolor=[!=NO_FAULT="maroon"]
        Text item=SZ_HEIZUNG_Summary label="Schlafzimmer [%s]" visibility=[SZ_HEIZUNG_Unreach == OFF] {
            Frame label="Temperatur" {
                Text item=SZ_HEIZUNG_ActTemp label="Aktuelle Temperatur [%.1f °C]"
            }
            Frame label="Heizung" {
                Setpoint item=SZ_HEIZUNG_SetTemp label="Stellwert (±1) [%.1f °C]" minValue=4.5 maxValue=30.5 step=1.0 visibility=[SZ_HEIZUNG_SetTemp > 4.5]
                Setpoint item=SZ_HEIZUNG_SetTemp label="Stellwert (±½) [%.1f °C]" minValue=4.5 maxValue=30.5 step=0.5 visibility=[SZ_HEIZUNG_SetTemp > 4.5]
                Switch item=SZ_HEIZUNG_SetTemp label="Stellglied [OFF]" mappings=[5.0=Einschalten] visibility=[SZ_HEIZUNG_SetTemp == 4.5]
                Switch item=SZ_HEIZUNG_Preset label="Schnellwahl" mappings=[0="Abgesenkt", 1="Komfort", 2="Warm"]
                Switch item=SZ_HEIZUNG_BoostMode label="Boost (5min)" mappings=[ON="Starten"]
                Text item=SZ_HEIZUNG_BoostTime label="Boost-Restzeit [%s min]" visibility=[SZ_HEIZUNG_BoostTime > 0]
                Text item=SZ_HEIZUNG_Valve label="Ventilstellung [%s %%]"
            }
        }
        Text label="Schlafzimmer Heizstellglied [N/A �]" icon="error2" visibility=[SZ_HEIZUNG_Unreach != OFF]
    }

}

but … no values from “Heizung”… This is disappointing (for me). Is there no other way to generate the items/maps/ect. files without the chance of stupid user input mistakes (like me)?
The syntax looks complicated and the possibilities are unmanageable (for me).

bfo

I add this for my test (to get values)

rule "SS"
when
	System started
then
SZ_HEIZUNG_BoostTime.postUpdate(5.3)
SZ_HEIZUNG_Unreach.postUpdate(OFF)
end

.
and get
.
hc_159

@bforpc You cold use visual studio code and the openhab extension. This helps you with names etc.

for a first simple test I would use

sitemap tmp1 label="TMP1" {
Group item=Heating_SZ
}

Hi Harry,

thanks for our answer. But i’m totally confused. Sorry… “where” shoud i post

rule "SS"
when
	System started
then
SZ_HEIZUNG_BoostTime.postUpdate(5.3)
SZ_HEIZUNG_Unreach.postUpdate(OFF)
end

this?
Shoud i create a new file? and if yes, for what (item file, sitemap, rule,…)

Bfo

No, it’s only for my test, to get values, because I have no homematic hardware.
You sould get the values form there, if not, there is another problem, but stepp by stepp.
If you would use for test, create a rule.file.

With this i get a nice overview - but without any values.

With the created rules file, i see the value 5.3 in the sitemap.

Bfo