Like I suspect more than one person here, I was left high and dry when Insteon’s owners flaked without warning, and the services related to the hub were disabled. I’m going to give some background, but the tl;dr is that I have an insteon 6 key keypad to configure and I can’t figure out how to add “groups” for the keypad buttons in the gui.
I used this is an opportunity to get openhab3 working. I used openhab2 in the past, and had a full set of config files (the old items, sitemap, rules, etc. format). However, I saw that I could define the binding from the web using the insteon binding, and, nice, I got all of my existing insteon devices in my inbox as new “things”.
So, I started a model, set up all my rooms, and added each switch to the proper room using the “add equipment from thing” interface. This all worked fantastic - I actually have my lights back, even alexa control (once I figured out how to create alexa metadata on the points). I have one last thing that doesn’t work, and that’s my keypad.
This is a six-button keypad, which already functions (since the hub has the buttons bound to the devices for each one). What I used to use openhab2 for was to light up the appropriate keypad button if a light was turned on or off by any method OTHER than pushing the button. This was done with an “on update” rule.
I set up the rules for one button, and they even fire appropriately according to the log (when the light goes on, I get a corresponding keypad message in the events.log). But the keypad lights don’t go on. In openhab2, the items file entry looked like this:
Dimmer LR_Keypad "Keypad [%d]" (Living_Room,Everything) {insteonplm="39.45.A1:F00.00.15#loaddimmer"}
Switch LR_Keypad_1 "Keypad1" (Living_Room,Everything) {insteonplm="39.45.A1:F00.00.15#keypadbuttonA,group=0x02"}
Switch LR_Keypad_2 "Keypad2" (Living_Room,Everything) {insteonplm="39.45.A1:F00.00.15#keypadbuttonB,group=0x07"}
Switch LR_Keypad_3 "Keypad3" (Living_Room,Everything) {insteonplm="39.45.A1:F00.00.15#keypadbuttonC,group=0x0f"}
Switch LR_Keypad_4 "Keypad4" (Living_Room,Everything) {insteonplm="39.45.A1:F00.00.15#keypadbuttonD,group=0x10"}
I’m pretty sure the problem is that the “group=0x…” part isn’t configured. I tried adding them in metadata as command options, but that had no effect. I’ve been googling help on this like crazy, but every tutorial or answer I’ve seen, uses the “item” syntax, with no examples I can find of doing the same thing via the web interface. I’m thinking there must be a specific piece of metadata I need to add for each keypad’s group, but danged if I can guess what. Can anyone offer assistance?
I also tried going to /etc/openhab/configurations/items and putting just the keypad definition there (after stopping the service), but when I started the service again, all of the things returned “uninitialized” and the lights no longer worked, so I backed that out. The log did say it processed the file I created (default.items), but I’m not sure it’s kosher to mix items created that way with items created in the GUI. Before I mess with that more, I need to know that too.
Help! And thanks in advance. It’s nice to use openhab again, and it’s already saved my butt, considering I have lights with no reachable switches.