what is wrong in this xml?

For Z-Wave related questions in Domoticz

Moderator: leecollings

Post Reply
Gianni
Posts: 230
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Home@Belgium
Contact:

what is wrong in this xml?

Post by Gianni »

after i upgrade domoticz i need to manual adjust my manufacture list.
SO i add my curtain

Code: Select all

  <Manufacturer id="0258" name="Shenzhen Neo Electronics Co Ltd">
    <Product config="shenzen_neo/nas-ds01z.xml" id="0082" name="Door/Window Detector" type="0003"/>
    <Product config="shenzen_neo/nas-ds01z.xml" id="1082" name="Door/Window Detector" type="0003"/>
    <Product config="shenzen_neo/nas-ds01z.xml" id="2082" name="Door/Window Detector" type="0003"/>
    <Product config="shenzen_neo/nas-wr01z.xml" id="0087" name="NAS-WR01Z Power plug 12A" type="0003"/>
    <Product config="shenzen_neo/nas-wr01z.xml" id="1087" name="NAS-WR01Z Power plug 12A" type="0003"/>
    <!-- NAS-WR01ZE and NAS-WR01Z hardware looks identical but are based on different SDK-->
    <Product config="shenzen_neo/nas-wr01ze.xml" id="1027" name="NAS-WR01ZE Power plug 12A" type="0200"/>
    <Product config="shenzen_neo/nas-wr01z.xml" id="2087" name="NAS-WR01Z Power plug 12A" type="0003"/>
    <Product config="shenzen_neo/nas-pd01z.xml" id="0083" name="NAS-PD01Z Battery Powered PIR Sensor" type="0003"/>
    <Product config="shenzen_neo/nas-pd01z.xml" id="1083" name="NAS-PD01Z Battery Powered PIR Sensor" type="0003"/>
    <!-- NAS-PD02Z exist with and without temp sensor and different params but same IDs https://github.com/OpenZWave/open-zwave/issues/1866 -->
    <Product config="shenzen_neo/nas-pd02z.xml" id="108d" name="NAS-PD02Z Battery Powered PIR Sensor V2" type="0003"/>
    <Product config="shenzen_neo/nas-ws02z.xml" id="0085" name="Water Leakage Detector" type="0003"/>
    <Product config="shenzen_neo/nas-ws02z.xml" id="1085" name="Water Leakage Detector" type="0003"/>
    <Product config="shenzen_neo/nas-ws02z.xml" id="6085" name="Water Leakage Detector" type="0003"/>
    <Product config="shenzen_neo/nas-ws02z.xml" id="2085" name="Water Leakage Detector" type="0003"/>
    <Product config="shenzen_neo/nas-ab01z.xml" id="0088" name="Siren Alarm" type="0003"/>
    <Product config="shenzen_neo/nas-ab01z.xml" id="1088" name="Siren Alarm" type="0003"/>
    <Product config="shenzen_neo/nas-rc01z.xml" id="008a" name="SOS/Remote Control" type="0003"/>
    <Product config="shenzen_neo/nas-rc01z.xml" id="108a" name="SOS/Remote Control" type="0003"/>
    <Product config="shenzen_neo/ls02ch.xml" id="008b" name="Wall Switch (2 channels)" type="0003"/>
    <Product config="shenzen_neo/ls02ch.xml" id="108b" name="Wall Switch (2 channels)" type="0003"/>
    <Product config="shenzen_neo/ls01ch.xml" id="008c" name="Wall Switch (1 channel)" type="0003"/>
    <Product config="shenzen_neo/ls01ch.xml" id="108c" name="Wall Switch (1 channel)" type="0003"/>
    <Product config="shenzen_neo/ls03ch.xml" id="002b" name="Wall Switch (3 channel)" type="0200"/>
    <Product config="shenzen_neo/ls03ch.xml" id="102b" name="Wall Switch (3 channel)" type="0200"/>
    <Product config="shenzen_neo/cs01.xml"  id="002c" name="NEO Coolcam Roller Shutter" type="0200"/>
    <Product config="shenzen_neo/cs01.xml"  id="102c" name="NEO Coolcam Roller Shutter" type="0200"/>
 </Manufacturer>
and this is my xml

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<Product xmlns='http://code.google.com/p/open-zwave/'>
  <!-- Configuration Parameters -->
  <CommandClass id="112">
    <Value genre="config" instance="1" index="1" value="1" label="Up/Down Button Swap Enable" units="" size="1" min="0" max="1" type="list">
      <Help>Up/Down Button Swap Enable</Help>
      <Item value="0" label="Disabled"/>
      <Item value="1" label="Enabled"/>
    </Value>
    <Value genre="config" instance="1" index="2" value="0" label="Motor Rotation Direction Swap Enable" units="" size="1" min="0" max="1" type="list">
      <Help>Motor Rotation Direction Swap Enable</Help>
      <Item value="0" label="Disabled"/>
      <Item value="1" label="Enabled"/>
    </Value>
    <Value genre="config" instance="1" index="3" value="1" label="Backlight Enable" units="" size="1" min="0" max="1" type="list">
      <Help>Backlight Enable</Help>
      <Item value="0" label="LED Disabled"/>
      <Item value="1" label="LED ON when Switch is ON"/>
    </Value>
    <Value genre="config" instance="1" index="4" value="1" label="Curtain Moving Indicate Enable" units="" size="1" min="0" max="1" type="list">
      <Help>Curtain Moving Indicate Enable</Help>
      <Item value="0" label="LED Disabled"/>
      <Item value="1" label="LED Enabled"/>
    </Value>
    <Value genre="config" instance="1" index="5" value="1" label="Button Switch" units="" size="1" min="0" max="1" type="list">
      <Help>Button Switch</Help>
      <Item value="0" label="Button Switch Disabled"/>
      <Item value="1" label="Button Switch Enabled"/>
    </Value>
  </CommandClass>
  <!-- Association Groups -->
  <CommandClass id="133">
    <Associations num_groups="1">
      <Group index="1" label="Lifeline" max_associations="5" auto="true"/>
    </Associations>
  </CommandClass>
</Product>
if i load this code there is no configuration in the controlpanel.
However is if just us a xml from a lightswitch then i got the config for a lightswitch.

So my manufctor and id work but for some reasons my xml not.
Pvhpsb
Posts: 15
Joined: Tuesday 20 January 2015 13:38
Target OS: NAS (Synology & others)
Domoticz version:
Location: Prinsenbeek
Contact:

Re: what is wrong in this xml?

Post by Pvhpsb »

Hey,
Do you already have the Neo Coolcam Roller Shutter working in Domoticz?
Sincerely,
Patrick
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest