I’ve got an Insteon 2842-222 motion sensor and a Insteon 2242-222 hub (the 2012 version). The actual motion detection is working just fine, but I can’t seem to get the battery level or the light level out of it. I used the Insteon Android app to add the motion sensor to the system. I understand that the battery level and light level are only reported when a motion event is triggered, but even when triggered I don’t get anything. Here’s are the items for the motion sensor:
I just setup my motion sensors last night. Same item setup as you posted so I’m pretty sure that part is correct. Did you look at the logs to see if there was any hit there? I use a newer usb PLM - but maybe the older hub doesn’t provide those data points?
switch on insteonplm debug logging and post what messages come in and what the binding does when they come in. It should send out a query to find the battery level.
You may have to link two ways for the query to work, i.e. link motion sensor as controller and responder.
Did anything come of this, I’m experiencing the same issue, although I’m using the 2844-222 and a usb model Insteon PLM and Openhab 1.8.3 since version 2 was discussed as not working (or beginners’ PEBKAC). Since I’m still struggling with the basics I’m trusting nothing, what should this look like in the log? Where’s the controls to turn on the log (just in case I did it wrong!)? All that jumps out is that after waving at the sensor there’s a “gave up waiting for query reply from device XX:XX:XX” message in the insteonplm.log. Motion detection does work. I think I bi-directionally linked the PLM and motion sensor already (press and hold, followed by press and hold on the modem till they both beep; repeat going the other way).
Ultimately my question is how can I divide and conquer the end result of "nothing but a “-” is shown for battery and light intensity when using the example configuration here https://github.com/openhab/openhab1-addons/wiki/Insteon-PLM-Binding and having no idea what I’m doing (how hard can controlling a light switch be)?
Heh, I just got a 2844-222 and found it it is unrecognized with the PLM. I can pair it but it doesn’t know how to handle. Typically I pair in HouseLinc with the latest devices.xml file but Insteon hasn’t updated since Nov 2016 and it’s now Dec 2017. So all I get is an “unknown device” which may be the issue. The PLM doesn’t recognize the the Motion Sensor II is a controller. I tried to add the device ID stuff too Device Category 0x10 and SubCategory 0x16 in my *.items file but it wants the definition added in the xml file. Where is the xml file in 2.x ?
I used the paper ui to install the latest insteon binding in openhab2. I didn’t need to touch an XML file to obtain the MS status. Other features I haven’t yet had success with (ambient light and battery level)
If you can’t find the files I can look it up in my notes at home. I also use the Eclipse Smarthome designer to avoid constant frustrations with where was that file?
An update from one who was able to get it all working.
I was able to set up my 2844-222 Motion Sensor with my 2413U USB Modem and see the the Open and Closed state update appropriately in my OpenHAB 2 Basic UI. However, I too was not receiving information on the battery Level and Light Level.
In my initial setup I had only linked the motion sensor as a controller of the Modem because the motion sensor is a passive device. But, after reading this thread, I linked my Modem as a controller of the Motion Sensor, and immediate the battery and light level info started to populate.
my setup is the same as the guide and others here, but for your reference in case it helps: