# Unknown device - I'm lost!

**URL:** <https://community.openhab.org/t/unknown-device-im-lost/41776>\
**Category:** Beginners\
**Tags:** database, zwave1, unknowndevice\
**Created:** [March 15, 2018, 3:01am UTC](https://community.openhab.org/t/unknown-device-im-lost/41776 "2018-03-15T03:01:45Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rob\_Haynes](https://community.openhab.org/user_avatar/community.openhab.org/rob_haynes/32/42200_2.png) [@Rob\_Haynes](https://community.openhab.org/u/Rob_Haynes)\
**Post date:** [March 15, 2018, 3:01am UTC](https://community.openhab.org/t/unknown-device-im-lost/41776/1 "2018-03-15T03:01:45Z")

</div>

I am currently making Amazon rich by ordering Zwave devices. But so far 3 of them come up undefined. I’ve been searching the documentation here and am as confused as h.||. There is an infamous database. I found it once but now the links say page not found. (There is a link [https://docs.openhab.org/addons/bindings/zwave/readme.html](https://docs.openhab.org/addons/bindings/zwave/readme.html) called “Full list of supported things”. Sounds like just what I want, but its broken.)

I intuit from some of the posts its fairly easy to modify a similar xml file and make it work. But I can’t find anything that tells me what to do with the xml file. How do I find the parameters its using to try to look up the device?

---

<div class="post-metadata">

**Author:** ![luckymallari](https://community.openhab.org/user_avatar/community.openhab.org/luckymallari/32/15259_2.png) [@luckymallari](https://community.openhab.org/u/luckymallari)\
**Post date:** [March 15, 2018, 4:43am UTC](https://community.openhab.org/t/unknown-device-im-lost/41776/2 "2018-03-15T04:43:32Z")

</div>

Have you ready the database guide?

[http://www.cd-jackson.com/index.php/zwave/zwave-device-database/zwave-device-database-guide](http://www.cd-jackson.com/index.php/zwave/zwave-device-database/zwave-device-database-guide)

---

<div class="post-metadata">

**Author:** ![Rob\_Haynes](https://community.openhab.org/user_avatar/community.openhab.org/rob_haynes/32/42200_2.png) [@Rob\_Haynes](https://community.openhab.org/u/Rob_Haynes)\
**Post date:** [March 15, 2018, 10:04pm UTC](https://community.openhab.org/t/unknown-device-im-lost/41776/3 "2018-03-15T22:04:15Z")

</div>

Yes, I looked there. That tells you how to add something to the database. Is that the way I get something to work? Or is there an XML file I put someplace where Openhab can find it so that it now “knows” about the device even though its not in the database. It tells you the minimum things you need in a text file, but not where it goes or the format of the file or what other things you can specify.

According to that doc it looks up stuff based on:  
Manufacturer ID  
Device Type  
Device ID  
Firmware version

In my case presumably its reading these from the device and not finding an entry in the database that corresponds. For me to create something to put in the DB, I need to know these but I haven’t found where openhab logs this.

---

<div class="post-metadata">

**Author:** ![luckymallari](https://community.openhab.org/user_avatar/community.openhab.org/luckymallari/32/15259_2.png) [@luckymallari](https://community.openhab.org/u/luckymallari)\
**Post date:** [March 15, 2018, 10:12pm UTC](https://community.openhab.org/t/unknown-device-im-lost/41776/4 "2018-03-15T22:12:53Z")

</div>

Everything you need is in the link I posted above. Did you read the entire guide?

```auto
Creating a device from an XML file
This allows creating of a device from the XML file that openHAB generates once it has initialised a device and this is the recommended way to create a device. Go to the Device List and click on the tools button in the top right of the page - this will provide you with the two options listed above. If you are uploading an XML file, you should enter the device name and label. Below this information is a box that allows you to paste in an XML file. Open the XML file for the node you want to add (in the /etc/zwave folder for OH1, and the {userdata}/zwave folder for OH2) and paste the data into this box and press the Submit button. This will perform some sanity checks on the XML file to ensure that it has all the information required, and that it is consistent with the information you manually entered, and that another device with these identifiers doesn’t already exist in the database.

```

---

<div class="post-metadata">

**Author:** ![Rob\_Haynes](https://community.openhab.org/user_avatar/community.openhab.org/rob_haynes/32/42200_2.png) [@Rob\_Haynes](https://community.openhab.org/u/Rob_Haynes)\
**Post date:** [March 15, 2018, 10:34pm UTC](https://community.openhab.org/t/unknown-device-im-lost/41776/5 "2018-03-15T22:34:53Z")

</div>

Here is why I dismissed that web address the first time around. I did a search for a few manufacturers that I knew were supported, like GE and Schlage. Neither are in the manufacturer list. So, my thinking was this is something old I’ve stumbled upon that might not be supported.

Does it really say in there where I find the ID’s, type and firmware version that OH discovered? If it does, I’m too dense to recognize it.

---

<div class="post-metadata">

**Author:** ![luckymallari](https://community.openhab.org/user_avatar/community.openhab.org/luckymallari/32/15259_2.png) [@luckymallari](https://community.openhab.org/u/luckymallari)\
**Post date:** [March 15, 2018, 10:36pm UTC](https://community.openhab.org/t/unknown-device-im-lost/41776/6 "2018-03-15T22:36:01Z")

</div>

> [@luckymallari](#):
>
> Open the XML file for the node you want to add (in the /etc/zwave folder for OH1, and the {userdata}/zwave folder for OH2)

```auto
Open the XML file for the node you want to add (in the /etc/zwave folder for OH1, and the {userdata}/zwave folder for OH2)
```

---

<div class="post-metadata">

**Author:** ![Sascha\_Billian](https://community.openhab.org/user_avatar/community.openhab.org/sascha_billian/32/17056_2.png) [@Sascha\_Billian](https://community.openhab.org/u/Sascha_Billian)\
**Post date:** [March 15, 2018, 10:52pm UTC](https://community.openhab.org/t/unknown-device-im-lost/41776/7 "2018-03-15T22:52:26Z")

</div>

What kind of devices do you have?  
I’m far from being a ZWave expert, but could it just be that the device inclusion was not completed?

Have you look at [http://www.cd-jackson.com/index.php/zwave/zwave-device-database/zwave-device-list](http://www.cd-jackson.com/index.php/zwave/zwave-device-database/zwave-device-list) if you devices are already in the DB?

---

<div class="post-metadata">

**Author:** ![Rob\_Haynes](https://community.openhab.org/user_avatar/community.openhab.org/rob_haynes/32/42200_2.png) [@Rob\_Haynes](https://community.openhab.org/u/Rob_Haynes)\
**Post date:** [March 15, 2018, 10:53pm UTC](https://community.openhab.org/t/unknown-device-im-lost/41776/8 "2018-03-15T22:53:50Z")

</div>

[node5.xml](https://community-openhab-org.s3-eu-central-1.amazonaws.com/original/3X/3/6/36fbb914a1d0116e0e6ae6ba03ecddb18d3ba1f4.xml) (3.5 KB)  
Attached should be my xml file. I don’t see in there the ID’s.

---

<div class="post-metadata">

**Author:** ![Rob\_Haynes](https://community.openhab.org/user_avatar/community.openhab.org/rob_haynes/32/42200_2.png) [@Rob\_Haynes](https://community.openhab.org/u/Rob_Haynes)\
**Post date:** [March 15, 2018, 10:56pm UTC](https://community.openhab.org/t/unknown-device-im-lost/41776/9 "2018-03-15T22:56:25Z")

</div>

Its a Schlage BE468. It should be in the DB but I don’t see any Schlage devices there. I’ve exercised the device maybe 100 times since adding it to the controller, so it should have had time to sync up.

---

<div class="post-metadata">

**Author:** ![luckymallari](https://community.openhab.org/user_avatar/community.openhab.org/luckymallari/32/15259_2.png) [@luckymallari](https://community.openhab.org/u/luckymallari)\
**Post date:** [March 15, 2018, 11:21pm UTC](https://community.openhab.org/t/unknown-device-im-lost/41776/10 "2018-03-15T23:21:48Z")

</div>

It’s written on the guide. If it’s not there, you need to add (submit) it.

---

<div class="post-metadata">

**Author:** ![Private](https://community.openhab.org/user_avatar/community.openhab.org/private/32/17442_2.png) [@Private](https://community.openhab.org/u/Private)\
**Post date:** [March 15, 2018, 11:32pm UTC](https://community.openhab.org/t/unknown-device-im-lost/41776/11 "2018-03-15T23:32:16Z")

</div>

Hi Rob,

Schlage is owned by Allegion. Within the search specify ‘BE468’ and then select the manufacturer as ‘Allegion’. Spolier: The lock is within database so that’s great news.

Hope that helps,  
Mon

---

<div class="post-metadata">

**Author:** ![Rob\_Haynes](https://community.openhab.org/user_avatar/community.openhab.org/rob_haynes/32/42200_2.png) [@Rob\_Haynes](https://community.openhab.org/u/Rob_Haynes)\
**Post date:** [March 16, 2018, 4:34am UTC](https://community.openhab.org/t/unknown-device-im-lost/41776/12 "2018-03-16T04:34:48Z")

</div>

Thanks Monika, that really helps.

Luckymallari, you are basically telling me RTFM, which believe me I have. I am still trying to find out how OH2 can tell me what its using to lookup the Manufacturer ID, Device Type, Device ID and Firmware version. I’ve looked in the database guide, the xml file generated by OH2 and the log from the OH2 console. I don’t recognize anything as the ID’s or the other DB keys.

---

<div class="post-metadata">

**Author:** ![5iver](https://community.openhab.org/user_avatar/community.openhab.org/5iver/32/21201_2.png) [@5iver](https://community.openhab.org/u/5iver)\
**Post date:** [March 16, 2018, 3:29pm UTC](https://community.openhab.org/t/unknown-device-im-lost/41776/13 "2018-03-16T15:29:12Z")

</div>

> [@Rob\_Haynes](#):
>
> I am still trying to find out how OH2 can tell me what its using to lookup the Manufacturer ID, Device Type, Device ID and Firmware version.

Not all of the information will be in the device’s XML until it has completed initialization. This should happen quickly, so there may be an issue. If you are interested in seeing an example, the XMLs can be exported from the db. Also, the [BE468](http://www.cd-jackson.com/index.php/zwave/zwave-device-database/zwave-device-list/devicesummary/240) uses security, which is not currently supported in the 2.2 release version of the zwave binding (you didn’t say what version of OH and zwave binding you were using). To use this device, you would need to look here…

> [@OH2 Z-Wave refactoring and testing... and SECURITY](https://community.openhab.org/t/oh2-z-wave-refactoring-and-testing-and-security/21653):
>
> The latest version of the development binding dated 8th Sep 2018 is [here](http://www.cd-jackson.com/downloads/openhab2/org.openhab.binding.zwave-2.4.0-SNAPSHOT.jar). Toward the end of last year I spent some time doing some initial refactoring of the ZWave binding in OH2. This focussed on rewriting the way transactions work as this is an enabler for other areas of the code. At the same time I also restructured the different layers of the binding to make things cleaner, and done some changes to support a system of autocoding the command classes directly from the Z-Wave standard which s…

---

<div class="post-metadata">

**Author:** ![Rob\_Haynes](https://community.openhab.org/user_avatar/community.openhab.org/rob_haynes/32/42200_2.png) [@Rob\_Haynes](https://community.openhab.org/u/Rob_Haynes)\
**Post date:** [March 17, 2018, 4:37pm UTC](https://community.openhab.org/t/unknown-device-im-lost/41776/14 "2018-03-17T16:37:26Z")

</div>

Thanks Scott.

It is OH 2.2. No xml file is being generated and I’m seeing an exception in the log (see below). I’ll download the version you suggest and see what happens.

2018-03-15 21:25:08.362 [ERROR] [st.core.internal.thing.ThingResource] - Exception during HTTP PUT request for update config at ‘things/zwave:device:d74aa60d:node5/config’  
java.lang.NullPointerException: null  
at org.eclipse.smarthome.config.xml.AbstractXmlBasedProvider.get(AbstractXmlBasedProvider.java:151) [108:org.eclipse.smarthome.config.xml:0.10.0.b1]  
at org.eclipse.smarthome.config.xml.AbstractXmlConfigDescriptionProvider.getConfigDescription(AbstractXmlConfigDescriptionProvider.java:50) [108:org.eclipse.smarthome.config.xml:0.10.0.b1]  
at org.eclipse.smarthome.config.core.ConfigDescriptionRegistry.getConfigDescription(ConfigDescriptionRegistry.java:152) [103:org.eclipse.smarthome.config.core:0.10.0.b1]  
at org.eclipse.smarthome.config.core.ConfigDescriptionRegistry.getConfigDescription(ConfigDescriptionRegistry.java:188) [103:org.eclipse.smarthome.config.core:0.10.0.b1]  
at org.eclipse.smarthome.io.rest.core.internal.thing.ThingResource.normalizeConfiguration(ThingResource.java:735) [126:org.eclipse.smarthome.io.rest.core:0.10.0.b1]  
at org.eclipse.smarthome.io.rest.core.internal.thing.ThingResource.updateConfiguration(ThingResource.java:415) [126:org.eclipse.smarthome.io.rest.core:0.10.0.b1]  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]  
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]  
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]  
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) [178:org.glassfish.jersey.core.jersey-server:2.22.2]  
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144) [178:org.glassfish.jersey.core.jersey-server:2.22.2]  
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161) [178:org.glassfish.jersey.core.jersey-server:2.22.2]  
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160) [178:org.glassfish.jersey.core.jersey-server:2.22.2]  
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99) [178:org.glassfish.jersey.core.jersey-server:2.22.2]  
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389) [178:org.glassfish.jersey.core.jersey-server:2.22.2]  
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347) [178:org.glassfish.jersey.core.jersey-server:2.22.2]  
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) [178:org.glassfish.jersey.core.jersey-server:2.22.2]

---

<div class="post-metadata">

**Author:** ![5iver](https://community.openhab.org/user_avatar/community.openhab.org/5iver/32/21201_2.png) [@5iver](https://community.openhab.org/u/5iver)\
**Post date:** [March 17, 2018, 5:16pm UTC](https://community.openhab.org/t/unknown-device-im-lost/41776/15 "2018-03-17T17:16:31Z")

</div>

> [@Rob\_Haynes](#):
>
> It is OH 2.2

If you are also using the 2.2.0 version of the zwave binding, then you will need to upgrade _at least_ the binding. 😉 The dev binding also resolves the issue that in your log. If you are upgrading OH to a 2.3.0 snapshot, you may want to grab something older than 1230, since there [could be some issues](https://community.openhab.org/t/unit-support-knx-2-karaf-4-1-5-upgrade-and-more/41904).

Please use [code fences](https://community.openhab.org/t/how-to-use-code-fences/38383).
