I am new to openHAB and cannot get the basic Insteon PLM setup and working with any device.
I have an openhabianpi setup on RPI3 with a 4314U modem connected. I added the PLM binding via the paper UI and it shows as installed (however the binding is not listed at Configuration > Bindings)
I set the port in the insteonplm.cfg file: port_0=/dev/ttyUSB0
I see log entries like below for the binding in the openhab.log:
2017-04-23 12:23:37.541 [INFO ] [nding.insteonplm.InsteonPLMActivator] - Insteon PLM binding has been started.
2017-04-23 12:23:37.647 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-insteonplm1': Error restarting bundles
2017-04-23 12:52:02.386 [INFO ] [b.core.service.AbstractActiveService] - InsteonPLM has been started
2017-04-23 12:52:02.378 [INFO ] [g.insteonplm.InsteonPLMActiveBinding] - dead device timeout set to 3000s
2017-04-23 12:52:02.384 [INFO ] [g.insteonplm.InsteonPLMActiveBinding] - config: port_0 -> /dev/ttyUSB0
2017-04-23 12:52:02.386 [INFO ] [b.core.service.AbstractActiveService] - InsteonPLM has been started
2017-04-23 12:52:02.406 [INFO ] [g.insteonplm.InsteonPLMActiveBinding] - devices: 0 configured, 0 polling, msgs received: 0
2017-04-23 12:52:02.437 [INFO ] [g.insteonplm.InsteonPLMActiveBinding] - config: service.pid -> org.openhab.insteonplm
2017-04-23 12:52:02.510 [INFO ] [onplm.internal.driver.SerialIOStream] - successfully opened port /dev/ttyUSB0
2017-04-23 12:52:02.843 [INFO ] [g.insteonplm.InsteonPLMActiveBinding] - modem database has 1 entries!
...
2017-04-23 15:52:02.456 [INFO ] [g.insteonplm.InsteonPLMActiveBinding] - devices: 0 configured, 0 polling, msgs received: 0
In order to test connecting to the modem, I thought I would link using the Insteon-Terminal. Setup and installed but when attempting to connect to the modem bu USB, I get this error:
no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver
Iâm using this terminal command:
connectToMyUSB()
My init.py comtains:
def connectToMyUSB():
"""connects to my modem on pre-defined usb port"""
connectToSerial("/dev/ttyUSB0")
What could I be missing? Should I see the binding in the paper UI? What might be the issue with the terminal?
Do I need to link via the terminal before creating items or things for openHAB?