How do I determine what version of openhab2 a thing is in?

Seems like it would have been easier to just use the 2.2 snapshot version of OH instead of buying an older device.

The zwave device database gets compiled into the binding. You cannot manually add a new device short of modifying your local copy of the database and recompiling the zwave binding. As far as I know, there are no instructions for doing this written out anywhere.

There are upgrade instructions in each of the Installation documents. Here are the instructions for auto-installed instances on Linux.

http://docs.openhab.org/installation/linux.html#changing-versions

There is a similar section for all the other OS’s and methods of installation.

If it is listed in the DB on Chris’s site, it is either already in the latest SNAPSHOT or will be within a couple of days. At this time with my current knowledge that is the best I can offer.

I think it doesn’t come up as much because the typical practice is if the device is not in your current version of OH then one either waits for the next release or updates to the snapshot. If the device is not in the database at all, one submits the necessary information to the database, waits a couple of days, and then uses the snapshot.

It is often possible, though not always, to just update a single binding to the snapshot version. To do this you uninstall your current binding, download the latest snapshot from here (download the openhab-addons-2.2.0-SNAPSHOT.kar). Using an unzipping program (tar may work too) extract the contents of the kar file and then you can drop org.openhab.binding.zwave-2.2.0-SNAPSHOT.jar into the addons folder (/usr/share/openhab2/addons for an installed OH, /opt/openhab2/addons for a manually installed OH). I believe that version will automatically be picked up and installed for you at this point.

However, be aware that depending on what changes have been made to the OH core, this may not work as these newer builds of the bindings may depend on those changes to the OH core rendering them incompatible with older versions of the OH core. In particular I do think there are some recent changes to the OH core that would make the 2.2 SNAPSHOT version of the bindings no longer compatible with 2.1. I don’t know this for sure but suspect that may be the case.

Finally, this may not be the case for you with the devices you talked about thus far, but for future readers who come across this thread, battery-powered devices will show up in OH as Unknown until you wake them up a few times to give the binding a chance to figure out what they are.