Z-Wave device xml update, how to submit?

For Z-Wave related questions in Domoticz
lost
Posts: 78
Joined: Thursday 10 November 2016 10:30
Target OS: Raspberry Pi
Domoticz version:
Contact:

Z-Wave device xml update, how to submit?

Postby lost » Friday 21 April 2017 15:33

Hello,

I currently have a few problems in using a qubino smart-meter module and digged a bit in it's ZMNHTDx.xml vs device user manual.
Doing so, I spotted a few incoherences (especially on the relays delayed auto on/off parameter sizes, that may have been a root cause for the relay buggy behavior but was not) & corrected them.

I also added the parameters to tune the relays off of a max power is reached, allowing to use the feature (tested on my module) under Domoticz... Plus some other read-only ones but that do not report anything (too bad: getting counters at least in the parameters may have proved useful) but at least do not hurt.

=> do someone know the procedure for OZW team next release?

File diff vs current:

Code: Select all

diff qubino/ZMNHTDx.xml qubino/ZMNHTDx_orig.xml
33c33
<       <Value type="short" genre="config" instance="1" index="11" label="Automatic turning off IR external relay output after set time" size="2" min="0" max="32536" value="0">
---
>       <Value type="short" genre="config" instance="1" index="11" label="Automatic turning off IR external relay output after set time" size="1" min="0" max="32536" value="0">
39c39
<       <Value type="short" genre="config" instance="1" index="12" label="Automatic turning on IR external relay output after set time" size="2" min="0" max="32535" value="0">
---
>       <Value type="short" genre="config" instance="1" index="12" label="Automatic turning on IR external relay output after set time" size="1" min="0" max="32535" value="0">
45c45
<       <Value type="short" genre="config" instance="1" index="13" label="Automatic turning off External relay output after set time" size="2" min="0" max="32536" value="0">
---
>       <Value type="short" genre="config" instance="1" index="13" label="Automatic turning off External relay output after set time" size="1" min="0" max="32536" value="0">
51c51
<       <Value type="short" genre="config" instance="1" index="14" label="Automatic turning on External relay output after set time" size="2" min="0" max="32535" value="0">
---
>       <Value type="short" genre="config" instance="1" index="14" label="Automatic turning on External relay output after set time" size="1" min="0" max="32535" value="0">
65c65
<       <Value type="short" genre="config" instance="1" index="42" label="Power reporting in Watts by time interval" size="2" min="0" max="32767" value="0">
---
>       <Value type="short" genre="config" instance="1" index="42" label="Power reporting in Watts by time interval" min="0" max="32767" value="0">
91,159d90
<       
<       <Value type="short" genre="config" instance="1" index="110" label="Power auto-triggering relay(s) off" size="2" min="0" max="15000" value="0">
<          <Help>0 - Pmax auto OFF disabled.
<          1W to 15000W Auto OFF enabled, step is 1 Watt. Linked with param 111/112.
<          Default value 0 (disabled).</Help>
<       </Value>
<       
<       <Value type="short" genre="config" instance="1" index="111" label="Power auto-triggering off-time" size="2" min="30" max="32535" value="30">
<          <Help>30s to 32535s Auto OFF time, step is 1 sec, if param 110 pMax is reached.
<          Default value 30.</Help>
<       </Value>
<       
<       <Value type="list" genre="config" instance="1" index="112" label="Power auto-triggered OFF relay choice" size="1" min="0" max="3" value="0">
<          <Help>Switch OFF IR external relay and/or External relay or both of them, if param 110 pMax is reached.
<          Default value 0.</Help>
<          <Item label="Altern OFF IR/Wired external relays" value="0" />
<          <Item label="Switch OFF IR       external relay" value="1" />
<          <Item label="Switch OFF Wired    external relay" value="2" />
<          <Item label="Switch OFF Both     relays" value="3" />
<       </Value>
<       
<       <Value type="int" genre="config" instance="1" index="130" label="Serial NB" size="4" read_only="true" >
<                         <Help>Returns device S/N.</Help>
<                 </Value>
<       
<       <Value type="short" genre="config" instance="1" index="131" label="Firmware Version" size="2" read_only="true" >
<                         <Help>Returns device FW version.</Help>
<                 </Value>
<
<       <Value type="short" genre="config" instance="1" index="132" label="Hardware Version" size="2" read_only="true" >
<                         <Help>Returns device HW version.</Help>
<                 </Value>
<       
<       <Value type="int" genre="config" instance="1" index="140" label="Voltage U1" units="deci-V" size="3" read_only="true" >
<                         <Help>Returns U1 in deci-Volts.</Help>
<                 </Value>
<       
<       <Value type="int" genre="config" instance="1" index="141" label="Intensity I1" units="milli-A" size="3" read_only="true" >
<                         <Help>Returns I1 in milli-Amp.</Help>
<                 </Value>
<       
<       <Value type="int" genre="config" instance="1" index="142" label="Active power Pt" units="deci-W" size="3" read_only="true" >
<                         <Help>Returns Pt in deci-Watt.</Help>
<                 </Value>
<       
<       <Value type="int" genre="config" instance="1" index="143" label="Reactive power Qt" units="deci-kVAR" size="3" read_only="true" >
<                         <Help>Returns Qt in deci-kVAR.</Help>
<                 </Value>
<       
<       <Value type="int" genre="config" instance="1" index="144" label="Power factor PFt" units="milli" size="2" read_only="true" >
<                         <Help>Returns PFt(x1000).</Help>
<                 </Value>
<       
<       <Value type="int" genre="config" instance="1" index="145" label="Energy counter 1, active power total (input)" units="deci-kWh" size="4" read_only="true" >
<                         <Help>Return Pin in deci-kWh.</Help>
<                 </Value>
<       
<       <Value type="int" genre="config" instance="1" index="146" label="Energy counter 2, reactive power total (input)" units="deci-kVARh" size="4" read_only="true" >
<                         <Help>Returns Qin in deci-kVARh.</Help>
<                 </Value>
<       
<       <Value type="int" genre="config" instance="1" index="147" label="Energy counter 3, active power total " units="deci-kVAh" size="4" read_only="true" >
<                         <Help>Returns Pt in deci-kVAh.</Help>
<                 </Value>
<       
<       <Value type="int" genre="config" instance="1" index="148" label="Energy counter 4, active power total (output)" units="deci-kWh" size="4" read_only="true" >
<                         <Help>Return Pout in deci-kWh.</Help>
<                 </Value>   
<             
164c95
<       <Associations num_groups="1">
---
>       <Associations num_groups="5">
165a97,100
>          <Group index="2" max_associations="16" label="Basic on/off (IR external relay)"/>
>          <Group index="3" max_associations="16" label="Switch binary report (IR external relay)"/>
>          <Group index="5" max_associations="16" label="Basic on/off (External relay)"/>
>          <Group index="6" max_associations="16" label="Switch binary report (External relay)"/>
177c112
< </Product>
---
> </Product>

Return to “Z-Wave”

Who is online

Users browsing this forum: No registered users and 3 guests