OH3 not updating with Insteon switch changes

I’m trying to debug a number of insteon problems with OH3. The first one I’m working on is that the OH3 item state isn’t changing when I manually change an insteon switch.

In the console, I’ve used “log:tail” and can see my insteon items change state when I press a button in an OH3 UI. But I don’t see it change state when an insteon switch is manually flipped. I tried using “log:set DEBUG org.openhab.binding.insteonplm” but see no difference.

I’d like to use “openhab:insteon start_monitoring all” as I think that would give me the raw information seen by the USB PLM. But the binding documentation says you have to redirect openhab output to a log file… and I’m not sure how to do that.

This is OH3 running on a PI4 under Linux 5.10.17-v71+ with a USB PLM. The system worked fine under OH2… so it may be an upgrade issue. I’m configuring with text files, rather than through the UI.

  • Platform information:
    • Hardware: CPUArchitecture/RAM/storage
    • OS: what OS is used and which version
    • Java Runtime Environment: which java platform is used and what version
    • openHAB version:
  • Issue of the topic: please be detailed explaining your issue
  • Please post configurations (if applicable):
    • Items configuration related to the issue
    • Sitemap configuration related to the issue
    • Rules code related to the issue
    • Services configuration related to the issue
  • If logs where generated please post these here using code fences:

The binding is org.openhab.binding.insteon

What do you see with the console command:

openhab:insteon display_local_database
openhab:insteon display_devices
openhab:insteon display_channels

The configuration for the OH3 binding is basically the same as the OH2 binding (not the OH1 insteonplm binding)

Thanks for the fast reply!!

using the correct binding produced a lot more data… but not obviously a report when I manually switched the keypadlinc.

I’m attaching the output to those three commands at the end of this.

To confirm that the hardware was working, I went into insteon-terminal and just turned the light on and off through the modem. It works fine… so that should confirm out the database on both modem and keypad.

Any suggestions for what to debug next?

Thank you!
Rudy

