Domintell integration

send logs pls

2019-05-11 13:38:19.374 [ERROR] [.internal.protocol.DomintellRegistry] - Unable to instantiate module: SerialNumber{address=4116}
java.lang.NullPointerException: null
	at org.openhab.binding.domintell.internal.protocol.DomintellRegistry.getDomintellModule(DomintellRegistry.java:86) ~[?:?]
	at org.openhab.binding.domintell.internal.handler.DomintellModuleHandler.<init>(DomintellModuleHandler.java:58) ~[?:?]
	at org.openhab.binding.domintell.internal.handler.DomintellReleyModuleHandler.<init>(DomintellReleyModuleHandler.java:32) ~[?:?]
	at org.openhab.binding.domintell.internal.DomintellHandlerFactory.createHandler(DomintellHandlerFactory.java:100) ~[?:?]
	at org.eclipse.smarthome.core.thing.binding.BaseThingHandlerFactory.registerHandler(BaseThingHandlerFactory.java:128) ~[?:?]
	at org.eclipse.smarthome.core.thing.internal.ThingManagerImpl.doRegisterHandler(ThingManagerImpl.java:600) ~[?:?]
	at org.eclipse.smarthome.core.thing.internal.ThingManagerImpl.registerHandler(ThingManagerImpl.java:581) ~[?:?]
	at org.eclipse.smarthome.core.thing.internal.ThingManagerImpl.registerAndInitializeHandler(ThingManagerImpl.java:1073) ~[?:?]
	at org.eclipse.smarthome.core.thing.internal.ThingManagerImpl.thingAdded(ThingManagerImpl.java:457) ~[?:?]
	at org.eclipse.smarthome.core.thing.internal.ThingRegistryImpl.notifyTrackers(ThingRegistryImpl.java:209) ~[?:?]
	at org.eclipse.smarthome.core.thing.internal.ThingRegistryImpl.notifyListenersAboutAddedElement(ThingRegistryImpl.java:129) ~[?:?]
	at org.eclipse.smarthome.core.thing.internal.ThingRegistryImpl.notifyListenersAboutAddedElement(ThingRegistryImpl.java:1) ~[?:?]
	at org.eclipse.smarthome.core.common.registry.AbstractRegistry.added(AbstractRegistry.java:154) ~[?:?]
	at org.eclipse.smarthome.core.common.registry.AbstractRegistry.added(AbstractRegistry.java:1) ~[?:?]
	at org.eclipse.smarthome.core.common.registry.AbstractProvider.notifyListeners(AbstractProvider.java:56) ~[?:?]
	at org.eclipse.smarthome.core.common.registry.AbstractProvider.notifyListeners(AbstractProvider.java:74) ~[?:?]
	at org.eclipse.smarthome.core.common.registry.AbstractProvider.notifyListenersAboutAddedElement(AbstractProvider.java:78) ~[?:?]
	at org.eclipse.smarthome.model.thing.internal.GenericThingProvider.lambda$27(GenericThingProvider.java:960) ~[?:?]
	at java.util.ArrayList.forEach(ArrayList.java:1257) ~[?:?]
	at org.eclipse.smarthome.model.thing.internal.GenericThingProvider.createThingsFromModelForThingHandlerFactory(GenericThingProvider.java:963) ~[?:?]
	at org.eclipse.smarthome.model.thing.internal.GenericThingProvider.lambda$4(GenericThingProvider.java:301) ~[?:?]
	at java.lang.Iterable.forEach(Iterable.java:75) [?:?]
	at org.eclipse.smarthome.model.thing.internal.GenericThingProvider.createThingsFromModel(GenericThingProvider.java:303) [145:org.eclipse.smarthome.model.thing:0.10.0.oh240]
	at org.eclipse.smarthome.model.thing.internal.GenericThingProvider.modelChanged(GenericThingProvider.java:759) [145:org.eclipse.smarthome.model.thing:0.10.0.oh240]
	at org.eclipse.smarthome.model.core.internal.ModelRepositoryImpl.notifyListeners(ModelRepositoryImpl.java:301) [128:org.eclipse.smarthome.model.core:0.10.0.oh240]
	at org.eclipse.smarthome.model.core.internal.ModelRepositoryImpl.addOrRefreshModel(ModelRepositoryImpl.java:123) [128:org.eclipse.smarthome.model.core:0.10.0.oh240]
	at org.eclipse.smarthome.model.core.internal.folder.FolderObserver.checkFile(FolderObserver.java:227) [128:org.eclipse.smarthome.model.core:0.10.0.oh240]
	at org.eclipse.smarthome.model.core.internal.folder.FolderObserver.processWatchEvent(FolderObserver.java:291) [128:org.eclipse.smarthome.model.core:0.10.0.oh240]
	at org.eclipse.smarthome.core.service.WatchQueueReader.run(WatchQueueReader.java:240) [102:org.eclipse.smarthome.core:0.10.0.oh240]
	at java.lang.Thread.run(Thread.java:748) [?:?]
