Zwave Database entry for zuno

Hello

i am working with openhab 2 now. I have a zuno where i can develop my own Zwave Devices.
In openhab the Zuno is found, but i can not use it because its not in the Database. I can not see any Channel

Errormessage
Z-Wave Node 69 (0115:0110:0001:2.7)
Unknown Device
This device has not been fully discovered by the binding. There are a few possible reasons for this -:
• The device is not in the database. If the device attributes show that this device has a valid manufacturer ID, device ID and type, then this is likely the case (eg. you see a label like “Z-Wave node 1 (0082:6015:020D::2.0)”). Even if the device appears to be in the database, some manufacturers use multiple sets of references for different regions or versions, and your device references may not be in the database. In either case, the database must be updated and you should raise an issue to get this addressed.
• The device initialisation is not complete. Once the device is included into the network, the binding must interrogate it to find out what type of device it is. One part of this process is to get the manufacturer information required to identify the device, and until this is done, the device will remain unknown. For mains powered devices, this will occur quickly, however for battery devices the device must be woken up a number of times to allow the discovery phase to complete. This must be performed with the device close to the controller

I am “playing” now with the zuno and different states of use. (Switch / Sensor / Dimmer) For this tests i need the Zuno in the Database. It looks for a bigger issue to make a entry- But i see only entries from factories. How can i get the zuno in the Database for work with it?

kind regards
Werner

Interesting … never heard of it before, thanks for the info. Will take a deeper look.

Does it create a node xml file? Then you just have to add that file:

Take a look at “Creating a device from an XML file” in
http://www.cd-jackson.com/index.php/zwave/zwave-device-database/zwave-device-database-guide

Edit: okay, forget my answer, see Chris’ post below :joy:

Unfortunately at the moment the Zuno can’t be supported. If I understand correctly from my previous discussions, you can have different endpoints etc, and these are defined by you (right?) which means that each person can define something different. Therefore we can’t have a database entry that covers everyone.

The ultimate solution to this is to provide dynamic channels and this is the goal, but it’s not quite there yet. You could alternatively compile a binding yourself with an appropriate XML file - this is really the only option I can see at the moment unfortunately.

1 Like

See also…

Hello Chris

thanks for the fast reply. I write you a email with this problem to your address i find on your zwave homepage. The email is solved then.

I find a xml File for a zuno example (10 Channel Projekt). I think this example was make for certifie by zwave. I upload the file here, so you can take a look in it, if you want.

How can i compile this xml File and iuse it in openhab 2?

oh i see, i am a new user and can not upload :frowning:

kind regards
Werner

Just past the file in and format it with the </> button, or email it to me.

However, I thought that when you write the zuno app, you can define the endpoints, and the command classes used etc - ie it’s different for each user. At least that’s what the zwave.me people said in the other thread if I remember correctly. If so, this won’t work for all implementations.

Or is that wrong, and every zuno sketch will have the same endpoint definition?

Hello Chris

yes, every sketch can have different endpoints. So one universal entry in the database would not be work, i think. If i develop a devices, so i must make a XML file for openhab.

kid regards
Werner

<?xml version="1.0" encoding="utf-8"?>

1

0 EU 50106 50106
  </deviceData>
Z-Wave prototyping board, compatible with Arduino IDE. Triple press the button Z-Uno Z-Wave.Me ZME Z-Uno h/w revision 3 (10 Channels sample sketch)
<commandClasses>
    <commandClass id="005e" version="2"/>
    <commandClass id="0020" controlled="true" inNIF="false" secure="true" nonSecure="false"/>
    <commandClass id="0025"/>
    <commandClass id="0026" controlled="true"/>
    <commandClass id="0030" version="2"/>
    <commandClass id="0071" version="5"/>
    <commandClass id="0031" version="7"/>
    <commandClass id="0070"/>
    <commandClass id="0085" version="2"/>
    <commandClass id="008e" version="3"/>
    <commandClass id="0060" version="4" controlled="true"/>
    <commandClass id="007a" version="3"/>
    <commandClass id="005a"/>
    <commandClass id="0059"/>
    <commandClass id="0073"/>
    <commandClass id="0098" controlled="true"/>
    <commandClass id="0086" version="2"/>
    <commandClass id="0072" version="2"/>
  </commandClasses>

<assocGroups>
    <assocGroup number="2" maxNodes="5">
        <description>
            <lang xml:lang="en">Control Group</lang>
          </description>
      </assocGroup>
    <assocGroup number="1" maxNodes="5">
        <description>
            <lang xml:lang="en">Lifeline</lang>
          </description>
      </assocGroup>
  </assocGroups>

<configParams>
    <configParam number="1" type="constant" size="1" default="00">
        <name>
            <lang xml:lang="en">Debugging</lang>
          </name>
              <description>
            <lang xml:lang="en">Debug mode to apply channels, associations and power mode changes on the fly without exclusion-inclusion sequence. Use for debugging only!</lang>
          </description>
  
              <value from="00" to="00">
            <description>
                <lang xml:lang="en">No</lang>
              </description>
          </value>
        <value from="01" to="01">
            <description>
                <lang xml:lang="en">Yes</lang>
              </description>
          </value>
            </configParam>
    <configParam number="2" type="constant" size="1" default="01">
        <name>
            <lang xml:lang="en">LED</lang>
          </name>
              <description>
            <lang xml:lang="en">Blink with service LED during operation</lang>
          </description>
  
              <value from="00" to="00">
            <description>
                <lang xml:lang="en">No</lang>
              </description>
          </value>
        <value from="01" to="01">
            <description>
                <lang xml:lang="en">Yes</lang>
              </description>
          </value>
            </configParam>
  </configParams>