openhab:insteon display_local_database
local database contains 13 entries
00.00.66: plm controls groups () and responds to groups (1)
1F.ED.6F: plm controls groups (0) and responds to groups (1)
1F.EE.1B: plm controls groups (0) and responds to groups (1)
1F.EE.31: plm controls groups (0) and responds to groups (1)
1F.EE.37: plm controls groups (0) and responds to groups (1)
20.76.82: plm controls groups (0) and responds to groups (1)
20.88.FC: plm controls groups (0) and responds to groups (1)
22.8E.02: plm controls groups (1,242,243,244,245,246,247,248) and responds to groups (1,2,3,4,5,6,7,8)
2B.9A.21: plm controls groups (1,242,243,244,245,246,247,248) and responds to groups (1,2,3,4,5,6,7,8)
2B.9A.BD: plm controls groups (0,242,243,244,245,246,247,248) and responds to groups (1,2,3,4,5,6,7,8)
2B.9B.8C: plm controls groups (0,1,242,243,244,245,246,247,248) and responds to groups (1,2,3,4,5,6,7,8)
3D.99.97: plm (/dev/ttyUSB0)
54.64.26: plm controls groups (1) and responds to groups (1)
openhab> openhab:insteon display_devices
insteon:device:home:000066 address = 00.00.66 productKey = F00.00.02 channels = beep, fastOnOff, lastHeardFrom, ledBrightness, ledOnOff, switch
insteon:device:home:1fed6f address = 1f.ed.6f productKey = F00.00.02 channels = beep, fastOnOff, lastHeardFrom, ledBrightness, ledOnOff, switch
insteon:device:home:1fee1b address = 1f.ee.1b productKey = F00.00.02 channels = beep, fastOnOff, lastHeardFrom, ledBrightness, ledOnOff, switch
insteon:device:home:1fee31 address = 1f.ee.31 productKey = F00.00.02 channels = beep, fastOnOff, lastHeardFrom, ledBrightness, ledOnOff, switch
insteon:device:home:1fee37 address = 1f.ee.37 productKey = F00.00.02 channels = beep, fastOnOff, lastHeardFrom, ledBrightness, ledOnOff, switch
insteon:device:home:207682 address = 20.76.82 productKey = F00.00.02 channels = beep, fastOnOff, lastHeardFrom, ledBrightness, ledOnOff, switch
insteon:device:home:2088fc address = 20.88.fc productKey = F00.00.02 channels = beep, fastOnOff, lastHeardFrom, ledBrightness, ledOnOff, switch
insteon:device:home:228e02 address = 22.8e.02 productKey = F00.00.14 channels = fastOnOffButtonA, fastOnOffButtonB, fastOnOffButtonC, fastOnOffButtonD, keypadButtonA, keypadButtonB, keypadButtonC, keypadButtonD, lastHeardFrom, loadSwitch, loadSwitchFastOnOff, loadSwitchManualChange, manualChangeButtonA, manualChangeButtonB, manualChangeButtonC, manualChangeButtonD
insteon:device:home:2b9a21 address = 2b.9a.21 productKey = F00.00.14 channels = fastOnOffButtonA, fastOnOffButtonB, fastOnOffButtonC, fastOnOffButtonD, keypadButtonA, keypadButtonB, keypadButtonC, keypadButtonD, lastHeardFrom, loadSwitch, loadSwitchFastOnOff, loadSwitchManualChange, manualChangeButtonA, manualChangeButtonB, manualChangeButtonC, manualChangeButtonD
insteon:device:home:2b9abd address = 2b.9a.bd productKey = F00.00.14 channels = fastOnOffButtonA, fastOnOffButtonB, fastOnOffButtonC, fastOnOffButtonD, keypadButtonA, keypadButtonB, keypadButtonC, keypadButtonD, lastHeardFrom, loadSwitch, loadSwitchFastOnOff, loadSwitchManualChange, manualChangeButtonA, manualChangeButtonB, manualChangeButtonC, manualChangeButtonD
insteon:device:home:2b9b8c address = 2b.9b.8c productKey = F00.00.14 channels = fastOnOffButtonA, fastOnOffButtonB, fastOnOffButtonC, fastOnOffButtonD, keypadButtonA, keypadButtonB, keypadButtonC, keypadButtonD, lastHeardFrom, loadSwitch, loadSwitchFastOnOff, loadSwitchManualChange, manualChangeButtonA, manualChangeButtonB, manualChangeButtonC, manualChangeButtonD
insteon:device:home:546426 address = 54.64.26 productKey = F00.00.02 channels = beep, fastOnOff, lastHeardFrom, ledBrightness, ledOnOff, switch
insteon:device:home:A2 address = A.2 productKey = X00.00.01 channels = switch
openhab> openhab:insteon display_channels
insteon:device:home:1fed6f:switch feature = switch parameters = {}
insteon:device:home:1fee1b:switch feature = switch parameters = {}
insteon:device:home:1fee31:switch feature = switch parameters = {}
insteon:device:home:1fee37:switch feature = switch parameters = {}
insteon:device:home:207682:switch feature = switch parameters = {}
insteon:device:home:2088fc:switch feature = switch parameters = {}
insteon:device:home:228e02:loadSwitch feature = loadswitch parameters = {group=0xf1}
insteon:device:home:2b9a21:loadSwitch feature = loadswitch parameters = {group=0xf1}
insteon:device:home:2b9abd:keypadButtonD feature = keypadbuttond parameters = {group=0xf4}
insteon:device:home:2b9abd:loadSwitch feature = loadswitch parameters = {group=0xf1}
insteon:device:home:2b9b8c:loadSwitch feature = loadswitch parameters = {group=0xf1}
insteon:device:home:546426:switch feature = switch parameters = {}
insteon:device:home:A2:switch feature = switch parameters = {}

From what I can tell, everything does looks as expected. What do you see in events.log? Here’s what I see if I turn on/off a couple of lights with the basic UI:

2021-06-24 08:10:01.058 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'mLivingLights' received command 100
2021-06-24 08:10:01.087 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'mLivingLights' predicted to become 100
2021-06-24 08:10:01.147 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'mLivingLights' changed from 0 to 100
2021-06-24 08:10:22.547 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'mLivingLights' received command 0
2021-06-24 08:10:22.558 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'mLivingLights' predicted to become 0
2021-06-24 08:10:22.590 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'mLivingLights' changed from 100 to 0
2021-06-24 08:13:34.973 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'bUtilityLights' received command ON
2021-06-24 08:13:34.998 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'bUtilityLights' predicted to become ON
2021-06-24 08:13:35.062 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'bUtilityLights' changed from OFF to ON
2021-06-24 08:13:38.240 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'bUtilityLights' received command OFF
2021-06-24 08:13:38.251 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'bUtilityLights' predicted to become OFF
2021-06-24 08:13:38.291 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'bUtilityLights' changed from ON to OFF

Also, look at the thing in the things and items in the UI and make sure they look as expected. Here is the items for the two I turned on/off with the paper UI.


Note that ‘predictions’ and subsequent state changes are the product of openHABs entirely internal autoupdate feature.
If you want your Item to reflect reality, what is reported through the binding, disable autoupdate on that Item.

@twinotter, did you figure out what was going on?