Insteon Binding Item Problems with devices not originally connected to Hub

Using OpenHab 3.2.0 on Raspberry PI 4B with Insteon addon. My hub is my previously used 2245-222 hub which I did a factory reset on. I setup Things for the Hub and several 2457D2 R3.6 dimmer plugin modules. They all come ONLINE fine.

I setup Items for the 2457D2 dimmers and Linked them to the respective Things.

All the dimmers in Items show linked okay like this one:

The first and third dimmers in Items are new dimmers. The second and fourth are dimmers previously attached to the Hub when Insteon was alive. I have previously factory reset all devices. Whenever click on an Item and try to dim to a certain level on fully on (or fully off if I manually turned device on), the previously installed dimmers work beautifully. The newer ones never respond.
Here is section of events.log for the DimmerTwo device which does not respond (turn on or off):
2022-06-06 16:05:51.071 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘DimmerTwo’ received command 72
2022-06-06 16:05:51.090 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item ‘DimmerTwo’ predicted to become 72
2022-06-06 16:05:51.109 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘DimmerTwo’ changed from NULL to 72
2022-06-06 16:05:51.710 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘DimmerTwo’ changed from 72 to 100
2022-06-06 16:05:55.259 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘DimmerTwo’ received command 56
2022-06-06 16:05:55.267 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item ‘DimmerTwo’ predicted to become 56
2022-06-06 16:05:55.278 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘DimmerTwo’ changed from 100 to 56
2022-06-06 16:05:57.732 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘DimmerTwo’ changed from 56 to 0
2022-06-06 16:06:00.048 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘DimmerTwo’ changed from 0 to 100
2022-06-06 16:06:08.092 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘DimmerTwo’ changed from 100 to 0
2022-06-06 16:08:30.513 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘DimmerTwo’ received command 75
2022-06-06 16:08:30.522 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item ‘DimmerTwo’ predicted to become 75
2022-06-06 16:08:30.532 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘DimmerTwo’ changed from 0 to 75
2022-06-06 16:08:31.619 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘DimmerTwo’ changed from 75 to 100
2022-06-06 16:08:37.720 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘DimmerTwo’ changed from 100 to 0
2022-06-06 16:09:07.597 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘DimmerTwo’ received command 56
2022-06-06 16:09:07.607 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item ‘DimmerTwo’ predicted to become 56
2022-06-06 16:09:07.618 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘DimmerTwo’ changed from 0 to 56
2022-06-06 16:09:09.174 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘DimmerTwo’ changed from 56 to 100
2022-06-06 16:09:14.191 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘DimmerTwo’ changed from 100 to 0
2
Anyone have any ideas for me to try?
Thank you.

What do you see when you run the insteon display_local_database console command?

Rob,
Thank you for responding. A screenshot is below, but I get this back:

insteon display_local_database
local database contains 1 entries
57.7D.36: hub (/hub2/Warwick8:******@208.188.132.35:25105,poll_time=1000)
Thank you,
Gerry

It looks like the database on your hub has been totally erased. I’m surprised anything is working. Here’s what a part of mine looks like:

openhab> insteon display_local_database
local database contains 60 entries
17.93.87: plm controls groups (254) and responds to groups (1)
17.94.B0: plm controls groups (254) and responds to groups (1)
19.8A.2B: plm controls groups (254) and responds to groups (1)
19.8B.65: plm controls groups (254) and responds to groups (1)
24.11.9D: plm (/dev/ttyUSB0)

You’ll need to reconfigure the hub as a controller to send commands to the device and as a responder if you want it to respond to commands from the device. You can do this with insteon terminal.

I do get this running: insteon display_devices

insteon display_devices
insteon:device:577D36:26EFB3 address = 26.EF.B3 productKey = F00.00.19 channels = beep, dimmer, fastOnOff, lastHeardFrom, ledOnOff, manualChange
insteon:device:577D36:35F3983 address = 35.F3.83 productKey = F00.00.19 channels = beep, dimmer, fastOnOff, lastHeardFrom, ledOnOff, manualChange
insteon:device:577D36:3ABE68 address = 3A.BE.68 productKey = F00.00.19 channels = beep, dimmer, fastOnOff, lastHeardFrom, ledOnOff, manualChange
insteon:device:577D36:3ABE6C address = 3a.BE.6C productKey = F00.00.19 channels = beep, dimmer, fastOnOff, lastHeardFrom, ledOnOff, manualChange
insteon:device:577D36:3E75BD address = 3E.75.BD productKey = F00.00.19 channels = beep, dimmer, fastOnOff, lastHeardFrom, ledOnOff, manualChange
and this running: insteon display_channels
insteon display_channels
insteon:device:577D36:26EFB3:dimmer feature = dimmer parameters = {}
insteon:device:577D36:35F3983:dimmer feature = dimmer parameters = {}
insteon:device:577D36:3ABE68:dimmer feature = dimmer parameters = {}
insteon:device:577D36:3ABE6C:dimmer feature = dimmer parameters = {}
insteon:device:577D36:3E75BD:dimmer feature = dimmer parameters = {}
Thanks for your thoughts,
Gerry

This shows how you have the devices and channels configured in openHAB. This looks good. The problem is with the physical configuration of the insteon devices themselves.

How did you relink the devices and hub as a responder and controllers again? My suggestion is to use insteon terminal, and see how each device database is configured using the getdb() function. Then if everything looks correct, try the sendOff() and sendOn() functions.

BTW, have you looked at the openhab.log file and see if there are any logs from the insteon binding? Maybe you see something like:

device aa.bb.cc not found in the modem database. Did you forget to link?

I created a bug for this, and will submit a PR to address it.

I’ll give it a try. I configured things and items I using the web graphical interface. What is weird is my previous used Insteon devices work every time I reset them and reinstall.
Thanks

I tried Insteon Terminal, but 2457D2 dimmers were not supported. I did find a solution. With both the 2245-222 hub and one of the Insteon modules plugged in to power, perform Local Programming. Press the set button on the hub until it beeps and green light flashes. The press the set button on the module until it double beeps. Then the hub is linked to the module.
After that the dimmer Item for the 2457D2 in OpenHab controls the physical 2457D2 dimmer perfectly. Then I went to Alexa app and added the device from the OpenHab skill. Worked great.

1 Like