Have a ZP3102 EU PIR Motion Sensor which lacks three configuration parameters. Changed the file vision/zp3102 to the following and want to test if it works. (config index parameters 2, 3, and 4 are added).
<?xml version="1.0" encoding="utf-8"?>
<!-- Vision ZP3102 PIR Motion Sensor -->
<Product xmlns='http://code.google.com/p/open-zwave/'>
<!-- COMMAND_CLASS_CONFIGURATION -->
<!-- IMPORTANT: Controllers may only allow to configure signed values.
In order to set values in the range 128...255 the value sent in the application shall be the desired value minus 256.
For example: to set a parameter to 200? it may be needed to set a value of 200 minus 256 = minus 56.
In case of two byte value the same logic applies: Values greater than 32768 may needed to be given as negative values too.-->
<CommandClass id="112">
<Value type="byte" genre="config" index="1" label="Re-Trigger Waiting Time" units="minutes" min="1" max="255" value="3">
<Help>Time until an associated device will turn off if no new movement is detected</Help>
</Value>
<Value type="list" genre="config" index="2" label="Celcius/Fahrenheit" size="1" min="0" max="1" value="0">
<Help>Report temperature in Celcius or Fahrenheit</Help>
<Item label="Celcius" value="0" />
<Item label="Fahrenheit" value="1" />
</Value>
<Value type="byte" genre="config" index="3" label="Sensitivity" units="" min="1" max="7" value="4">
<Help>Sensitivity 1-7 (1 = most sensitive, 7 = most insensitive)</Help>
</Value>
<Value type="byte" genre="config" index="4" label="Temperature adjustment" units="" min="0" max="255" value="0">
<Help>-10 to -1, 0 to 10 (Signed decimal in Celsius: 0xF6 to OxFF,0x0 to 0xA)</Help>
</Value>
</CommandClass>
<!-- COMMAND_CLASS_BASIC -->
<CommandClass id="32" setasreport="true"/>
<!-- COMMAND_CLASS_ASSOCIATION -->
<CommandClass id="133">
<Associations num_groups="1">
<Group index="1" max_associations="5" label="Basic on/off group for detecting movements" auto="true"/>
</Associations>
</CommandClass>
</Product>
Is it possible to update manufacturer_specific.xml and its subfiles without excluding and reinclude a zwave device for the change to take effect?
Last edited by ErFr on Thursday 19 November 2015 16:58, edited 1 time in total.
Paspberry PI with RFXtrx433, Razberry using only zwave plus devices, onewire (DS9490R) and some LUA-scripts
Open a log window
Stop Z-wave
Copy zwcfg_0xnnnnn.xml to a safe location
Edit the zwcfg_0xnnnnn.xml
Remove the zp3102 concerned part (be careful where the code starts and stops)
Save zwcfg_0xnnnnn.xml
Start Z-wave
Take a look at the log window and see how the zp3102 is re-included
zwcfg_0xnnnnn.xml is a file constructed by Domoticz
(the nnnnn in the file name is your specific Z-Wave number)
At start-up it uses as source the manufacturer_specific.xml
Adaptation of the zwcfg_0xnnnnn.xml does not work.
Only removing parts out it, will do
<CommandClass id="112" name="COMMAND_CLASS_CONFIGURATION" version="1" request_flags="4" issecured="true" innif="true">
<Instance index="1" />
<Value type="byte" genre="config" instance="1" index="1" label="Re-Trigger Waiting Time" units="minutes" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="1" max="255" value="3">
<Help>Time until an associated device will turn off if no new movement is detected</Help>
</Value>
</CommandClass>
Success ? No Success?
Not sure if I understand you.
Changing the zwcfg_0xnnnnn.xml file does not work.
That file is a result of the activity of Domoticz, its not an input file.
There is no need to adapt the manufacturer_specific.xml because the ZP3102 EU is there (if you use V2.3608)
Adapt the vision/zp3102.xml according to your needs (be aware that with the next release you adaptation will be overwritten!)
Stop Z-wave.
Remove in the zwcfg_0xnnnnn.xml the whole section concerning your id number of the ZP3102 EU.
Then restart Z-Wave.
Domoticz will act like there is a new node and will read the vision/zp3102.xml.
The results of that are stored in the zwcfg_0xnnnnn.xml
I have not sufficient knowledge about how it works in detail, I have only my experience and made some conclusions from it, which of course can be wrong.
When I inserted my additions in zwcfg_0xnnnnn.xml they appeared in Domoticz web gui after zwave controller was enabled in Domoticz. Since my added parameters are only configuration parameters, member of the zwave command class, they are not involved in any zwave handshaking with the device and therefore it works to just put them into zwcfg_0xnnnnn.xml?
My conclusion could be wrong. But It seems to work. I have just lowered the sensitivity on my PIR and my cats at home will verify if the setting took affect.
Paspberry PI with RFXtrx433, Razberry using only zwave plus devices, onewire (DS9490R) and some LUA-scripts