Hi. I got a Raspberry Pi last week with the intent of building a home automation controller so I can move my 25+ Insteon devices off Indigo and into the Pi. Towards that end I've installed Insteon Terminal and OpenHab2. Both appear to be working.
There's a bit of an information no-mans-land between what I've done and the next step, which is to make those devices clickable in OpenHab.
Here's my list of devices in Insteon Terminal's init.py. For brevity's sake, I'll list only my three test devices:
modem = Modem2413U("house_plm", "3c.4d.4f")
backyardFenceLights = Switch2477S("backyard_fence_lights", "23.0e.f4")
backyardFloods = Dimmer2477D("backyard_floods", "03.74.60")
upstairsSconceSwitch = Keypad2487S("upstairs_sconce_switch", "05.7c.86")
These all respond to on() and off(). They appear in listDevices():
>>> listDevices()
backyard_floods 03.74.60
backyard_fence_lights 23.0e.f4
upstairs_sconce_switch 05.7c.86
So I added them to OpenHab2's /items/home.items config:
Switch backyardFenceLights "Backyard Fence Lights" {insteonplm="23.0e.f4:F00.00.1D#switch"}
Switch backyardFloods "Backyard Flood Lights" { insteonplm="03.74.60#F00.00.04#switch" }
Switch upstairsSconceSwitch "Upstairs Hall Sconce" { insteonplm="05.7c.86:F00.00.14#switch" }
What I run the GUI in OpenHab2 I see the devices but no on/off switches, or at least nothing clickable:

So I went back to Insteon Terminal to see if there was an issue I overlooked. I think I found it:
/home/pi/insteon-terminal# ./insteon-terminal
Insteon Terminal
Connecting
Connected
Terminal ready!
>>> modem.getdb()
Modem Link DB complete
>>>
There are no links in my 2413U PLM. The links I gave Insteon Terminal were only local to that terminal session.
So my question is, how do I burn them into the modem? I saw a message here about how to use Python to do this but I'm not a Python programmer so I don't know how to do it. I also have a mix of both early and late generation Insteon devices here and from what I could gather from that thread there are different ways to do this.
I really can't do the "button dance" here because I have several InLine-Linc Insteon responders buried in the ceiling under heavy chandeliers. I have their codes though. In Indigo, you just search on the hex triplet and it identifies the device and device type for you and then syncs it to the PLM. Is there something similar on open source?
Or is there a way to do this programmatically using Insteon Terminal? I've read the docs and saw references to addController() and addResponder(), linkAsController, etc. but I'm not sure what they do or if they're even what I need.
Can someone give me some pointers on how to write these devices to the PLM?