I know I need to delete all things and readd them.
Anything else that should be considered?
I actually wanted to create thing files once I switch to the new binding. (I use item files - but for things it did not go that way yet) … Any pro/cons for that?
Please note that due to some ESH dependancy changes, I will be updating the version number to 2.2. Nothing else really changes, but if you cache a link anywhere, it might break.
When I do the next update, I’ll also update the link at the top of this thread.
This will be interesting… I’ve had difficulty getting rid of bindings after a jar file name change. The old binding is still cached if the jar file is just deleted. My crystal ball says there will be a few people running two zwave bindings after this update. IIRC, I think what has worked for me was:
feature:uninstall org.openhab.binding.zwave in Karaf
shutdown OH
delete old jar file
copy in the new jar with the different name
restart OH
Shutting down OH may not be necessary. We shall see!
Hi All: Sorry for going back to basics for a moment… I’m very very new to OH2. Integrating secure locks is essential for my overall goals - I initially added my 910 door lock using the stock binding, but commands were unsuccessful, hence why I’ve landed on this thread. I’d just like to confirm my understanding of the installation/configuration steps for Chris’ new binding so I can use, tinker and test. This thread spans a lot of time & versions, contains a lot of information, and so I just wanted to circle back and confirm my understanding with up-to-date info:
Remove all things & items
Uninstall Z-Wave binding
Download new jar file and place in the addons folder.
??4.This is where I start to start to see mixed advice/instruction. Do I need to “activate” the new file somehow? Do I reboot and install the stock binding again? Do I need to issue commands in the karaf (if so, I don’t have a console at my Pi, so it looks like I need to open karaf ssh access to my local network to issue commands via putty, yes?)? Do I still need to install serial transport in OH2? ETC…
??5. When adding secure devices again, must you use the include functions from OH, and not with the button on my Aeotec Z-Stick Gen5? What (if anything) needs to be done manually configuring a secure key?
Any guidance is appreciated… I know this is toddler stuff…
Yes. You cannot secure include with the zstick unless it is plugged in and controlled by zwave gateway software. If you read up in the thread, you’ll see discussions about secure inclusion failing at times and other software being used. This works, as long as the same key used in OH is passed to the device.
Thanks a ton - Got my lock working! I saw some chatter that this command wouldn’t be necessary in 2.x, but this and the OH initiated inclusion did the trick!
I seem to be having some trouble with user codes. My device supports 250, but I have edited the XML to only support 20 so it does not cause a hangup in Habmin. While I can SEE my user codes, any attempt to change or add within Habmin results in a “pending” state. This pending state I believe is normal at first because the lock is a battery operated device. However, that pending state has still been in effect for 4 days and no changes have been made to the lock. The lock has most definitely checked into the system as I get status updates every 30 minutes. I have also noticed in my XML that the User Codes sections shows up with negative number slots starting at slot 6 (small snippet but the negative numbers continue through 128). Happy to provide any debug log(s) necessary.
Locks should respond almost immediately - although they are battery operated, they use FLIRS so there’s very little delay.
Make sure you’re using the latest version of the binding as I fixed the negative number issue recently (I’m pretty sure it’s in the current binding anyway).
That fixed my negative numbers, however still not having any luck getting habmin to process user code changes. Still just sits “pending”. Trying to change it through paper UI also gives me a 500 internal sever error.
2017-09-26 21:07:22.562 [ERROR] [ome.io.rest.core.thing.ThingResource] - Exception during HTTP PUT request for update config at ‘things/zwave:device:2dee796a:node3/config’ for thing ‘zwave:device:2dee796a:node3’: null
2017-09-26 21:07:24.087 [INFO ] [mmandclass.ZWaveDoorLockCommandClass] - NODE 3: Door-Lock config report - timeoutEnabled=true timeoutMinutes=254, timeoutSeconds=30
Note that my “Shutdown time” is giving -76 and won’t update, it means that I can’t save any settings… I believe you mentioned deleting an XML file? where is this file located?
Update:
I deleted the xml files in /var/lib/openhab2/zwave, however the -76 number remains and I still get the same error 500 message
also, my options for the door are:
Lock the door,
Show battery percentage
Alarm
When the door is unlocked by keypad, the lock function only OPENS the door, but can’t close it regardless of which way the switch is pressed.
Also opening the door from they keypad, doesn’t change the status on open hab? Is there any way for a live update on the door status? Would be awesome if we could have the status updated on the switch, as well as a notification of who opened the door