Domintell integration

https://drive.google.com/drive/folders/16nvo0yLhG0Evh5asQ_RKcYyOZ4op2fCb?usp=sharing

works great again thx!!

Hello everybody,
I am now at the stage to begin my openhab configuration.
1st step is to get my openhab container running 3.1.0 then I will try to integrate my domintell things and item using the binding.
Any advice about the best way to do it is welcome.

Hello Tom, you are the last that use recently the domintell binding on Openhab 3 if I understood well. Could you please indicate me where I can find the documentation of this binding because all the link previously given in this conversation are going to remove pages of the GitHub of Gabor.
My openhab 3.1.0 is running on RPI4 in a docker in IOTStack configuration .
I found the link with the google drive where to find the jar file of the binding and understood that I have to copy it manually to addons directory on my RPi but did not find how to make it working.
For my begining on Openhab, I use the UI to test some binding and function.
Perhaps, this domintell binding can work only with the config file mode that I will investigate soon.
If you can share some config file for this, I would appreciate. I already installed VScode with Openhab extension.
In my domintell config I have on-off lamps, dimmed lamps, and one roll shutter module, ism8 with push button and some old domintell push button with Blue/red led.
Thanks for any help

Hello Gabor, thank you for the update to 3.1.0. Where can I find the documentation of how to use this binding that is not available in the official Openhab list.

Hey pierre!

can u tell me in which directory? My openhab is running on RPI4 but it is the openhabian version. What automatically downloads everything. So the directory i have to copy the jar file in is : /usr/share/openhab/addons, but in your case i found this. Maybe this link could help ? openHAB3 docker; unable to install addons - #15 by Schnuecks

I Use the UI to find al my domintell stuff and then i use the Item file to configure my items.
Domintell.txt (5.4 KB)

Thanks Tom,
I will check again.
Do I need to extract the file from the TAR file I downloaded from google drive?

The link on GitHub where I am am supposed to find the domintell binding documentation are not working any more. Can you give me another link or share with me documentation you would have downloaded before ?

So creating the thing by discovering would be nice…
Do you now if there is some tools to create Openhab item file from the domintell configuration file where the relationship between module , IO and function is already coded…
I opened one time the Domintel file, they are text and have a special structure but this should be possible…

Édit 7 décember:
After more investigation and trouble using the visual code extension, I decided to try reinstall from scratch openhabian on a RPi 3b+ … like this It will be easier to compare … later I can try Openhab on IOTStack …

Hello Tom,
after installing openhabian, I could now get domintell binding running. My DETH02 was added as a thing after coming in my inbox.
The IP address is correct and DETH02 is working well with my domintell app on my Ipad connected on same network…
Now it is online, how does-it work to discover the domintell things through the UI?

Hi Pierre,
You should have a thing for Domintell Bridge

with a channel named System Command

Create String type item and link it to this channel. You can use the UI for this (Add Link to Item…)
If you send a command AppInfo or Scan to this item the binding will fill your inbox with your Domintell things. If you want to use the UI then select the item you’ve create above and if you click the value on the top (the value is already AppInfo on the screenshot or you will see NULL) then options will pop up at the bottom of the page

BR

Thanks,
where can i find the documentation of of to use this nice Binding?
i could not see any thing coming in my inbox
the loc are the following
´´´
==> /var/log/openhab/events.log <==
2021-12-08 20:43:45.350 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘DomintellBridge_SystemCommand’ received command SCAN
2021-12-08 20:43:45.352 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item ‘DomintellBridge_SystemCommand’ predicted to become SCAN
2021-12-08 20:43:45.361 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘DomintellBridge_SystemCommand’ changed from NULL to SCAN

==> /var/log/openhab/openhab.log <==
2021-12-08 20:44:40.287 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:44:40.290 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:44:44.284 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:44:44.287 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:44:54.294 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:44:54.304 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:45:55.366 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:45:55.369 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:45:59.309 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:45:59.316 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:46:09.319 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:46:09.328 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:47:10.390 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:47:10.393 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:47:14.333 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:47:14.336 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:47:24.342 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:47:24.355 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.

