I recently upgraded my OpenHAB version to the latest stable release and while doing so I decided to switch from the InsteonPLM binding from OH1 to the new Insteon binding for OH2. I had been testing it and it seemed to do ok but I’m starting to run into an issue. I’m not sure if this is an issue only I’m facing or if it’s a more common issue.
The following is my things file:
Bridge insteon:network:InsteonHub [port="/dev/ttyUSB0"] {
Thing device BasementCeilingLightSwitch "Basement Ceiling Light Switch" @"Basement" [address="48.83.3C", productKey="F00.00.02"]
Thing device BathroomCeilingLightSwitch "Bathroom Ceiling Light Switch" @"Bathroom" [address="4E.CE.A5", productKey="F00.00.01"]
Thing device DiningRoomCeilingFan "Dining Room Ceiling Fan" @"Dining Room" [address="3F.B6.AB", productKey="F00.00.1C"]
Thing device DiningRoomKeypad "Dining Room Keypad" @"Dining Room" [address="43.5D.5E", productKey="F00.00.16"]
{
Channels:
Type switch: keypadButtonB "Keypad Button B" [group="0x30"]
Type switch: keypadButtonC "Keypad Button C" [group="0x31"]
Type switch: keypadButtonD "Keypad Button D" [group="0x32"]
Type switch: keypadButtonE "Keypad Button E" [group="0x33"]
Type switch: keypadButtonF "Keypad Button F" [group="0x34"]
Type switch: keypadButtonG "Keypad Button G" [group="0x35"]
Type switch: keypadButtonH "Keypad Button H" [group="0x36"]
}
Thing device EntryKeypad "Entry Keypad" @"Entry" [address="3D.88.42", productKey="F00.00.15"]
{
Channels:
Type switch: keypadButtonA "Keypad Button A" [group="0x10"]
Type switch: keypadButtonB "Keypad Button B" [group="0x11"]
Type switch: keypadButtonC "Keypad Button C" [group="0x12"]
Type switch: keypadButtonD "Keypad Button D" [group="0x13"]
}
Thing device GuestKeypad "Guest Keypad" @"Guest Bedroom" [address="45.76.91", productKey="F00.00.16"]
{
Channels:
Type switch: keypadButtonB "Keypad Button B" [group="0x80"]
Type switch: keypadButtonC "Keypad Button C" [group="0x81"]
Type switch: keypadButtonD "Keypad Button D" [group="0x82"]
Type switch: keypadButtonE "Keypad Button E" [group="0x83"]
Type switch: keypadButtonF "Keypad Button F" [group="0x84"]
Type switch: keypadButtonG "Keypad Button G" [group="0x85"]
Type switch: keypadButtonH "Keypad Button H" [group="0x86"]
}
Thing device HallwayKeypad "Hallway Keypad" @"Hallway" [address="3D.80.E7", productKey="F00.00.16"]
{
Channels:
Type switch: keypadButtonB "Keypad Button B" [group="0x70"]
Type switch: keypadButtonC "Keypad Button C" [group="0x71"]
Type switch: keypadButtonD "Keypad Button D" [group="0x72"]
Type switch: keypadButtonE "Keypad Button E" [group="0x73"]
Type switch: keypadButtonF "Keypad Button F" [group="0x74"]
Type switch: keypadButtonG "Keypad Button G" [group="0x75"]
Type switch: keypadButtonH "Keypad Button H" [group="0x76"]
}
Thing device HallwayStairwayDimmer "Hallway Stairway Dimmer" @"Hallway" [address="41.A9.4E", productKey="F00.00.01"]
Thing device KitchenKeypad "Kitchen Keypad" @"Kitchen" [address="43.97.A4", productKey="F00.00.14"]
{
Channels:
Type switch: keypadButtonA "Keypad Button A" [group="0x50"]
Type switch: keypadButtonB "Keypad Button B" [group="0x51"]
Type switch: keypadButtonC "Keypad Button C" [group="0x52"]
Type switch: keypadButtonD "Keypad Button D" [group="0x53"]
}
Thing device KitchenBackDoorKeypad "Kitchen Back Door Keypad" @"Kitchen" [address="43.68.C0", productKey="F00.00.15"]
{
Channels:
Type switch: keypadButtonA "Keypad Button A" [group="0x58"]
Type switch: keypadButtonB "Keypad Button B" [group="0x59"]
Type switch: keypadButtonC "Keypad Button C" [group="0x5A"]
Type switch: keypadButtonD "Keypad Button D" [group="0x5B"]
}
Thing device KitchenPendantLights "Kitchen Pendant Lights" @"Kitchen" [address="43.63.96", productKey="F00.00.15"]
{
Channels:
Type switch: keypadButtonA "Keypad Button A" [group="0x60"]
Type switch: keypadButtonB "Keypad Button B" [group="0x61"]
Type switch: keypadButtonC "Keypad Button C" [group="0x62"]
Type switch: keypadButtonD "Keypad Button D" [group="0x63"]
}
Thing device LaundryRoomKeypad "Laundry Room Keypad" @"Laundry Room" [address="43.6A.A9", productKey="F00.00.15"]
{
Channels:
Type switch: keypadButtonA "Keypad Button A" [group="0x40"]
Type switch: keypadButtonB "Keypad Button B" [group="0x41"]
Type switch: keypadButtonC "Keypad Button C" [group="0x42"]
Type switch: keypadButtonD "Keypad Button D" [group="0x43"]
}
Thing device LivingRoomEntryKeypad "Living Room Entry Keypad" @"Living Room" [address="3D.91.6E", productKey="F00.00.15"]
{
Channels:
Type switch: keypadButtonA "Keypad Button A" [group="0x18"]
Type switch: keypadButtonB "Keypad Button B" [group="0x19"]
Type switch: keypadButtonC "Keypad Button C" [group="0x1A"]
Type switch: keypadButtonD "Keypad Button D" [group="0x1B"]
}
Thing device LivingRoomKeypad "Living Room Keypad" @"Living Room" [address="3D.C4.F4", productKey="F00.00.16"]
{
Channels:
Type switch: keypadButtonB "Keypad Button B" [group="0x20"]
Type switch: keypadButtonC "Keypad Button C" [group="0x21"]
Type switch: keypadButtonD "Keypad Button D" [group="0x22"]
Type switch: keypadButtonE "Keypad Button E" [group="0x23"]
Type switch: keypadButtonF "Keypad Button F" [group="0x24"]
Type switch: keypadButtonG "Keypad Button G" [group="0x25"]
Type switch: keypadButtonH "Keypad Button H" [group="0x26"]
}
Thing device LivingRoomFrontCeilingFan "Living Room Front Ceiling Fan" @"Living Room" [address="49.23.90", productKey="F00.00.1C"]
Thing device LivingRoomRearCeilingFan "Living Room Rear Ceiling Fan" @"Living Room" [address="40.16.FB", productKey="F00.00.1C"]
Thing device MasterBathroomCeilingLightsKeypad "Master Bathroom Ceiling Lights" @"Master Bathroom" [address="43.A3.5F", productKey="F00.00.15"]
{
Channels:
Type switch: keypadButtonA "Keypad Button A" [group="0x98"]
Type switch: keypadButtonB "Keypad Button B" [group="0x99"]
Type switch: keypadButtonC "Keypad Button C" [group="0x9A"]
Type switch: keypadButtonD "Keypad Button D" [group="0x9B"]
}
Thing device MasterBathroomVanityKeypad "Master Bathroom Vanity Lights" @"Master Bathroom" [address="43.A2.AE", productKey="F00.00.15"]
{
Channels:
Type switch: keypadButtonA "Keypad Button A" [group="0x90"]
Type switch: keypadButtonB "Keypad Button B" [group="0x91"]
Type switch: keypadButtonC "Keypad Button C" [group="0x92"]
Type switch: keypadButtonD "Keypad Button D" [group="0x93"]
}
Thing device MasterBedroomKeypad "Master Bedroom Keypad" @"Master Bedroom" [address="40.CB.1D", productKey="F00.00.16"]
{
Channels:
Type switch: keypadButtonB "Keypad Button B" [group="0xB0"]
Type switch: keypadButtonC "Keypad Button C" [group="0xB1"]
Type switch: keypadButtonD "Keypad Button D" [group="0xB2"]
Type switch: keypadButtonE "Keypad Button E" [group="0xB3"]
Type switch: keypadButtonF "Keypad Button F" [group="0xB4"]
Type switch: keypadButtonG "Keypad Button G" [group="0xB5"]
Type switch: keypadButtonH "Keypad Button H" [group="0xB6"]
}
Thing device MasterBedroomCeilingFan "Master Bedroom Ceiling Fan" @"Master Bedroom" [address="3F.B6.B5", productKey="F00.00.1C"]
Thing device MasterBedroomClosetLight "Master Bedroom Closet Light" @"Master Bedroom" [address="4E.D2.2A", productKey="F00.00.01"]
Thing device PorchLightSwitch "Porch Light Switch" @"Porch" [address="3D.44.19", productKey="F00.00.02"]
Thing device PorchOutlet "Porch Outlet" @"Porch" [address="3B.A7.60", productKey="F00.00.1A"]
}
I created items simply linking to the load for each device, and the keypad buttons if it’s a keypad device. I then go to test the setup by setting dimmers to different values and making sure it comes through. It works for about 5-10 minutes of me changing the dimmer about once every 5 seconds. Then everything stops responding. I checked the logs and this is what I get with Insteon set to DEBUG:
2020-05-12 12:10:42.143 [DEBUG] [nternal.handler.InsteonDeviceHandler] - channel insteon:device:InsteonHub:HallwayKeypad:loadDimmer was triggered with the command 43
2020-05-12 12:10:42.143 [DEBUG] [nsteon.internal.device.InsteonDevice] - processing command 43 features: 35
2020-05-12 12:10:42.144 [DEBUG] [steon.internal.device.CommandHandler] - changing level of 3D.80.E7 to 43
2020-05-12 12:10:42.144 [DEBUG] [steon.internal.device.CommandHandler] - PercentHandler: sent msg to set 3D.80.E7 to 110
2020-05-12 12:10:42.144 [DEBUG] [nsteon.internal.device.InsteonDevice] - still waiting for query reply from 3D.80.E7 for another 4426 usec
2020-05-12 12:10:42.145 [DEBUG] [ding.insteon.internal.InsteonBinding] - found binding config for channel insteon:device:InsteonHub:HallwayKeypad:loadDimmer
2020-05-12 12:10:44.144 [DEBUG] [nsteon.internal.device.InsteonDevice] - still waiting for query reply from 3D.80.E7 for another 2426 usec
2020-05-12 12:10:44.406 [DEBUG] [nternal.handler.InsteonDeviceHandler] - channel insteon:device:InsteonHub:HallwayKeypad:loadDimmer was triggered with the command 0
2020-05-12 12:10:44.406 [DEBUG] [nsteon.internal.device.InsteonDevice] - processing command 0 features: 35
2020-05-12 12:10:44.407 [DEBUG] [steon.internal.device.CommandHandler] - changing level of 3D.80.E7 to 0
2020-05-12 12:10:44.407 [DEBUG] [nsteon.internal.device.InsteonDevice] - still waiting for query reply from 3D.80.E7 for another 2163 usec
2020-05-12 12:10:44.407 [DEBUG] [steon.internal.device.CommandHandler] - PercentHandler: sent msg to set 3D.80.E7 to zero by switching off
2020-05-12 12:10:44.408 [DEBUG] [ding.insteon.internal.InsteonBinding] - found binding config for channel insteon:device:InsteonHub:HallwayKeypad:loadDimmer
2020-05-12 12:10:46.407 [DEBUG] [nsteon.internal.device.InsteonDevice] - still waiting for query reply from 3D.80.E7 for another 163 usec
2020-05-12 12:10:47.990 [DEBUG] [nsteon.internal.device.InsteonDevice] - qe taken off direct: KeyPadButtonGroup(0:0:0) OUT:Cmd:0x62|toAddress:40.CB.1D|messageFlags:0x0F=DIRECT:3:3|command1:0x19|command2:0x01|
2020-05-12 12:10:47.991 [DEBUG] [nsteon.internal.device.InsteonDevice] - next request queue processed in 1499 msec, quiettime = 500
2020-05-12 12:10:48.407 [DEBUG] [nsteon.internal.device.InsteonDevice] - gave up waiting for query reply from device 3D.80.E7
It looks like the binding is still getting the commands and trying to process them but the device never responds and the binding isn’t processing a response to the request for a status of the device.
So I switched back to the InsteonPLM binding for OH1 and I don’t have any issues. Is this an issue in the binding? An issue with my setup? I’m not sure what to look for to resolve the issue. I really like the new binding! So I’d really like to get it ironed out.