2019-05-11 13:38:19.486 [DEBUG] [nternal.protocol.model.module.Module] - Update module state: ModuleKey{moduleType=BIR, serialNumber=23206/0x5AA6}->00
2019-05-11 13:38:19.465 [ERROR] [core.thing.internal.ThingManagerImpl] - Exception occurred while calling thing handler factory 'org.openhab.binding.domintell.internal.DomintellHandlerFactory@37bfc044': null
java.lang.NullPointerException: null
	at org.openhab.binding.domintell.internal.protocol.DomintellRegistry.getDomintellModule(DomintellRegistry.java:95) ~[?:?]
	at org.openhab.binding.domintell.internal.handler.DomintellModuleHandler.<init>(DomintellModuleHandler.java:58) ~[?:?]
	at org.openhab.binding.domintell.internal.handler.DomintellReleyModuleHandler.<init>(DomintellReleyModuleHandler.java:32) ~[?:?]
	at org.openhab.binding.domintell.internal.DomintellHandlerFactory.createHandler(DomintellHandlerFactory.java:100) ~[?:?]
	at org.eclipse.smarthome.core.thing.binding.BaseThingHandlerFactory.registerHandler(BaseThingHandlerFactory.java:128) ~[?:?]
	at org.eclipse.smarthome.core.thing.internal.ThingManagerImpl.doRegisterHandler(ThingManagerImpl.java:600) ~[?:?]
	at org.eclipse.smarthome.core.thing.internal.ThingManagerImpl.registerHandler(ThingManagerImpl.java:581) ~[?:?]
	at org.eclipse.smarthome.core.thing.internal.ThingManagerImpl.registerAndInitializeHandler(ThingManagerImpl.java:1073) ~[?:?]
	at org.eclipse.smarthome.core.thing.internal.ThingManagerImpl.thingAdded(ThingManagerImpl.java:457) ~[?:?]
	at org.eclipse.smarthome.core.thing.internal.ThingRegistryImpl.notifyTrackers(ThingRegistryImpl.java:209) ~[?:?]
	at org.eclipse.smarthome.core.thing.internal.ThingRegistryImpl.notifyListenersAboutAddedElement(ThingRegistryImpl.java:129) ~[?:?]
	at org.eclipse.smarthome.core.thing.internal.ThingRegistryImpl.notifyListenersAboutAddedElement(ThingRegistryImpl.java:1) ~[?:?]
	at org.eclipse.smarthome.core.common.registry.AbstractRegistry.added(AbstractRegistry.java:154) ~[?:?]
	at org.eclipse.smarthome.core.common.registry.AbstractRegistry.added(AbstractRegistry.java:1) ~[?:?]
	at org.eclipse.smarthome.core.common.registry.AbstractProvider.notifyListeners(AbstractProvider.java:56) ~[?:?]
	at org.eclipse.smarthome.core.common.registry.AbstractProvider.notifyListeners(AbstractProvider.java:74) ~[?:?]
	at org.eclipse.smarthome.core.common.registry.AbstractProvider.notifyListenersAboutAddedElement(AbstractProvider.java:78) ~[?:?]
	at org.eclipse.smarthome.model.thing.internal.GenericThingProvider.lambda$27(GenericThingProvider.java:960) ~[?:?]
	at java.util.ArrayList.forEach(ArrayList.java:1257) ~[?:?]
	at org.eclipse.smarthome.model.thing.internal.GenericThingProvider.createThingsFromModelForThingHandlerFactory(GenericThingProvider.java:963) ~[?:?]
	at org.eclipse.smarthome.model.thing.internal.GenericThingProvider.lambda$4(GenericThingProvider.java:301) ~[?:?]
	at java.lang.Iterable.forEach(Iterable.java:75) [?:?]
	at org.eclipse.smarthome.model.thing.internal.GenericThingProvider.createThingsFromModel(GenericThingProvider.java:303) [145:org.eclipse.smarthome.model.thing:0.10.0.oh240]
	at org.eclipse.smarthome.model.thing.internal.GenericThingProvider.modelChanged(GenericThingProvider.java:759) [145:org.eclipse.smarthome.model.thing:0.10.0.oh240]
	at org.eclipse.smarthome.model.core.internal.ModelRepositoryImpl.notifyListeners(ModelRepositoryImpl.java:301) [128:org.eclipse.smarthome.model.core:0.10.0.oh240]
	at org.eclipse.smarthome.model.core.internal.ModelRepositoryImpl.addOrRefreshModel(ModelRepositoryImpl.java:123) [128:org.eclipse.smarthome.model.core:0.10.0.oh240]
	at org.eclipse.smarthome.model.core.internal.folder.FolderObserver.checkFile(FolderObserver.java:227) [128:org.eclipse.smarthome.model.core:0.10.0.oh240]
	at org.eclipse.smarthome.model.core.internal.folder.FolderObserver.processWatchEvent(FolderObserver.java:291) [128:org.eclipse.smarthome.model.core:0.10.0.oh240]
	at org.eclipse.smarthome.core.service.WatchQueueReader.run(WatchQueueReader.java:240) [102:org.eclipse.smarthome.core:0.10.0.oh240]
	at java.lang.Thread.run(Thread.java:748) [?:?]
