The big Warning was every 5 minutes that it couldn’t complete db download from PLM/HUB, retrying…
I also get the (unfortunately typical):
[…ding.insteonplm.internal.driver.Port] - bad data received: got unknown command code 0x16
where 0x16 might be anything.
but that always happens
Over lunch I moved to Oracle and am getting fewer issues. I moved via the following commands:
[06:55:30] openhabian@openHABianPi:~$ java -version
openjdk version "1.8.0_121"
OpenJDK Runtime Environment (Zulu Embedded 184.108.40.206-linux-aarch32hf) (build 1.8.0_121-b42)
OpenJDK Client VM (Zulu Embedded 220.127.116.11-linux-aarch32hf) (build 25.121-b42, mixed mode, Evaluation)
sudo apt-get install oracle-java8-jdk
sudo update-java-alternatives -s jdk-8-oracle-arm32-vfp-hflt
[13:46:13] openhabian@openHABianPi:~$ java -version
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) Client VM (build 25.65-b01, mixed mode)
Since upgrading no the DB from PLM/HUB gets downloaded OK (almost takes the full5 minutes):
2017-10-18 13:52:39.452 [INFO ] [b.core.service.AbstractActiveService] - InsteonPLM has been started
2017-10-18 13:52:39.485 [INFO ] [g.insteonplm.InsteonPLMActiveBinding] - config: port_0 -> /hub2/myuser:firstname.lastname@example.org:25105,poll_time=1000
2017-10-18 13:52:39.642 [INFO ] [g.insteonplm.InsteonPLMActiveBinding] - devices: 0 configured, 0 polling, msgs received: 0
2017-10-18 13:52:40.116 [INFO ] [g.insteonplm.InsteonPLMActiveBinding] - config: service.pid -> org.openhab.insteonplm
2017-10-18 13:57:04.604 [INFO ] [g.insteonplm.InsteonPLMActiveBinding] - modem database has 68 entries!
so it took from 2017-10-18 13:52:39.452 to 2017-10-18 13:57:04.604 which is about 4 minutes 25 seconds.
At least with Oracle it is finishing and response to turning a light on manually via BasicUI has gone from multiple minutes and unreliable under Zulu OpenJDK to reliable and 1 or two seconds [actually it is now reliably under one second response]
I’m not blaming the design of Zulu OpenJDK nor promoting Oracle over it, it is just that in the case of using insteonPLM binding against a HUB2014 over a network connection, insteonplm binding is clearly operating better.
For now I would summarize by saying if you are using insteonplm binding, at least to a Hub2014 (2245-222) via ethernet you want to move/change openhabian from its default to using Oracle JDK.