Domintell integration

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?

This is the item:

String                      STC_Light_MSwitch            "Manual Switch"                     <light>           (STC_Light, gManualLightSwitch)    ["Status"]
{
    channel="domintell:moduleIS8:DETH02:36D3:buttonTrigger" [profile="domintell:button-trigger", contactIdx="6"],
    autoupdate="false"
}

and this is a JS function (called from a rule) to handle the event:

context.handleManualSwitch = function (itemName, command) {
        logger.debug("Manual switch " + itemName + " received command: " + command);
        if (command == "LongPush") {
//do something
        }
    }

Hi everybody. I finally replaced my DGQG01 by a DGQG04, that includes the DETH02 functionality. So maybe it’s time for me to consider using OpenHab . Is an old Rpi sufficient for OpenHab ? I used to make some cloud links with an ESP bridge, but that’s broken now.

Any reason why the Domintell logo is not in the list of integrations on the home page ? Is this “unsupported” ? Can I find the DGQG04 or should I use the DETH02 alias for it ?

hey Christoph,
I also ugraded my master, and now i only can read the status of my switches but can’t sent a command. Did you got it to work?

Hi,
I’ve compiled a new version for OH4.
BR

Hey!! Everthing works fine! thx for the update!

Hi just wondering if someone has been able to make this binding work with the latest drag masters…

Thank you so much! Just upgraded to OH 4 flawlessly. Fresh install with restore from 3.2.

Then I put your binding in the add on folder and then everything was working again.

Still need to try to use the long push functionality though, I need to try some day.