Insteon things online but switch not working

Hi

I’m a newbie to openHAB 3.2.0 so please forgive the dumb questions.

I’m trying to drive an Insteon switch model 2633-522 via an Insteon
hub 2242-5222, PLM version 9D on a Windows 10 PC.

First I execute this command in cmd
C:\Program Files\openhab\start.bat

I’ve created an Insteon Network Thing with
/hub2/:@192.168.1.101:25105,poll_time=300
and it shows green ‘online’

I’ve also created an Insteon Device Thing which is a switch model
2635-522 (there is no device 2633-522 available in the dropdown menu
so I’m guessing this will do) and it too shows green online.

Then I have linked the switch via a channel and its code reads
ID: insteon:device:610433d870:3599cd1ef6
label: Insteon Device
thingTypeUID: insteon:device
configuration:
productKey: F00.00.1B
address: 47.70.BD
bridgeUID: insteon:network:610433d870
location: study

Then I have created an InsteonDevice_Switch Item and the Channel link
shows green an online

However, the device does not respond to the on/off switch in the Item
panel.

LOGS:

2022-05-23 16:06:05.920 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘insteon:network:3bf5c5014b’ changed from UNKNOWN to OFFLINE (CONFIGURATION_ERROR): Initialization failed, unable to start the Insteon bridge with the port ‘/hub2/elhay:14736251@192.168.1.112:25105,poll_time=300’.
2022-05-26 19:49:43.132 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘insteon:network:3bf5c5014b’ changed from OFFLINE (CONFIGURATION_ERROR): Initialization failed, unable to start the Insteon bridge with the port ‘/hub2/elhay:14736251@192.168.1.112:25105,poll_time=300’. to REMOVING
2022-05-26 19:49:43.135 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘insteon:network:3bf5c5014b’ changed from REMOVING to REMOVED
2022-05-26 19:49:43.136 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘insteon:network:3bf5c5014b’ changed from REMOVED to UNINITIALIZED
2022-05-26 19:49:43.144 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘insteon:network:3bf5c5014b’ changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
2022-05-26 19:51:23.407 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘insteon:network:610433d870’ changed from UNINITIALIZED to INITIALIZING
2022-05-26 19:51:23.410 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘insteon:network:610433d870’ changed from INITIALIZING to UNKNOWN
2022-05-26 19:51:28.481 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘insteon:network:610433d870’ changed from UNKNOWN to ONLINE
2022-05-26 19:59:30.485 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘insteon:device:610433d870:3599cd1ef6’ changed from UNINITIALIZED to INITIALIZING
2022-05-26 19:59:30.528 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘insteon:device:610433d870:3599cd1ef6’ changed from INITIALIZING to ONLINE
2022-05-26 20:03:19.315 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘InsteonDevice_Switch’ received command ON
2022-05-26 20:03:19.323 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item ‘InsteonDevice_Switch’ predicted to become ON
2022-05-26 20:03:19.330 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘InsteonDevice_Switch’ changed from NULL to ON
2022-05-26 20:03:24.974 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘InsteonDevice_Switch’ received command OFF
2022-05-26 20:03:24.975 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item ‘InsteonDevice_Switch’ predicted to become OFF
2022-05-26 20:03:24.977 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘InsteonDevice_Switch’ changed from ON to OFF
2022-05-26 20:03:35.806 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘InsteonDevice_Switch’ received command ON
2022-05-26 20:03:35.807 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item ‘InsteonDevice_Switch’ predicted to become ON
2022-05-26 20:03:35.809 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘InsteonDevice_Switch’ changed from OFF to ON
2022-05-26 20:03:37.456 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘InsteonDevice_Switch’ received command OFF
2022-05-26 20:03:37.457 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item ‘InsteonDevice_Switch’ predicted to become OFF
2022-05-26 20:03:37.458 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘InsteonDevice_Switch’ changed from ON to OFF
2022-05-26 20:53:38.878 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘InsteonDevice_Switch’ received command ON
2022-05-26 20:53:38.880 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item ‘InsteonDevice_Switch’ predicted to become ON
2022-05-26 20:53:38.882 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘InsteonDevice_Switch’ changed from OFF to ON
2022-05-26 20:53:41.383 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘InsteonDevice_Switch’ received command OFF
2022-05-26 20:53:41.384 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item ‘InsteonDevice_Switch’ predicted to become OFF
2022-05-26 20:53:41.386 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘InsteonDevice_Switch’ changed from ON to OFF
2022-05-26 20:57:56.771 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘InsteonDevice_Switch’ received command ON
2022-05-26 20:57:56.773 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item ‘InsteonDevice_Switch’ predicted to become ON
2022-05-26 20:57:56.774 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘InsteonDevice_Switch’ changed from OFF to ON
2022-05-26 20:57:58.278 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘InsteonDevice_Switch’ received command OFF
2022-05-26 20:57:58.279 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item ‘InsteonDevice_Switch’ predicted to become OFF
2022-05-26 20:57:58.280 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘InsteonDevice_Switch’ changed from ON to OFF

