Hi Everyone, thanks for any suggestions here.
I am running OH 1.8.3 on a Ubuntu 14.04 x64 machine. I have a 2413U connected to the box over USB.
I have everything very basic at the moment, just trying to get a single switch to work remotely, then I planned on getting more fancy with rules and such. Problem is, commands I send to the switch through OH seem to be ignored by the switch. In debug logging I can see this occur…
Item: TestDimmer got command 100
00:26:28.606 [DEBUG] [o.o.b.i.i.device.InsteonDevice:241 ] - processing command 100 features: 4
00:26:28.606 [DEBUG] [.o.b.i.i.device.CommandHandler:557 ] - changing level of 30.AD.66 to 100
00:26:28.607 [INFO ] [.o.b.i.i.device.CommandHandler:563 ] - PercentHandler: sent msg to set 30.AD.66 to 255
00:26:28.607 [DEBUG] [o.o.b.i.i.device.InsteonDevice:454 ] - gave up waiting for query reply from device 30.AD.66
00:26:28.608 [DEBUG] [o.o.b.i.i.device.InsteonDevice:459 ] - qe taken off direct: GenericDimmer(1:3:8) OUT:Cmd:0x62|toAddress:30.AD.66|messageFlags:0x0F=DIRECT:3:3|command1:0x11|command2:0xFF|
I have updated my InsteonPLM binding and Serial binding to the latest version on cloudbees.
If I fire up insteon-terminal I am able to pull the db from both the PLM and the dimmer without issue. I can see they are both linked properly. I can even issue the command livingroom.on() and the light will flip right on no questions asked.
I have read forums for two days trying different suggestions without success. Here is additional information that might help someone to point me in the right direction.
USB permissions
ls -lah /dev/ttyUSB0
crw-rw-rw- 1 root dialout 188, 0 Jul 22 00:26 /dev/ttyUSB0
.items
.sitemap
sitemap default label="My Home"
{
Frame label="Dimmers" {
Slider item=TestDimmer switchSupport
}
modem.db
>>> modem.getdb()
0000 livingroom 30.AD.66 RESP 10100010 group: 01 data: 01 20 44
0000 livingroom 30.AD.66 CTRL 11100010 group: 01 data: 01 20 44
Modem Link DB complete
switch.db
>>> livingroom.getdb()
getting db, be patient!
sent db query msg, incoming records: >>> 1 2 3
----- database -------
0fff modem 34.79.1B CTRL 11101010 group: 01 ON LVL: 3 RMPRT: 28 BUTTON: 1
0ff7 modem 34.79.1B RESP 10101010 group: 01 ON LVL: 0 RMPRT: 28 BUTTON: 1
0fef 00.00.00 00.00.00 (RESP) 00000000 group: 00 ON LVL: 0 RMPRT: 0 BUTTON: 0
----- end ------------
java 1.8
openjdk version "1.8.0_91"
OpenJDK Runtime Environment (build 1.8.0_91-8u91-b14-0ubuntu4~14.04-b14)
OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)
java defaults
update-alternatives --config java
There are 2 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1069 auto mode
1 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1069 manual mode
2 /usr/lib/jvm/java-8-oracle/jre/bin/java 1 manual mode
update-alternatives --config java
There are 2 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1069 auto mode
1 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1069 manual mode
2 /usr/lib/jvm/java-8-oracle/jre/bin/java 1 manual mode
I feel I have checked everything that could possible be checked, yet still no joy. I would be so thankful if someone could point me in the right direction.
Thanks so much!