Openhab2 vs, homematic-binding

Hi there,

just being new to the oh2 world - i can’t get homematic binding (version 2.0.0) rund.

In the log everything seems fine:

`2016-02-11 05:05:35.734 [INFO ] [ematic.internal.bus.HomematicBinding] - HomematicConfig[host=192.168.178.101,timeout=15,callbackHost=192.168.178.5$
2016-02-11 05:05:35.736 [INFO ] [l.communicator.HomematicCommunicator] - Starting Homematic communicator
2016-02-11 05:05:35.818 [INFO ] [l.communicator.HomematicCommunicator] - Homematic ServerId[name=CCU,version=2.13.7,address=LEQ0643952]
2016-02-11 05:05:35.840 [INFO ] [ternal.communicator.client.CcuClient] - Starting CcuClient
2016-02-11 05:05:35.986 [INFO ] [ic.internal.communicator.StateHolder] - Loading Homematic datapoints
2016-02-11 05:05:36.045 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Started HABmin servlet at /habmin
2016-02-11 05:05:36.964 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2016-02-11 05:05:37.036 [INFO ] [assic.internal.servlet.WebAppServlet] - Started Classic UI at /classicui/app
2016-02-11 05:05:37.099 [INFO ] [.openhab.core.internal.CoreActivator] - openHAB runtime has been started (v2.0.0, build 201601310204).
2016-02-11 05:05:41.507 [INFO ] [ic.internal.communicator.StateHolder] - Finished loading 1161 Homematic datapoints
2016-02-11 05:05:41.511 [INFO ] [ic.internal.communicator.StateHolder] - Loading Homematic Server variables
2016-02-11 05:05:41.595 [INFO ] [ic.internal.communicator.StateHolder] - Finished loading 16 Homematic server variables
2016-02-11 05:05:41.599 [INFO ] [unicator.server.BinRpcCallbackServer] - Starting BinRpcCallbackServer at port 9123
2016-02-11 05:05:42.035 [INFO ] [nal.communicator.client.BinRpcClient] - Interface BidCos-Wired not available, disabling support.
2016-02-11 05:05:42.049 [INFO ] [l.communicator.HomematicCommunicator] - Scheduling one datapoint reload job in one minute
2016-02-11 05:05:42.058 [INFO ] [b.core.service.AbstractActiveService] - Homematic server connection tracker has been started

Perhaps it is a silly question - but were can i now find the datapoints, the devices etc.?

Thanks for helping…
Greetings Dominic

`

Just installed habmin2. Cool piece of Software. But also in habmin2 i can Not find any homematic datapoint.

Cous anyone give me advice/a Short tutorial?

Hi Dominic,

for the Homematic item definition you need to three information:

  1. The address of the device. You can find it in the Homematic Administration. Its identical to the serial
    number of the devices.

  2. The channel: most device provide different information and can execute different actions. Therefore you will also need the “channel”.

  3. Parameter: this is the value that you want to query or set.

This is an example of the item definitions some devices that I am using to control my heating:

Number lrTemp "Current Temp [%.1f °C]" <temperature>  {homematic="address=MEQxxxxx, channel=4, parameter=ACTUAL_TEMPERATURE"} 
Number lrVentil "Ventilstand [%2d %%]" <slider> {homematic="address=MEQxxxxx, channel=4, parameter=VALVE_STATE"}
Number lrSollTemp "Solltemperatur [%.1f °C]" <test> {homematic="address=MEQ1xxxxxxx, channel=4, parameter=SET_TEMPERATURE"}
Contact lrWindow "Bath_Window [MAP(window.map):%s]"      <contact>   {homematic="address=MEQxxxxxx, channel=1, parameter=STATE"}

This manual contains a documentation of all devices http://www.eq-3.de/downloads.html?kat=download&id=90

Another way to get information about the installed devices chanels and parmeters is to install the XML-API extension on the CCU-2. Via the XML-API you can get a list of all devices together with the necessary information.

Martin

Is the terminology for the items derinition the same in openHAB2?