Anyone have any suggestions on how to address this?

Thanks in advance

From what I see in the log file, you are turning the item InsteonDevice_Switch ON/OFF in the UI. For example here’s the last part of the log file:

2022-05-26 20:57:58.278 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘InsteonDevice_Switch’ received command OFF

and it’s getting sent to the binding:

2022-05-26 20:57:58.279 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item ‘InsteonDevice_Switch’ predicted to become OFF

and the switch responded that it changed from ON to OFF:

2022-05-26 20:57:58.280 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘InsteonDevice_Switch’ changed from ON to OFF

What is not working? Maybe the switch is bad?

I noticed that it is happening really fast. Do you properly have the item configured for the device? What does the links show for the item and thing?

Please use code tags to mark logs as code. It’s much cleaner and more easy to read. :wink: Please be aware that you can always edit your postings.

What’s the configuration of the thing/channel/item?

Thanks for the quick response.

I believe the switch is working because it switches on and off according to a program (previously loaded when the Insteon web site was still working).

Once again, thanks for the rapid response.

In desperation I tried recreating the things and items.

Insteon Network code entry is now

UID: insteon:network:8672b34199
label: Insteon Network
thingTypeUID: insteon:network
configuration:
port: /hub/192.168.1.101:9761
devicePollIntervalSeconds: 300
location: test

and under Channels it reads

“This thing has no channels. Either the thing type doesn’t define
channels, or they may be detected and appear later.”

Insteon Device Code reads:

UID: insteon:device:8672b34199:f3f48ee8e9
label: Insteon Device
thingTypeUID: insteon:device
configuration:
productKey: F00.00.0D
address: 47.70.BD
bridgeUID: insteon:network:8672b34199
location: test

and under channels none of B,L,L,S look live.

The items page shows
a text tag "apartment’
Semantic Classification class is Location_indoor_Apartment
Metadata has nothing and
Channel links has nothing

Is that what you were asking about?

Hi Thanks. Not sure about code tags. Can you point me to where I can read about how that is done?

In the meantime this is what I hope you are asking about. Sorry if it’s not.

In desperation I tried recreating the things and items.

Insteon Network code entry is now

UID: insteon:network:8672b34199
label: Insteon Network
thingTypeUID: insteon:network
configuration:
port: /hub/192.168.1.101:9761
devicePollIntervalSeconds: 300
location: test

and under Channels it reads

“This thing has no channels. Either the thing type doesn’t define
channels, or they may be detected and appear later.”

Insteon Device Code reads:

UID: insteon:device:8672b34199:f3f48ee8e9
label: Insteon Device
thingTypeUID: insteon:device
configuration:
productKey: F00.00.0D
address: 47.70.BD
bridgeUID: insteon:network:8672b34199
location: test

and under channels none of B,L,L,S look live.

The items page shows
a text tag "apartment’
Semantic Classification class is Location_indoor_Apartment
Metadata has nothing and
Channel links has nothing

Cheers

You need to make sure the item is linked to the switch channel:

Ah, thank you. I’ll have a go at doing that.

Thanks for that. Problem solved! Now to get into openHAB sufficiently that I can schedule events.
Thanks again.

1 Like

Code tags (or Code fences):
```
code goes here. By the way, it’s an extra large line of code, so normally it will be a word wrap, which breaks a tabbed list of information. But as code, the text will stay in one line.
```
will result in

code goes here. By the way, it's an extra large line of code, so normally it will be a word wrap, which breaks a tabbed list of information. But as code, the text will stay in one line.

It’s even possible to write [code] and [/code] for start of code block and end of code block.

Ah, OK. Thanks.

As you will have seen my problem has been resolved with kind help.

Yes, the point is, it’s good to know how to format text in the forum the right way :slight_smile: no offence.

Noted. Thanks.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.