This is my first post so I’m sorry if this is a dumb question. I am trying to bind my insteon devices to openhab2. I am confused as to if I need a PLM for this to work. I currently only have the Insteon Hub2 2245-222. I read in the documentation that it could be done with the PLM or just the hub. I just want to make sure if I need to get a PLM to be able to bind my insteon devices. Any help with this would be a great help. Thank you!
Do you have an example of how you got this set up? Sorry for the dumb questions. I am new to this. But this is exciting news that I don’t need to go buy a PLM now! Thank you for your help!
I would encourage you in the mean time have a look at the binding docs again a re-read. But here is some info to get you pointed in right direction.
Get the user name am done password from bottom of you hub.
Get the IP address of you hub.
When you install the binding you will see an insteon plm CFg file in the services directory. Put the username ip and password here in line that says for hub uncomment.
Restart openHAB and watch the logs it should say connecting with hub.
After you get this far have to start pairing the devices and setup items after.
I am another newbie trying to get my insteon bindings to work. I am getting a problem with having my Lamplinc dimmers recognized by the syste.
Here is my current content on default.items:
Dimmer lampe_salon “Lampe du salon” {insteonplm=“23.6C.F9:F00.00.19#dimmer,dimmermax=70”}
Dimmer lampe_cuisine “Lampe de la cuisine” {insteonplm=“23.6E.7D:F00.00.19#dimmer”}
Switch lampe_perron “Lampe du perron” {insteonplm=“C.1:X00.00.01#switch”}
Switch lampes_garage “Lampes du garage” {insteonplm=“C.2:X00.00.01#switch”}
And here is my current default.sitemap:
sitemap default label=“My first sitemap”
{
Dimmer item=lampe_perron label=“Lampe du perron”
Dimmer item=lampes_garage label=“Lampes du garage”
Switch item=lampe_salon label=“Lampe du salon”
Switch item=lampe_cuisine label=“Lampe de la cuisine”
}
Now when I start up openHAB I get an error report on the content of that sitemap. Here a relevant excerpt from the l;og:
2019-03-13 12:26:21.031 [INFO ] [ebuilder.internal.HomeBuilderServlet] - Started Home Builder at /homebuilder
2019-03-13 12:26:21.031 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2019-03-13 12:26:22.234 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Location set to ‘45.837516799999996,-72.5803008’.
2019-03-13 12:26:28.967 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘default.items’
2019-03-13 12:26:29.606 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2019-03-13 12:26:29.784 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model ‘default.sitemap’ has errors, therefore ignoring it: [3,5]: required (…)+ loop did not match anything at input ‘Dimmer’
2019-03-13 12:26:30.069 [WARN ] [lipse.smarthome.io.net.exec.ExecUtil] - Execution failed (Exit value: -559038737. Caused by java.io.IOException: Cannot run program “arping” (in directory “.”): CreateProcess error=2, The system cannot find the file specified)
2019-03-13 12:26:30.069 [INFO ] [ternal.dhcp.DHCPPacketListenerServer] - DHCP request packet listener online
2019-03-13 12:26:30.207 [WARN ] [lipse.smarthome.io.net.exec.ExecUtil] - Execution failed (Exit value: -559038737. Caused by java.io.IOException: Cannot run program “arping” (in directory “.”): CreateProcess error=2, The system cannot find the file specified)
2019-03-13 12:26:30.323 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at http://192.168.0.15:8080
The items you define in the .items file as switches you are calling dimmers in your .sitemap file. Also the items you define as dimmers in .items are defines as switches in the .sitemap
Also, the .sitemap does not use “dimmer” it used “slider”, hence this warning:
2019-03-13 12:26:29.784 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model ‘default.sitemap’ has errors, therefore ignoring it: [3,5]: required (…)+ loop did not match anything at input ‘Dimmer’
Thanks a lot for the corrections, Tom! I can now see the sliders on my sitemap in the basic UI.
I am puzzled by the need to use “slider” instead of “dimmer” in the sitemap file, especially in view of the fact that I read in the documentation page “Creating a sitemap” that “ItemType and ItemName must be the same as defined in default.items”.
A slider widget can be used for any type of item that requires an input like this, examples are things like blind position, volume levels, light dim level among others. So since the widget can control many things, you name the widget for what it is, a slider control.