I can control my item via the Control-tab of the Paper UI. Using the item-definition of openHAB 1.7 and seting it up on the sidemap gives me a switch on the Basic UI but no reaction on the item.

Here the Log:

2016-06-20 23:18:29.998 [INFO ] [marthome.event.ItemStateChangedEvent] - homematic_HM_LC_Dim1T_FM_8f146247_LEQ1234567_1_LEVEL changed from 99 to 0
2016-06-20 23:18:33.259 [INFO ] [smarthome.event.ItemCommandEvent    ] - Item 'homematic_HM_LC_Dim1T_FM_8f146247_LEQ1234567_1_LEVEL' received command ON
2016-06-20 23:18:33.273 [INFO ] [marthome.event.ItemStateChangedEvent] - homematic_HM_LC_Dim1T_FM_8f146247_LEQ1234567_1_LEVEL changed from 0 to 100
2016-06-20 23:18:36.571 [INFO ] [marthome.event.ItemStateChangedEvent] - homematic_HM_LC_Dim1T_FM_8f146247_LEQ1234567_1_LEVEL changed from 100 to 99
2016-06-20 23:18:36.598 [INFO ] [smarthome.event.ItemCommandEvent    ] - Item 'homematic_HM_LC_Dim1T_FM_8f146247_LEQ1234567_1_LEVEL' received command 90
2016-06-20 23:18:36.608 [INFO ] [marthome.event.ItemStateChangedEvent] - homematic_HM_LC_Dim1T_FM_8f146247_LEQ1234567_1_LEVEL changed from 99 to 90
2016-06-20 23:18:36.870 [INFO ] [marthome.event.ItemStateChangedEvent] - homematic_HM_LC_Dim1T_FM_8f146247_LEQ1234567_1_LEVEL changed from 90 to 93
2016-06-20 23:18:36.896 [INFO ] [smarthome.event.ItemCommandEvent    ] - Item 'homematic_HM_LC_Dim1T_FM_8f146247_LEQ1234567_1_LEVEL' received command 86
2016-06-20 23:18:36.907 [INFO ] [marthome.event.ItemStateChangedEvent] - homematic_HM_LC_Dim1T_FM_8f146247_LEQ1234567_1_LEVEL changed from 93 to 86
2016-06-20 23:18:43.651 [INFO ] [smarthome.event.ItemCommandEvent    ] - Item 'Light_Esstisch' received command 0
2016-06-20 23:18:43.669 [INFO ] [marthome.event.ItemStateChangedEvent] - Light_Esstisch changed from 36 to 0
2016-06-20 23:18:43.846 [INFO ] [smarthome.event.ItemCommandEvent    ] - Item 'Light_Esstisch' received command 0
2016-06-20 23:18:47.531 [INFO ] [smarthome.event.ItemCommandEvent    ] - Item 'Light_Esstisch' received command 100
2016-06-20 23:18:47.551 [INFO ] [marthome.event.ItemStateChangedEvent] - Light_Esstisch changed from 0 to 100
2016-06-20 23:18:47.733 [INFO ] [smarthome.event.ItemCommandEvent    ] - Item 'Light_Esstisch' received command 100

My Item:
Dimmer Light_Esstisch "Esstisch [%d %%]" <slider> {homematic="address=LEQ1234567, channel=1, parameter=LEVEL"}

…and my sitemap:
Slider item=Light_Esstisch

Any idea where the missing link is?

Okay, got it solved. This is the item name. Now just the question: How to give it a speaking name?

The defined name of the item in Paper UI > Configuration > Things is not submitted.

The address address=LEQ1234567 in the item definition seems not to be enough to define the item.

The binding seems to have some problems to get the correct names from the CCU and sometimes it gets the correct names but then forgets them.
That’s why I have created a .items file by hand with all my Homemtatic components. Unfortunately you will have to use the full name for the channel reference (like this one Number tempBalkon "Temperatur [%.1f °C]" <temperature> {channel="homematic:HM-WDS10-TH-O:40efc356:MEQ0202430:1#TEMPERATURE"}).