Issue of the topic: 2 Unknown devices of which 1 is found in the Jackson Database
Problem
I have 2 unknown Z-wave devices.
One is found I can find on https://www.cd-jackson.com/
the other is a newer version of the same device where only the ID has changed.
So I have now 2 XML files from the Jackson database but I have no clue where to put them.
Of all the information out there is no guide or I cannot find one that explains it step by step.
So what do I do?
Question
What is the step by step approach?
Do I for instance need to save the files where the openhab2 is installed?
If so in which directory and how should the be named?
Can I watch the log (tail -f or log:tail) for something that the file are recognised?
Do I for instance need to compile openhab2 (or just the zwave addon)?
If so where do I put the files in the source tree and how should I name them?
Device 1 XML Excerpt
This one should be found with vendor ID (0214:0002:0001)
If the device is already in the DB, you would not need to change something since it should be in the ZWave binding as well.
If you have a battery powered device, device pairing takes a bit. You might need to wake up the device several times when pairing. It should be detected as the correct device then.
It does not have any effect to change that XML on your system.
You need to create a new DB entry and supply the XML file from your system.
After the DB entry is created chris needs to sync the database into the next OH build and you need to get and run that before you can expect your addition to take effect.
I understand that there is a device database maintained by Jackson and it winds up in the in the openHab2 Z-wave binding add-on also maintained by Jackson.
So the only way to add a Z-wave device description to my openHab installation
is to add it remotely at www.cd-jackson.com and wait for the next openhab release?
Personally I will do not believe that that is the only way.
I think you need to be able to test it on my own system before uploading it to the database for the community.
Yes. The DB is part of the OH zwave binding code so no believe it or not there is no other way
(assuming we’re talking about you being the first to have/add this type of device).
But you don’t need to wait for the next OH release (i.e. 2.5), it’ll be in the next snapshot as well.
As I said changing the local XML does not have any effect.
This information leads to my next set of questions
How do a I get the latest (or update) of my “Z-wave binding” add-on in my openHab2 application ?
How can I test a device/thing description XML?
My Investigation of the ‘Z-wave binding’ add-on
In the file /var/lib/openhab2/tmp/kar/openhab-addons-2.4.0/org/openhab/binding/org.openhab.binding.zwave/2.4.0/org.openhab.binding.zwave-2.4.0.jar are the XML-files located which can be downloaded from the jackson’s website.
A jar file is actually a zip-archive which you can edit and add the missing XML-files for my device.
Would that allow me to test a modified XML-file for a new device as an option?
One of the fixes is found in lots of different posts is a way to manually add Things. I used information from the “OpenZwave” application to find the correct device XML containing the thing type-id and node it is attached to by unzipping the jar file. So no more automatic discovery of devices that are sleeping and then waking them up to still not to be found at all anyway.
What is missing in the Paper-UI is to select a zwave device manually for non click monkeys.
Only problem is that OpenHab2 does not do this happily.
When I thought something should work as I configured it only did it after restarting OpenHab2.
As far as I know only the things file is not implemented fully after changing on a running OpenHab2 service. (openhab2 v4.2.1 and binding-zwave v2.4.0)