2019-05-11 13:38:19.603 [DEBUG] [nternal.protocol.model.module.Module] - Update module state: ModuleKey{moduleType=BIR, serialNumber=23173/0x5A85}->00
2019-05-11 13:38:19.690 [DEBUG] [nternal.protocol.model.module.Module] - Update module state: ModuleKey{moduleType=BIR, serialNumber=23207/0x5AA7}->00
2019-05-11 13:38:19.790 [DEBUG] [nternal.protocol.model.module.Module] - Update module state: ModuleKey{moduleType=DIM, serialNumber=8087/0x1F97}->0 0 0 0 0 0 0 0
2019-05-11 13:38:19.791 [DEBUG] [nternal.protocol.DomintellConnection] - Error processing the message: DIM  1F97D 0 0 0 0 0 0 0 0
java.lang.NumberFormatException: For input string: "0 "
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[?:?]
	at java.lang.Integer.parseInt(Integer.java:580) ~[?:?]
	at org.openhab.binding.domintell.internal.protocol.model.module.DimmerModule.lambda$0(DimmerModule.java:46) ~[253:org.openhab.binding.domintell:2.5.0.201905100728]
	at java.util.HashMap$Values.forEach(HashMap.java:981) ~[?:?]
	at org.openhab.binding.domintell.internal.protocol.model.module.DimmerModule.updateItems(DimmerModule.java:43) ~[253:org.openhab.binding.domintell:2.5.0.201905100728]
	at org.openhab.binding.domintell.internal.protocol.model.module.Module.processStateUpdate(Module.java:130) ~[253:org.openhab.binding.domintell:2.5.0.201905100728]
	at org.openhab.binding.domintell.internal.protocol.DomintellConnection$MessageReceiverThread.processModuleStatusMessage(DomintellConnection.java:517) [253:org.openhab.binding.domintell:2.5.0.201905100728]
	at org.openhab.binding.domintell.internal.protocol.DomintellConnection$MessageReceiverThread.handleMessage(DomintellConnection.java:454) [253:org.openhab.binding.domintell:2.5.0.201905100728]
	at org.openhab.binding.domintell.internal.protocol.DomintellConnection$MessageReceiverThread.handleMessageArray(DomintellConnection.java:438) [253:org.openhab.binding.domintell:2.5.0.201905100728]
	at org.openhab.binding.domintell.internal.protocol.DomintellConnection$MessageReceiverThread.run(DomintellConnection.java:398) [253:org.openhab.binding.domintell:2.5.0.201905100728]
