InsteonPLM giving me: java.io.IOException: no ports configured

I’m getting the following error for a few different devices in my insteon plm log:

2017-07-07 08:06:44 org.openhab.binding.insteonplm.internal.device.InsteonDevice.processRequestQueue(InsteonDevice.java:454) - gave up waiting for query reply from device 14.9C.D7
2017-07-07 08:06:44 org.openhab.binding.insteonplm.internal.device.InsteonDevice.processRequestQueue(InsteonDevice.java:459) - qe taken off direct: GenericDimmer(1:3:8) OUT:Cmd:0x62|toAddress:14.9C.D7|messageFlags:0x0F=DIRECT:3:3|command1:0x19|command2:0x00|
2017-07-07 08:06:44 org.openhab.binding.insteonplm.internal.device.InsteonDevice.processRequestQueue(InsteonDevice.java:473) - message write failed for msg OUT:Cmd:0x62|toAddress:14.9C.D7|messageFlags:0x0F=DIRECT:3:3|command1:0x19|command2:0x00|
java.io.IOException: no ports configured for instrument 14.9C.D7
	at org.openhab.binding.insteonplm.internal.device.InsteonDevice.getPort(InsteonDevice.java:140)[182:org.openhab.binding.insteonplm:1.9.0]
	at org.openhab.binding.insteonplm.internal.device.InsteonDevice.writeMessage(InsteonDevice.java:514)[182:org.openhab.binding.insteonplm:1.9.0]
	at org.openhab.binding.insteonplm.internal.device.InsteonDevice.processRequestQueue(InsteonDevice.java:471)[182:org.openhab.binding.insteonplm:1.9.0]
	at org.openhab.binding.insteonplm.internal.device.RequestQueueManager$RequestQueueReader.run(RequestQueueManager.java:128)[182:org.openhab.binding.insteonplm:1.9.0]
	at java.lang.Thread.run(Thread.java:748)[:1.8.0_131]

Any thoughts?

Looks like your ports are not configured correctly.

by ‘ports’ do you mean /dev/ttyUSB0 ? that works.

Do you see log lines with the text “successfully opened port”? Have you tried turning on DEBUG level logging for insteon? (The previous line is INFO level so you should see it by default.)

I did not. I did however see it in older logs. I think this might have been caused by me plugging in the USB device after the insteon PLM driver was already started. I’m going to restart the bundle in the openHAB console and see if that clears things up.

017-07-08 09:42:34 org.openhab.binding.insteonplm.internal.driver.SerialIOStream.open(SerialIOStream.java:58) - setting port speed to 19200
2017-07-08 09:42:34 org.openhab.binding.insteonplm.internal.driver.SerialIOStream.open(SerialIOStream.java:65) - successfully opened port /dev/ttyUSB0
2017-07-08 09:42:34 org.openhab.binding.insteonplm.internal.driver.Port$IOStreamReader.run(Port.java:268) - starting reader...
2017-07-08 09:42:34 org.openhab.binding.insteonplm.internal.driver.Port$IOStreamWriter.run(Port.java:406) - starting writer...
2

So far so good (after restart of binding)… I’ll watch the logs for errors over the course of the day.