==> /var/log/openhab/events.log <==
2021-12-08 20:48:03.140 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘domintell:bridge:DETH02’ changed from ONLINE to OFFLINE
2021-12-08 20:48:03.148 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘domintell:group:DETH02:variable’ changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)
2021-12-08 20:48:03.151 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘domintell:bridge:DETH02’ changed from ONLINE to UNKNOWN
2021-12-08 20:48:03.161 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘domintell:bridge:DETH02’ changed from UNKNOWN to ONLINE
2021-12-08 20:48:03.166 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘domintell:group:DETH02:variable’ changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
2021-12-08 20:48:14.340 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘DomintellBridge_SystemDate’ changed from 0021-12-06T18:51:28.000+0053 to 0021-12-06T20:16:28.000+0053

==> /var/log/openhab/openhab.log <==
2021-12-08 20:48:25.417 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:48:25.419 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:48:29.360 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:48:29.363 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:48:39.370 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:48:39.380 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:49:40.433 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:49:40.435 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:49:44.385 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:49:44.388 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:49:54.391 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:49:54.400 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.

i tried also the AppInfo command a,d the result in the log is:
==> /var/log/openhab/events.log <==
2021-12-08 20:48:03.161 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘domintell:bridge:DETH02’ changed from UNKNOWN to ONLINE
2021-12-08 20:48:03.166 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘domintell:group:DETH02:variable’ changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
2021-12-08 20:48:14.340 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘DomintellBridge_SystemDate’ changed from 0021-12-06T18:51:28.000+0053 to 0021-12-06T20:16:28.000+0053
2021-12-08 20:56:36.317 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘DomintellBridge_SystemCommand’ received command APPINFO
2021-12-08 20:56:36.319 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item ‘DomintellBridge_SystemCommand’ predicted to become APPINFO
2021-12-08 20:56:36.327 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘DomintellBridge_SystemCommand’ changed from SCAN to APPINFO
2021-12-08 20:56:51.677 [INFO ] [openhab.event.ItemUpdatedEvent ] - Item ‘DomintellBridge_SystemCommand’ has been updated.
2021-12-08 20:56:58.430 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘DomintellBridge_SystemCommand’ received command APPINFO
2021-12-08 20:56:58.434 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item ‘DomintellBridge_SystemCommand’ predicted to become APPINFO
2021-12-08 20:56:58.439 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘DomintellBridge_SystemCommand’ changed from NULL to APPINFO

==> /var/log/openhab/openhab.log <==
2021-12-08 20:58:25.617 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:58:25.620 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:58:29.560 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:58:29.563 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:58:39.569 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.
2021-12-08 20:58:39.579 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler DomintellBridgeHandler tried updating the thing status although the handler was already disposed.

HI,
Get the binding PID:

