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):
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
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).
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.