ZDDX xml

Discussions about existing Z-Wave device and their usage with Z-Way/Z-Cloud/Z-Box
Post Reply
pierre2302
Posts: 122
Joined: 15 Oct 2013 19:04

ZDDX xml

Post by pierre2302 » 29 Oct 2017 21:27

Hello

I create an xml file for a missing module in the database.

I would like to know how to know the values to put for:

Code: Select all

  <deviceData>
            <manufacturerId value="0159"/>
        <productType value="0004"/>
    <productId value="0081"/>
    <libType value="03"/>
    <protoVersion value="03"/>
    <protoSubVersion value="1c"/>
    <appVersion value="01"/>
    <appSubVersion value="0c"/>
        <basicClass value="04"/>
            <genericClass value="10"/>
            <specificClass value="01"/>
        <optional value="true"/>
    <listening value="true"/>
    <routing value="true"/>
        <beamSensor>0</beamSensor>
            <rfFrequency>EU</rfFrequency>
                
      </deviceData>

are these values important ?

Thank you
" Raspi 2 (RaZberry) / Raspi B (Razberry) " With OpenRemote Free 2.2.0_TTS-Email-Serial and Z-Way

User avatar
PoltoS
Posts: 4334
Joined: 26 Jan 2011 19:36

Re: ZDDX xml

Post by PoltoS » 05 Nov 2017 17:32

Press a button Create ZDDX on the device Config page and all those will be filled automatically.

pierre2302
Posts: 122
Joined: 15 Oct 2013 19:04

Re: ZDDX xml

Post by pierre2302 » 05 Nov 2017 20:09

For the commandclass I used the documentation builder, but I guess it is also preferable to use ZDDX code creator ?

Thank you
" Raspi 2 (RaZberry) / Raspi B (Razberry) " With OpenRemote Free 2.2.0_TTS-Email-Serial and Z-Way

User avatar
PoltoS
Posts: 4334
Joined: 26 Jan 2011 19:36

Re: ZDDX xml

Post by PoltoS » 07 Nov 2017 20:57

Yes, the builder does most of the work for you. You just need to fill association names, config params and generic text description

pierre2302
Posts: 122
Joined: 15 Oct 2013 19:04

Re: ZDDX xml

Post by pierre2302 » 07 Nov 2017 23:02

ok thank you

I created the xml file for the module QUBINO ZMNHJD1. Do you want to add it to the ZDDX list ?
" Raspi 2 (RaZberry) / Raspi B (Razberry) " With OpenRemote Free 2.2.0_TTS-Email-Serial and Z-Way

pierre2302
Posts: 122
Joined: 15 Oct 2013 19:04

Re: ZDDX xml

Post by pierre2302 » 08 Dec 2018 23:42

I edited the xml files for devices: Neo Coolcam NAS-SC01Z, Neo Coolcam NAS-WR01ZE and Qubino ZMNHJD1.

I added them with the command:

Code: Select all

cd /opt/z-way-server/ZDDX
sudo python ./MakeIndex.py

Everything works fine but since I upgraded to v3.0.0-rc16 nothing appears in the interview tab for these 3 devices.
Sans titre.jpg
Sans titre.jpg (95.65 KiB) Viewed 87 times

