Hi @Bernd_Pfrommer
I’m new to OH and would like to first express my sincere gratitude for all the work and support you have put into both the PLM binding and Insteon Terminal.
So far I have found all my questions already answered here in the forum by you. However, I have a new question for which I cant find an answer. You mention above that
the “related” feature … should work with the buttons as well
I have some 3-way situations between keypad main loads and buttons on other keypads. I cant seem to figure out the proper syntax for linking a button to an item using the ‘related’ feature. I attempted to use its unique assigned group name, but the binding throws an error.
Can you please share the proper syntax, or help me understand what I am missing?
Any help is greatly appreciated.
Thank you!
Here is an excerpt from my items file. I left the error inducing group names to illustrate what I am attempting to do.
FYI all the devices here are linked in the insteon dbs. I am only trying to get OH to quickly see the updates to all the various devices when manual control is used at a keypad.
Dimmer ctrl_livRm_kpMain "living kp main" {insteonplm="49.F3.79:F00.00.15#loaddimmer,related=3A.76.6D+47.30.00+0xf3"}
Switch ctrl_livRm_kpBtn3 "living kp btn3" {insteonplm="49.F3.79:F00.00.15#keypadbuttonA,group=0xf8,related=43.9F.13"}
Switch ctrl_livRm_kpBtn4 "living kp btn4" {insteonplm="49.F3.79:F00.00.15#keypadbuttonB,group=0xf9,related=45.DF.52"}
Switch ctrl_livRm_kpBtn5 "living kp btn5" {insteonplm="49.F3.79:F00.00.15#keypadbuttonC,group=0xfA,related=3A.76.6D+47.30.00+0xf2"}
Switch ctrl_livRm_kpBtn6 "living kp btn6" {insteonplm="49.F3.79:F00.00.15#keypadbuttonD,group=0xfB"}
Dimmer ctrl_hallw_kpMain "Hall kp main" {insteonplm="43.9F.13:F00.00.16#loaddimmer,related=0xf8"}
Switch ctrl_hallw_kpBtn2 "Hall kp btn2" {insteonplm="43.9F.13:F00.00.16#keypadbuttonB,group=0xf1,related=45.DF.52"}
Switch ctrl_hallw_kpBtn3 "Hall kp btn3" {insteonplm="43.9F.13:F00.00.16#keypadbuttonC,group=0xf2,related=3A.76.6D+47.30.00+0xfA"}
Switch ctrl_hallw_kpBtn4 "Hall kp btn4" {insteonplm="43.9F.13:F00.00.16#keypadbuttonD,group=0xf3,related=49.F3.79+3A.76.6D+47.30.00"}
Switch ctrl_hallw_kpBtn5 "Hall kp btn5" {insteonplm="43.9F.13:F00.00.16#keypadbuttonE,group=0xf4"}
Switch ctrl_hallw_kpBtn6 "Hall kp btn6" {insteonplm="43.9F.13:F00.00.16#keypadbuttonF,group=0xf5"}
Switch ctrl_hallw_kpBtn7 "Hall kp btn7" {insteonplm="43.9F.13:F00.00.16#keypadbuttonG,group=0xf6"}
Switch ctrl_hallw_kpBtn8 "Hall kp btn8" {insteonplm="43.9F.13:F00.00.16#keypadbuttonH,group=0xf7"}
Error:
2018-03-31 15:36:42.570 [ERROR] [nding.AbstractGenericBindingProvider] - Binding org.openhab.binding.insteonplm.InsteonPLMActiveBinding threw an exception:
java.lang.IllegalArgumentException: Address string must have 3 bytes, has: 1
at org.openhab.binding.insteonplm.internal.device.InsteonAddress.<init>(InsteonAddress.java:61) [234:org.openhab.binding.insteonplm:1.11.0]
at org.openhab.binding.insteonplm.internal.device.InsteonAddress.s_parseAddress(InsteonAddress.java:217) [234:org.openhab.binding.insteonplm:1.11.0]
at org.openhab.binding.insteonplm.internal.device.DeviceFeatureListener.updateRelatedDevices(DeviceFeatureListener.java:166) [234:org.openhab.binding.insteonplm:1.11.0]
at org.openhab.binding.insteonplm.internal.device.DeviceFeatureListener.setParameters(DeviceFeatureListener.java:90) [234:org.openhab.binding.insteonplm:1.11.0]
at org.openhab.binding.insteonplm.InsteonPLMActiveBinding.addFeatureListener(InsteonPLMActiveBinding.java:532) [234:org.openhab.binding.insteonplm:1.11.0]
at org.openhab.binding.insteonplm.InsteonPLMActiveBinding.bindingChanged(InsteonPLMActiveBinding.java:226) [234:org.openhab.binding.insteonplm:1.11.0]
at org.openhab.model.item.binding.AbstractGenericBindingProvider.notifyListeners(AbstractGenericBindingProvider.java:112) [222:org.openhab.core.compat1x:2.2.0]
at org.openhab.model.item.binding.AbstractGenericBindingProvider.addBindingConfig(AbstractGenericBindingProvider.java:106) [222:org.openhab.core.compat1x:2.2.0]
at org.openhab.binding.insteonplm.InsteonPLMGenericBindingProvider.processBindingConfiguration(InsteonPLMGenericBindingProvider.java:80) [234:org.openhab.binding.insteonplm:1.11.0]
at org.openhab.core.binding.internal.BindingConfigReaderDelegate.processBindingConfiguration(BindingConfigReaderDelegate.java:49) [222:org.openhab.core.compat1x:2.2.0]
at org.eclipse.smarthome.model.item.internal.GenericItemProvider.internalDispatchBindings(GenericItemProvider.java:341) [135:org.eclipse.smarthome.model.item:0.10.0.b1]
at org.eclipse.smarthome.model.item.internal.GenericItemProvider.internalDispatchBindings(GenericItemProvider.java:310) [135:org.eclipse.smarthome.model.item:0.10.0.b1]
at org.eclipse.smarthome.model.item.internal.GenericItemProvider.processBindingConfigsFromModel(GenericItemProvider.java:195) [135:org.eclipse.smarthome.model.item:0.10.0.b1]
at org.eclipse.smarthome.model.item.internal.GenericItemProvider.modelChanged(GenericItemProvider.java:377) [135:org.eclipse.smarthome.model.item:0.10.0.b1]
at org.eclipse.smarthome.model.core.internal.ModelRepositoryImpl.notifyListeners(ModelRepositoryImpl.java:314) [134:org.eclipse.smarthome.model.core:0.10.0.b1]
at org.eclipse.smarthome.model.core.internal.ModelRepositoryImpl.addOrRefreshModel(ModelRepositoryImpl.java:143) [134:org.eclipse.smarthome.model.core:0.10.0.b1]
at org.eclipse.smarthome.model.core.internal.folder.FolderObserver.checkFile(FolderObserver.java:247) [134:org.eclipse.smarthome.model.core:0.10.0.b1]
at org.eclipse.smarthome.model.core.internal.folder.FolderObserver.processWatchEvent(FolderObserver.java:311) [134:org.eclipse.smarthome.model.core:0.10.0.b1]
at org.eclipse.smarthome.core.service.WatchQueueReader.run(WatchQueueReader.java:209) [109:org.eclipse.smarthome.core:0.10.0.b1]
at java.lang.Thread.run(Thread.java:748) [?:?]