I’m using openHAB2 (upgraded from 1.8 after a spectacular SD card failure) and the Mios binding configured with a Vera Lite running the latest firmware. Almost everything is working; I used the item generation scripts, huge thanks for that!
The one signal I’m not getting is the Lock Button presses. The generated binding is here:
Here’s the log description from Vera if that helps (masked system name and id):
The “Lock” button was pressed on “Kwikset Door Lock” in room “1 Downstairs” at 2016-10-24 09:01:36. Reported by serial #111111111. Alert #6091488462
Is there some log debugging I can turn on in OH2 to get the detailed mios logs that I used to be able to get in OH1? I’m assuming with that we could get to the source of the issue quickly.
From that, you should be able to extract a small snippet of the log containing the events that occurred during the manual activation of the Lock. You’ll want to put Vera into Verbose Logging mode first so you’ll capture more details.
If you PM me copies of the following, then I should be able to work out what’s going on:
your MiOS user_data.xml (the one used to generate the openHAB Items file)
If MiOS is doing the right thing, this should be transmitted as a change to the MiOS Binding, and there should be an openHAB events.log entry like:
06 10/26/16 10:34:39 - KwiksetDoorLockslLockButton state updated to 1
If that event-log entry is missing, then you can enable TRACE logging on the MiOS Binding. It’ll dump even more information, and that can be used to see if the value is being sent over to openHAB from MiOS.