Hardware:
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
I don’t really know what version of OpenHab I’m running here. None of the tricks to reveal that worked here. However I followed the installation video here:
The sources were downloaded via apt-get install from a bintray.com Debian repository.
I installed the following add-ons (under /usr/share/openhab/addons)
-rw-r--r-- 1 root root 14000 May 22 2016 org.openhab.binding.gpio-1.8.3.jar
-rw-r--r-- 1 root root 19566 May 22 2016 org.openhab.binding.http-1.8.3.jar
-rw-r--r-- 1 root root 244547 May 22 2016 org.openhab.binding.insteonplm-1.8.3.jar
-rw-r--r-- 1 root root 143446 May 22 2016 org.openhab.io.gpio-1.8.3.jar
-rw-r--r-- 1 root root 498173 May 22 2016 org.openhab.io.transport.serial-1.8.3.jar`
Here are my items. It’s just one Insteon device for now (/etc/openhab/configurations/items/home.items):
Switch mUpstairsHallSconce "Upstairs Hall Sconce" { insteonplm="05.7C.86:F00:00.14#switch" }
Here’s my sitemap (/etc/openhab/configurations/sitemaps/home.sitemap):
sitemap home label="Home"
{
Frame label="Upstairs Hall Sconce"
{
Switch mUpstairsHallSconce
}
}
I did a sudo service openhab restart. Then I hit the Pi’s IP on a browser with this URL:
http://192.168.1.13:8080/openhab.app?sitemap=home
I don’t know how to upload an image here but there’s not much there:
I get a banner that says “Home” and a device title, “Upstairs Hall Sconce”. The footer says “©2010-2015 openHAB.org” That’s it.
What’s missing? There’s no switch there. There’s just a title.
I’ve got an Insteon USB PowerLinc Modem Model #2413U plugged into the wall and into the USB connection on the Pi. The Pi appears to recognize it as /dev/ttyUSB0. I added that to openhab.cfg:
insteonplm:port_0=/dev/ttyUSB0
I thought it might be permissions on the device so I set /dev/ttyUSB0 to 0666 but that didn’t change anything.
What am I missing? It doesn’t appear to know about the 2413U, or even Insteon for that matter.