openhab> bundle:list |grep Domintell
239 │ Active │  80 │ 3.2.0.202110060737    │ openHAB Add-ons :: Bundles :: Domintell Binding`

Enable the background discovery:

openhab> openhab:discovery enableBackgroundDiscovery 239
Background discovery for discovery service '239' was set to true.

Stop/start the dinding

openhab> bundle:stop 239
openhab> bundle:update 239
openhab> bundle:start 239

Send the AppInfo command described above and scan for new things by binding on the UI.
BR

Hello Gabor,
Thanks for your answer.
I followed your instructions and after that 4 domintell module were discovered and added to my inbox. That is already better .
2 of my 5 ISM were discovered
2 of my 3 BIR were discovered
I have in addition some B2 B4 B6 button modules, one DIM, one DMR and one DTRV
How can I add them?
I tried activate appinfo and then scan again but without more result in my inbox.
Thanks for your support.
BR
Pierre

well you can set debug level to trace and check if there are messages from those missing modules after an APPINFO. btw i always use text files to define things to be able to recover the config e.g after an upgrade if something goes south… I recommend you the same…

Hello Gabor,
This morning I found 3 more modules in my inbox (1 BIr, one ISM and one BU4) .
This is also my idea to work with file.
I was thinking that i can start with UI and then duplicate with Text file but it seems that UI does not generate the related text config file and that there is no way to export a UI config to text file in order to edit them or understand what text code would generate the same config as done manually in UI.

Sorry to ask again, there were in the past here in this thread some link to a documentation stored on your github. These popular link listed in the beginnning of this thread are not working for me (error 404). Could you please tell me where i can find the doc of the binding. This will avoid probably many question that could be simply answered by reading the doc. Perhaps, it is simply in one directory of the JAR file but i did not find it.

and this is my things file:

//bridge
Bridge domintell:bridge:DETH02 "Domintell Bridge" [address="10.200.0.6", port=17481] {
	//things 
	Thing moduleBIR 2C1A "Domintell - BIR 11290/0x2C1A" [ moduleType="BIR", serialNumber="11290" ]
	Thing moduleBIR 2C37 "Domintell - BIR 11319/0x2C37" [ moduleType="BIR", serialNumber="11319" ]
	Thing moduleBIR 2C38 "Domintell - BIR 11320/0x2C38" [ moduleType="BIR", serialNumber="11320" ]
	Thing moduleBIR 4FF7 "Domintell - BIR 20471/0x4FF7" [ moduleType="BIR", serialNumber="20471" ]
	Thing moduleBIR 2646 "Domintell - BIR 9798/0x2646"  [ moduleType="BIR", serialNumber="9798" ]
	Thing moduleBIR 5421 "Domintell - BIR 21537/0x5421" [ moduleType="BIR", serialNumber="21537" ]

	Thing moduleDMR 512 "Domintell - DMR 1298/0x512" [ moduleType="DMR", serialNumber="1298" ]
	Thing moduleDMR 528 "Domintell - DMR 1320/0x528" [ moduleType="DMR", serialNumber="1320" ]
	Thing moduleDMR 60B "Domintell - DMR 1547/0x60B" [ moduleType="DMR", serialNumber="1547" ]

	Thing modulePBx EEF "Domintell - BU2 3823/0xEEF" [ moduleType="BU2", serialNumber="3823" ]
	Thing modulePBx EF5 "Domintell - BU2 3829/0xEF5" [ moduleType="BU2", serialNumber="3829" ]

	Thing moduleIS8 2D75 "Domintell - IS8 11637/0x2D75" [ moduleType="IS8", serialNumber="11637" ]
	Thing moduleIS8 36C9 "Domintell - IS8 14025/0x36C9" [ moduleType="IS8", serialNumber="14025" ] {
		Channels:
			Type contact:3 [inverted=true]
			Type contact:5 [inverted=true]
			Type contact:6 [inverted=true]
	} 
	
	Thing moduleIS8 36D3 "Domintell - IS8 14035/0x36D3" [ moduleType="IS8", serialNumber="14035" ] {
		Channels:
			Type contact:2 [firePushEvents=true]
			Type contact:4 [firePushEvents=true]
			Type contact:6 [firePushEvents=true]
	}
	Thing moduleIS8 5FEB "Domintell - IS8 24555/0x5FEB" [ moduleType="IS8", serialNumber="24555" ]
	Thing moduleIS8 629D "Domintell - IS8 25245/0x629D" [ moduleType="IS8", serialNumber="25245" ] {
		Channels:
			Type contact:1 [inverted=false]
	}
	Thing moduleIS8 63BA "Domintell - IS8 25530/0x63BA" [ moduleType="IS8", serialNumber="25530" ] {
		Channels:
			Type contact:7 [inverted=true]
	}
	Thing moduleTEx AB9 "Domintell - TE1 2745/0xAB9" [ moduleType="TE1", serialNumber="2745" ]
	Thing moduleTEx C8A "Domintell - TE1 3210/0xC8A" [ moduleType="TE1", serialNumber="3210" ]
}

I hope it’ll help…

Great Gabor!

I also discovered yesterday a very nice tool that allows to collect, edit and duplicate Openhab object created using the UI.
This works with the rest API and create YAML files easy to edit.
This was published 10 days ago in the tutorial section of the forum .

Using this tool, I should be able to duplicate the things that were not discovered by changing their UID .

Actually it’s very simple to create this thing file as you can get all the IDs (serial number, dec and hex) from the Domintell’s own software…

I finally decided to migrate to OH 3 but after many problems trying to migrate from 2.5 to 3 Idid a fresh Install and copied my files.

The only file I had to modify was the domintell Things file and some rules.

The only things I still struggle to config via file is the RFXCOM so I had to manually recreate each things and items via the UI…

But I still don’t understand how to setup my domintell items file to be able to use the long or double press of the binding.

It would be very usefull for me that someone posts his items and things file and even a rule. That would help me very much.

It’s very very cool to be able to use domintell with openhab 3.

Or do I just have to create a My Button item and add this

String myButton "My Button" {channel="domintell:moduleIS8:DETH02:5FEB:buttonTrigger  [profile="domintell:button-trigger", contactIdx="7"], autoupdate="false"}

To my items file and create a rule?