I am trying to create a config xml file for Z-Wave.me dimmer 05458, since it is not recognized properly in my install of Domoticz (linux, stable).
I started with manufacturer_specific.xml and added this line to <Manufacturer id="0064" name="Popp / Duwi"> section:
Code: Select all
<Product type="1000" id="0009" name="ZME_05458 Wall Dimmer" config="duwi/ZME05458.xml" />
I started with /popp/123580.xml as a template. As a result I have a few successes and some problems.
On the bright side is:
1. Commands with list type value are working:
Code: Select all
<CommandClass id="112">
<Value type="list" genre="config" instance="1" index="1" label="Led mode" size="1">
<Help>Set LED indication mode</Help>
<Item label="Operated by Indicator Command Class (Default)" value="3" />
<Item label="Show switch state" value="1" />
<Item label="Disabled" value="0" />
<Item label="Night mode (inverted switch state)" value="2" />
</Value>
<Value type="list" genre="config" instance="1" index="7" label="Behavior on 'Switch On'" size="1">
<Help>Defines the dim level on command 'ON'. On default he dimmer restores last dim level. This parameter allows configuring the maximum level on second On command (if already On) or to always switch on to maximum level.</Help>
<Item label="last dim level (Default)" value="0" />
<Item label="maximum dim level when already turned on" value="1" />
<Item label="Always maximum dim level" value="2" />
</Value>
On the dark side is:
1. Commands with integer type value are NOT working. Example is:
Code: Select all
<Value type="short" genre="config" instance="1" index="51" label="Pause before pulse" size="1" min="5" max="60" value="28">
<Help>NB: Do not touch these settings if you are not sure what they mean! For dimmable LEDs and CFL with bypass use value 1. For other bulbs use default value. 5-60 (Default 28)</Help>
</Value>
<Value type="short" genre="config" instance="1" index="52" label="Pause after pulse" size="1" min="5" max="60" value="28">
<Help>NB: Do not touch these settings if you are not sure what they mean! For dimmable LEDs and CFL with bypass use value 40. For other bulbs use default value. 5-60 (Default 28)</Help>
</Value>
<Value type="short" genre="config" instance="1" index="53" label="Pulse width" units="" size="1" min="3" max="20" value="10">
<Help>NB: Do not touch these settings if you are not sure what they mean! For dimmable LEDs and CFL with bypass use value 20. For other bulbs use default value. 3-20 (Default 10)</Help>
</Value>
2. The dimmer is still recognized as 3 devices:
- Light/Switch Level - this is working perfect
- and Usage/Electric Power Meter and Unknown which I cannot either utilize or get rid of.
Of course, I can simply ignore them in the device list, but may be there is some possible way to use them?
3. And, since I am 1 week old user of Domoticz/OpenZWave, I have a nube question - config files exist both in /Domoticz and /openzwave directories - why??
Your kind input will be greatly appreciated:)