Xml file:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<ZWaveDevice xmlns="http://www.pepper1.net/zwavedb/xml-schemata/z-wave" schemaVersion="2">

  <descriptorVersion>1</descriptorVersion>

  <deviceData>
            <manufacturerId value="0258"/>
        <productType value="0003"/>
    <productId value="1087"/>
    <libType value="03"/>
    <protoVersion value="04"/>
    <protoSubVersion value="05"/>
    <appVersion value="03"/>
    <appSubVersion value="5e"/>
        <basicClass value="04"/>
            <genericClass value="10"/>
            <specificClass value="01"/>
        <optional value="true"/>
    <listening value="true"/>
    <routing value="true"/>
        <beamSensor>0</beamSensor>
            <rfFrequency>EU</rfFrequency>
                
      </deviceData>

  <deviceDescription>
                <description>
            <lang xml:lang="de"></lang>
            <lang xml:lang="en">Power plug is an intelligent device that can be controlled remotely by the Z-wave</lang>
          </description>
            <wakeupNote>
            <lang xml:lang="de"></lang>
            <lang xml:lang="en"></lang>
          </wakeupNote>
            <inclusionNote>
            <lang xml:lang="de"></lang>
            <lang xml:lang="en"> Quickly, triple click the code button, the device will enter inclusion mode, and the LED light will flash red and yellow five times .</lang>
          </inclusionNote>
            <productName>NAS-WR01ZE</productName>
            <brandName>Neo CoolCam</brandName>
                <productCode>NAS-WR01ZE</productCode>
            <productVersion>3.94</productVersion>
                    </deviceDescription>

    <commandClasses>
		<commandClass id="0020" version="1" supported="true" controlled="false" secure="false" inNIF="true"/>
		<commandClass id="0025" version="1" supported="true" controlled="false" secure="false" inNIF="true"/>
		<commandClass id="0027" version="1" supported="true" controlled="false" secure="false" inNIF="true"/>
		<commandClass id="0032" version="4" supported="true" controlled="false" secure="false" inNIF="true"/>
		<commandClass id="0059" version="1" supported="true" controlled="false" secure="false" inNIF="true"/>
		<commandClass id="005a" version="1" supported="true" controlled="false" secure="false" inNIF="true"/>
		<commandClass id="005e" version="2" supported="true" controlled="false" secure="false" inNIF="true"/>
		<commandClass id="0070" version="1" supported="true" controlled="false" secure="false" inNIF="true"/>
		<commandClass id="0073" version="1" supported="true" controlled="false" secure="false" inNIF="true"/>
		<commandClass id="0085" version="2" supported="true" controlled="false" secure="false" inNIF="true"/>
		<commandClass id="0086" version="2" supported="true" controlled="false" secure="false" inNIF="true"/>
		<commandClass id="0072" version="2" supported="true" controlled="false" secure="false" inNIF="true"/>
      </commandClasses>
		
    <assocGroups>
        <assocGroup number="1" maxNodes="5">
            <description>
                <lang xml:lang="de"></lang>
                <lang xml:lang="en">Group 1</lang>
              </description>
          </assocGroup>
        <assocGroup number="2" maxNodes="5">
            <description>
                <lang xml:lang="de"></lang>
                <lang xml:lang="en">Group 2</lang>
              </description>
          </assocGroup>
        <assocGroup number="3" maxNodes="5">
            <description>
                <lang xml:lang="de"></lang>
                <lang xml:lang="en">Group 3</lang>
              </description>
          </assocGroup>
      </assocGroups>
  
    <configParams>
        <configParam number="1" type="constant" size="1" default="01">
            <name>
                <lang xml:lang="de"></lang>
                <lang xml:lang="en">Meter Report Enable.</lang>
              </name>
                  <description>
                <lang xml:lang="de"></lang>
                <lang xml:lang="en">This parameter defines Disable/Enable meter report measure data to controller.</lang>
              </description>
      
                  <value from="00" to="00">
                <description>
                    <lang xml:lang="de"></lang>
                    <lang xml:lang="en">Disable Report</lang>
                  </description>
              </value>
            <value from="01" to="01">
                <description>
                    <lang xml:lang="de"></lang>
                    <lang xml:lang="en">Enable Report</lang>
                  </description>
              </value>
                </configParam>
        <configParam number="2" type="range" size="2" default="012c">
            <name>
                <lang xml:lang="de"></lang>
                <lang xml:lang="en">Meter Report Interval.</lang>
              </name>
                  <description>
                <lang xml:lang="de"></lang>
                <lang xml:lang="en">This parameter defines interval time (in seconds) that Meter report data to main controller.</lang>
              </description>
      
                  <value from="0000" to="ffff" unit="1s">
                <description>
                    <lang xml:lang="de"></lang>
                    <lang xml:lang="en">default 300 (=300sec)</lang>
                  </description>
              </value>
                </configParam>
        <configParam number="3" type="range" size="1" default="0d">
            <name>
                <lang xml:lang="de"></lang>
                <lang xml:lang="en">Configure maximum over-load current.</lang>
              </name>
                  <description>
                <lang xml:lang="de"></lang>
                <lang xml:lang="en">If the current consumed by load greater than maximum current, the plug will cut off power.</lang>
              </description>
      
                  <value from="00" to="10" unit="1A">
                <description>
                    <lang xml:lang="de"></lang>
                    <lang xml:lang="en">default 13 (=13A)</lang>
                  </description>
              </value>
                </configParam>
        <configParam number="4" type="range" size="1" default="0c">
            <name>
                <lang xml:lang="de"></lang>
                <lang xml:lang="en">Configure maximum Alarm current.</lang>
              </name>
                  <description>
                <lang xml:lang="de"></lang>
                <lang xml:lang="en">The plug will send over-current notification to main controller and the LED will be turn RED, but plug cannot cut-off power. This value must be less than parameter 3#.</lang>
              </description>
      
                  <value from="00" to="10" unit="1A">
                <description>
                    <lang xml:lang="de"></lang>
                    <lang xml:lang="en">default 12 (=12A); 1 - parameter #3.</lang>
                  </description>
              </value>
                </configParam>
        <configParam number="5" type="constant" size="1" default="01">
            <name>
                <lang xml:lang="de"></lang>
                <lang xml:lang="en">Led Display Enable.</lang>
              </name>
                  <description>
                <lang xml:lang="de"></lang>
                <lang xml:lang="en">This parameter defines the LED indication Function ON/OFF</lang>
              </description>
      
                  <value from="00" to="00">
                <description>
                    <lang xml:lang="de"></lang>
                    <lang xml:lang="en">Disable LED</lang>
                  </description>
              </value>
            <value from="01" to="01">
                <description>
                    <lang xml:lang="de"></lang>
                    <lang xml:lang="en">Enable LED.</lang>
                  </description>
              </value>
                </configParam>
		<configParam number="6" type="range" size="1" default="05">
            <name>
                <lang xml:lang="de"></lang>
                <lang xml:lang="en">Configure power report.</lang>
              </name>
                  <description>
                <lang xml:lang="de"></lang>
                <lang xml:lang="en">This parameter defines by how much power consumed must change to be reported to the Z-Wave Controller.</lang>
              </description>
      
                  <value from="01" to="64">
                <description>
                    <lang xml:lang="de"></lang>
                    <lang xml:lang="en">default 5 (=5%)</lang>
                  </description>
              </value>
                </configParam>
        <configParam number="7" type="constant" size="1" default="01">
            <name>
                <lang xml:lang="de"></lang>
                <lang xml:lang="en">Remember Relay ON/OFF status</lang>
              </name>
                  <description>
                <lang xml:lang="de"></lang>
                <lang xml:lang="en">This parameter defined the relay status if remember or not.</lang>
              </description>
      
                  <value from="00" to="00">
                <description>
                    <lang xml:lang="de"></lang>
                    <lang xml:lang="en">Don’t Remember, the relay will keep OFF when Plug Supply Power</lang>
                  </description>
              </value>
            <value from="01" to="01">
                <description>
                    <lang xml:lang="de"></lang>
                    <lang xml:lang="en">Remember the Relay Status.</lang>
                  </description>
              </value>
                </configParam>
		<configParam number="8" type="constant" size="1" default="00">
            <name>
                <lang xml:lang="de"></lang>
                <lang xml:lang="en">Configure Plug Time switch Function.</lang>
              </name>
                  <description>
                <lang xml:lang="de"></lang>
                <lang xml:lang="en">This parameter defines the timer function Enable/Disable.</lang>
              </description>
      
                  <value from="00" to="00">
                <description>
                    <lang xml:lang="de"></lang>
                    <lang xml:lang="en">Time switch Disable.</lang>
                  </description>
              </value>
            <value from="01" to="01">
                <description>
                    <lang xml:lang="de"></lang>
                    <lang xml:lang="en">Time switch Enable.</lang>
                  </description>
              </value>
                </configParam>
		<configParam number="9" type="range" size="2" default="0096">
            <name>
                <lang xml:lang="de"></lang>
                <lang xml:lang="en">Configure Time switch Period</lang>
              </name>
                  <description>
                <lang xml:lang="de"></lang>
                <lang xml:lang="en">This parameter defines the time period that plug time switch off. The relay will be turn-off after delay this parameter.</lang>
              </description>
      
                  <value from="0001" to="ffff" unit="minutes">
                <description>
                    <lang xml:lang="de"></lang>
                    <lang xml:lang="en">default 150 (=150min)</lang>
                  </description>
              </value>
                </configParam>
        <configParam number="10" type="constant" size="1" default="01">
            <name>
                <lang xml:lang="de"></lang>
                <lang xml:lang="en">Button On/Off enable</lang>
              </name>
                  <description>
                <lang xml:lang="de"></lang>
                <lang xml:lang="en"></lang>
              </description>
      
                  <value from="00" to="00">
                <description>
                    <lang xml:lang="de"></lang>
                    <lang xml:lang="en">Disable button.</lang>
                  </description>
              </value>
            <value from="01" to="01">
                <description>
                    <lang xml:lang="de"></lang>
                    <lang xml:lang="en">Enable button.</lang>
                  </description>
              </value>
                </configParam>
		<configParam number="11" type="constant" size="1" default="00">
            <name>
                <lang xml:lang="de"></lang>
                <lang xml:lang="en">Clear accumulated energy.</lang>
              </name>
                  <description>
                <lang xml:lang="de"></lang>
                <lang xml:lang="en"></lang>
              </description>
      
                  <value from="00" to="00">
                <description>
                    <lang xml:lang="de"></lang>
                    <lang xml:lang="en">Disable clear accumulated energy.</lang>
                  </description>
              </value>
            <value from="ff" to="ff">
                <description>
                    <lang xml:lang="de"></lang>
                    <lang xml:lang="en">Enable clear accumulated energy.</lang>
                  </description>
              </value>
                </configParam>
      </configParams>
   
  </ZWaveDevice>
What's the problem ?
" Raspi 2 (RaZberry) / Raspi B (Razberry) " With OpenRemote Free 2.2.0_TTS-Email-Serial and Z-Way

Post Reply