2019-05-11 13:38:20.534 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'Domintell.things'

When I add the TRP as a Thing via the Things file, I can find it in Paper Ui with status UNINITIALIZED - HANDLER_REGISTERING_ERROR

Then if I create an item from paper UI linked to the Thing channel, then I get this message in the logs

2019-05-11 13:42:44.262 [WARN ] [shd.server.session.ServerSessionImpl] - exceptionCaught(ServerSessionImpl[openhab@/192.168.1.16:50857])[state=Opened] InterruptedByTimeoutException: null

2019-05-11 13:45:11.954 [INFO ] [st.core.internal.thing.ThingResource] - Received HTTP DELETE request for update at 'things/domintell:moduleTRP:DETH02:4116' for an unmanaged thing 'domintell:moduleTRP:DETH02:4116'.

My mistake. I updated the binding jar.
Replace the previous version pls.

You’re just unbelievable, it works just great now!

Can’t believe you did that so fast.

Now I’m able to control all my Domintell modules :slight_smile:

I’m glad I could help

When you have time, could you tell me which domintell documentation you use to develop this binding?

DS_RS232_ETH_Interfaces_v1_27_06.pdf (440.3 KB)

Hey
I’m using the binding for over 3months and everything works great. For 1 thing when i add a new variable it does not appear in the list of custom variables. The old ones that are in it from the first time i used the binding are working great. But from var 17 they do not appear in the list… I did a scan and a ping and you see that an update is happened, but no new updates.

Tom

Hi, check the new version pls I’ve shared with you on Google Drive.

Thx works perfect!

Thanks Gábor for your excellent work.
I was looking for a solution to make my Domintell installation interoparable with other systems and it looks promising so far.

The only thing that is missing in my case, is the integration with the roller shutter module (DTRV).
I saw above that Jan was talking about its integration. Is it something that could be activated or integrated easily ?
Unfortunately, my Java knowledge is so rusty it’s going to be difficult to do it myself.

Thanks again !

Hi Gabor,

Many thanks for your effort to make a Domintell interface.
Would you mind sharing your documentation on how to set this up? I already added my ETH01 as a thing and it says ‘connected’. The documentation links provided in this thread don’t work anymore.

Hi,
Its available on github on my fork: Domintell

Cool, thanks. Any plans on adding the DTRV shutter modules as well?

Hi Gabor,

I have an DETH01 and the bridge seems to be online. When I add another thing (BIR) with its serial number it remains on the status initializing. Log says:
‘domintell:bir:20930’ changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)

Any idea?
Thank you in advance!

Hi,
I’ve tested this binding with DETH02. I’m not sure about the DETH01 protocol…

Hi all,

I’m trying to add the domintell addon but I’m a little bit lost to where to start and which version / file I need to install.

Is there still a ready to use jar file or do I have to build it by myself if I want the “last stable version”?

I’ve checked the eclipse repository and it looks like that the module doesn’t exist anymore.

Which version of openhab do you recommand if the main addon that I’ll use is domintell? The stable-2.4 or the beta 2.5?

Thanks for your answers and help.
BR zeda :wink:

I’m currently using housebot with my domintell installation but I’ve recently acquire new modules that doesn’t work with housebot and I get no support from domintell nor housebot and I didn’t find any valuable information around these products, that’s the main reason why I thing about migrating to openhab.

(why is this binding isn’t in the “standard addon” repository?)

Hi,
I approved you the Google drive access. I’m on OH 2.5M1. The binding is not in the standard add-on repo because there is only few of us with Domintell and the motivation to approve the PR was not too high. Download it and copy it to the addons folder and you’ll be fine.

1 Like

Hi Gabor,

The DETH01 is actually a 02 and 03 combined. It also uses the Light protocol, so it should work as well.
Do you mind granting me access to your Google drive as well please? Where can I find the link to request access?

Kind regards,
Marnik