<endpoints>
       <endpoint number="10">
        <name>
            <lang xml:lang="en">SensorBinary, Notification </lang>
          </name>
              <description>
            <lang xml:lang="en">(Door/Window sensor)</lang>
          </description>
              <genericClass value="07"/>
              <specificClass value="01"/>
              <commandClass id="0071"/>
        <commandClass id="0030"/>
      </endpoint>
       <endpoint number="9">
        <name>
            <lang xml:lang="en">SensorMultilevel </lang>
          </name>
              <description>
            <lang xml:lang="en">(Temperature sensor)</lang>
          </description>
              <genericClass value="21"/>
              <specificClass value="01"/>
              <commandClass id="0031"/>
      </endpoint>
       <endpoint number="8">
        <name>
            <lang xml:lang="en">SensorMultilevel </lang>
          </name>
              <description>
            <lang xml:lang="en">(Luminance sensor)</lang>
          </description>
              <genericClass value="21"/>
              <specificClass value="01"/>
              <commandClass id="0031"/>
      </endpoint>
       <endpoint number="7">
        <name>
            <lang xml:lang="en">SensorBinary, Notification </lang>
          </name>
              <description>
            <lang xml:lang="en">(Motion sensor)</lang>
          </description>
              <genericClass value="07"/>
              <specificClass value="01"/>
              <commandClass id="0071"/>
        <commandClass id="0030"/>
      </endpoint>
       <endpoint number="6">
        <name>
            <lang xml:lang="en">SwitchMultilevel </lang>
          </name>
              <description>
            <lang xml:lang="en">(LED dimming)</lang>
          </description>
              <genericClass value="11"/>
              <specificClass value="01"/>
              <commandClass id="0026"/>
      </endpoint>
       <endpoint number="5">
        <name>
            <lang xml:lang="en">SwitchMultilevel </lang>
          </name>
              <description>
            <lang xml:lang="en">(LED dimming)</lang>
          </description>
              <genericClass value="11"/>
              <specificClass value="01"/>
              <commandClass id="0026"/>
      </endpoint>
       <endpoint number="4">
        <name>
            <lang xml:lang="en">SwitchMultilevel </lang>
          </name>
              <description>
            <lang xml:lang="en">(LED dimming)</lang>
          </description>
              <genericClass value="11"/>
              <specificClass value="01"/>
              <commandClass id="0026"/>
      </endpoint>
       <endpoint number="3">
        <name>
            <lang xml:lang="en">SwitchBinary </lang>
          </name>
              <description>
            <lang xml:lang="en">(LED on/off)</lang>
          </description>
              <genericClass value="10"/>
              <specificClass value="01"/>
              <commandClass id="0025"/>
      </endpoint>
       <endpoint number="2">
        <name>
            <lang xml:lang="en">SwitchBinary </lang>
          </name>
              <description>
            <lang xml:lang="en">(LED on/off)</lang>
          </description>
              <genericClass value="10"/>
              <specificClass value="01"/>
              <commandClass id="0025"/>
      </endpoint>
       <endpoint number="1">
        <name>
            <lang xml:lang="en">SwitchBinary </lang>
          </name>
              <description>
            <lang xml:lang="en">(LED on/off)</lang>
          </description>
              <genericClass value="10"/>
              <specificClass value="01"/>
              <commandClass id="0025"/>
      </endpoint>
  </endpoints>

here the link to the XML File

http://www.pepper1.net/zwavedb/device/985/985-0115-0110-0001-03-04-05-00-46.xml

kind regards
Werner

Link is unaccessible. Please give another try to download please

Hi,

currently developing a sketch for Z-Uno and I will create my xml file for it. to my experience in OH2 I think it should work flawlessly. I will tell more about it once I test it. The issue now is, if I want to include another Z-uno in my network but running a different sketch (different endpoints).
@chris: do you think we could manage this using versioning? I mean for each sketch we define an application version. Also for each sketch we create a XML file like this for example:

zwaveproducts_zuno_00_01.xml

and
zwaveproducts_zuno_01_01.xml.

I guess the trick would be to ask the Z-Uno guys to provide an API through which one can set the application version in a sketch. Would it work this way, what do you think?

Interesting idea. I’m not sure it’s really the right thing to do, but if the option is available then it could be used for now at least.

In the medium term I would like to make the binding more flexible in this area so it didn’t need channel definitions from the database, but this requires a bit more work…

Hi,
I am new with Z-Wave stuff. I try to do something with Z-UNO and Open Hab. I just read this intersting thread.
So what’s new on supporting Z-UNO in Open Hab ?

The idea should be the generate an XML file for an 10 certified channels Z-UNO sketch ?

 * 3 switches
 * 3 dimmers
 * 1 motion sensor
 * 1 temperature sensor
 * 1 luminance sensor
 * 1 door sensor

With this sketch we could do many things !

Thank you.

@chris I assume this is still the best bet? Is it okay to create the database entry on your site, just so I can download it to compile the binding myself? If so, can/should I delete it afterward?

I started typing up a thread to document my process/progress, but I was only allowed two links as a new user!

Edit: User has made it to “basic” trust level 1… I’ll start my thread once I get a little further in the process.

I’m getting closer. Almost have what I think will be a working DB xml by using examples from the actual device DB, the generated node xml, and the documentation.

I’ve already compiled the binding jar, so I should be able to get everything combined soon.

Working on documenting the process and I’ll post a link here to the thread with instructions once I’m done.

Alright, I’m up an running.

For anyone that’s having difficulty, here’s my thread on the process: