TA CMI - need help [solved]

Dear all,
I am trying to get the TA CMI Binding to work.
Setup:
Ubuntu 16.04 with ppa of openhab2

I installed the TACMI Binding manually by coping the jar file to /usr/share/openhab2/addons and created a cfg under /etc/openhab2/services. I also installes the openhab-runtime-compat1x feature. From my point of view I think it is working:

openhab> bundle:list -s | grep cmi
183 | Active   |  80 | 1.9.0   | openHAB TACmi Binding   | org.openhab.binding.tacmi

Via tcpdump I see that the CMI is sending data to the openhab IP with udp 5441:

tcpdump -i ens3 -v | grep 5441                                    
tcpdump: listening on ens3, link-type EN10MB (Ethernet), capture size 262144 bytes                                         
CMI.localdomain.5441 > openhab.localdomain.5441: UDP, length 14
CMI.localdomain.5441 > openhab.localdomain.5441: UDP, length 14

From the openhab2.log I see, that tacmi has been started:

2017-04-15 17:08:02.285 [INFO ] [b.core.service.AbstractActiveService] - TACmi Refresh Service has been started

But in the WebUi (Paper and Habmin) I cannot see the tacmi plugin and I cannot see any values served by it. Hopefully somebody can point me to the problem and help me.

Thanks in advance.

Best regards
Ben

Ok I finally was able to solve the problem.

First you need to activate the openhab-runtime-compat1x addon

ssh localhost -l openhab -p 8101
feature:install openhab-runtime-compat1x

and copy the tacmi add-on to your add-on folder.

create the file: /etc/openhab2/services/tacmi.cfg

############################## TACmi Binding ##############################
#
# Refresh interval in milliseconds (optional, defaults to 300000)
tacmi:refresh=20
# IP or hostname of the CMI device
tacmi:cmiAddress=192.168.0.251

create file: /etc/openhab2/items/tacmi.items

Number  Chart_Intervall "Chart_Intervall"

Group Heating_Chart
Number TKollektor "Kollektoren [%.1f]" <heating> (Heating_Chart) {tacmi="50#a#1#Temperature"}
Number TPuffer_1 "Puffer 1 [%.1f]" <heating> (Heating_Chart) {tacmi="50#a#2#Temperature"}
Number TPuffer_2 "Puffer 2 [%.1f]" <heating> (Heating_Chart) {tacmi="50#a#3#Temperature"}
Number TPuffer_3 "Puffer 3 [%.1f]" <heating> (Heating_Chart) {tacmi="50#a#4#Temperature"}
Number THeizkr_VL_1 "VL 1 [%.1f]" <heating> (Heating_Chart) {tacmi="50#a#5#Temperature"}
Number THeizkr_VL_2 "VL 2 [%.1f]" <heating> (Heating_Chart) {tacmi="50#a#6#Temperature"}
Number TAussen "Aussen [%.1f]" <heating> (Heating_Chart) {tacmi="50#a#7#Temperature"}

“50” is the CAN Adresse you configured in the CMI as an output for CoE (Knoten) and 1-7 is Network output (Netzwerkausgang).

Edit your Sitemap file and add a new frame:

    Frame label="Heizung" {
            Text item=TKollektor icon="temperature"
            Text item=TPuffer_1 icon="temperature"
            Text item=TPuffer_2 icon="temperature"
            Text item=TPuffer_3 icon="temperature"
            Text item=THeizkr_VL_1 icon="heating"
            Text item=THeizkr_VL_2 icon="heating"
            Text item=TAussen icon="temperature"
    }