Trying to add Insteon Item

First off I’m completely new to OpenHAB so I apologize in advance if this is something simple. First question I have is about using the Insteon Hub as the PLM or the USB 2413U. I purchased a 2413U and added it to my Windows PC (VM). It was installed on COM3 so I edited the insteonplm.cfg file to use that COM port and it was found but it never seemed to discover anything. So i added the HUB2 instead and it found my three devices. Before I go further is it better to use the USB, once i get it working, or use the HUB2? My next question is how do i add these devices to an insteon.items file? Device 3F.E2.11 is a plugin ON/OFF module. So I created a file called insteon.items and added this line.

Plugin OnOffModule “KatrinaPlugin1” {insteonplm=“3F:E2:11:F00.00.1B#OnOff Module”}

And then created a site map called home.sitemap and added the below.

sitemap demo label=“Main Menu” {
Frame label=“Date” {
Text item=Date
}
Frame label=“Katrina” {
Text label=“Plugin 1” icon=“1stfloor” {
Switch item=OnOffModule
}

        }
        }

I ran both of these inside of smarthome designer and corrected some errors that it highlighted. But still nothing shows up in OpenHAB paper UI. Not sure what I’m doing wrong. Any help would be greatly appreciated.

2017-02-07 11:14:37.331 [INFO ] [g.insteonplm.InsteonPLMActiveBinding] - config: port_0 -> /hub2/xxxxxx:xxxxx@x.x.x.x:25105,poll_time=1000
2017-02-07 11:14:37.336 [INFO ] [b.core.service.AbstractActiveService] - InsteonPLM has been started
2017-02-07 11:14:37.338 [INFO ] [g.insteonplm.InsteonPLMActiveBinding] - devices: 0 configured, 0 polling, msgs received: 0
2017-02-07 11:14:37.341 [INFO ] [g.insteonplm.InsteonPLMActiveBinding] - config: refresh -> 600000
2017-02-07 11:14:37.342 [INFO ] [g.insteonplm.InsteonPLMActiveBinding] - config: service.pid -> org.openhab.insteonplm
2017-02-07 11:14:47.466 [INFO ] [g.insteonplm.InsteonPLMActiveBinding] - modem database has 4 entries!
2017-02-07 11:14:47.467 [INFO ] [g.insteonplm.InsteonPLMActiveBinding] - device 3F.E2.68 found in the modem database, but is not configured as an item and the modem controls groups [0x00,0x02] and responds to groups [0x01].
2017-02-07 11:14:47.467 [INFO ] [g.insteonplm.InsteonPLMActiveBinding] - device 42.05.D1 found in the modem database, but is not configured as an item and the modem controls groups [0x01,0x04] and responds to groups [0x01].
2017-02-07 11:14:47.467 [INFO ] [g.insteonplm.InsteonPLMActiveBinding] - device 3F.E2.11 found in the modem database, but is not configured as an item and the modem controls groups [0x00,0x02] and responds to groups [0x01].
2017-02-07 11:23:47.876 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'Insteon.items’
2017-02-07 11:23:47.876 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'Insteon.items’
2017-02-07 11:23:57.891 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'home.sitemap’
2017-02-07 11:23:57.891 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'home.sitemap’
2017-02-07 11:24:37.340 [INFO ] [g.insteonplm.InsteonPLMActiveBinding] - devices: 0 configured, 0 polling, msgs received: 9

You need to specify it as a Switch, not a “PluginOnOffModule”. See example config in the insteonplm wiki.

Thanks for the quick response! So i changed the line to the below. I know see it in the openhab log but it says I’m missing a param? It does show up in my sitemap and I do see events in the event log but the plugin doesn’t respond.

Switch OnOffModule “Katrina Plugin1” {insteonplm=“3F:E2:11:F00.00.1B#Switch”}

Binding configuration of type ‘insteonplm’ of item ‘OnOffModule’ could not be parsed correctly.
org.eclipse.smarthome.model.item.BindingConfigParseException: missing colon in item format: 3F:E2:11:F00.00.1B#Switch, should be address:prodKey#feature, e.g. 28.c3.91:F00.00.01#switch,param=xxx

2017-02-08 10:29:51.624 [ItemCommandEvent ] - Item ‘OnOffModule’ received command OFF
2017-02-08 10:29:51.624 [ItemStateChangedEvent ] - OnOffModule changed from ON to OFF
2017-02-08 10:29:54.650 [ItemCommandEvent ] - Item ‘OnOffModule’ received command ON
2017-02-08 10:29:54.650 [ItemStateChangedEvent ] - OnOffModule changed from OFF to ON

Not sure why it’s complaining about a missing colon, that’s probably a bug. You have colons enough. But can you change the “Switch” to “switch”?

Here is the example from the wiki.

Switch officeLight "office light" {insteonplm="xx.xx.xx:F00.00.02#switch"}

Changed it but same error message

Switch OnOffModule “Katrina Plugin1” {insteonplm=“3F:E2:11:F00.00.1B#switch”}

2017-02-08 19:37:51.101 [ERROR] [el.item.internal.GenericItemProvider] - Binding configuration of type ‘insteonplm’ of item ‘OnOffModule’ could not be parsed correctly.
org.eclipse.smarthome.model.item.BindingConfigParseException: missing colon in item format: 3F:E2:11:F00.00.1B#switch, should be address:prodKey#feature, e.g. 28.c3.91:F00.00.01#switch,param=xxx

Could be some bad character in your string that does not show on the screen. Can you try cut-and-pasting exactly the line from the insteonplm wiki, and then just replace the xx with your address? Don’t edit anything else. See if that works. Then fix the device type, then the rest…