Skip to content

Commit

Permalink
Pull Request #664 - ZMHAD1 Qubino support
Browse files Browse the repository at this point in the history
  • Loading branch information
Fishwaldo committed Oct 6, 2015
1 parent 4a9412e commit e71b1b3
Show file tree
Hide file tree
Showing 4 changed files with 128 additions and 0 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ Version 1.3
- Pull Request #659 - Added configuration file for D-Link Corp and DCH-Z110 Door/Window 3in1 sensor
from psixilambda (Justin)
- Issue #446 - Fix Visual Studio 2015 breakage. (Justin)
- Pull Request #664 - Add ZMHAD1 Qubino support from Wackoracoon (Justin)

Version 1.2
- Released on 15/10/14
Expand Down
1 change: 1 addition & 0 deletions config/manufacturer_specific.xml
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,7 @@
<Product type="0001" id="0001" name="ZMNHDA2 Flush Dimmer" config="qubino/ZMNHDA2.xml"/>
<Product type="0002" id="0001" name="ZMNHBA2 Flush 2 Relays" config="qubino/ZMNHBA2.xml"/>
<Product type="0002" id="0002" name="ZMNHAA2 Flush 1 Relay" config="qubino/ZMNHAA2.xml"/>
<Product type="0002" id="0052" name="ZMNHAD1 Flush 1 Relay" config="qubino/ZMNHAD1.xml"/>
<Product type="0003" id="0002" name="ZMNHCA2 Flush Shutter" config="qubino/ZMNHCA2.xml"/>
<Product type="0004" id="0001" name="ZMNHJA2 Flush Dimmer Fil Pilote" config="qubino/ZMNHJA2.xml"/>
<Product type="0005" id="0001" name="ZMNHIA2 Flush on/off thermostat" config="qubino/ZMNHIA2.xml"/>
Expand Down
125 changes: 125 additions & 0 deletions config/qubino/ZMNHAD1.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
<?xml version="1.0" encoding="utf-8"?>
<Product xmlns='http://code.google.com/p/open-zwave/'>

<!-- Qubino: ZMNHAD1 Flush 1 Relay -->

<!-- Configuration -->
<CommandClass id="112">
<Value type="list" genre="config" instance="1" index="1" label="Input 1 switch type" size="1" min="0" max="1" value="1">
<Help/>
<Item label="Mono-stable switch type (push button)" value="0" />
<Item label="Bi-stable switch type" value="1" />
</Value>

<Value type="list" genre="config" instance="1" index="2" label="Input 2 contact type" size="1" min="0" max="1" value="0">
<Help/>
<Item label="NO (normaly open) input type" value="0"/>
<Item label="NC (normaly close) input type" value="1"/>
</Value>

<Value type="list" genre="config" instance="1" index="3" label="Input 3 contact type" size="1" min="0" max="1" value="0">
<Help/>
<Item label="NO (normaly open) input type" value="0"/>
<Item label="NC (normaly close) input type" value="1"/>
</Value>

<Value type="list" genre="config" instance="1" index="10" label="Activate / deactivate functions ALL ON/ALL OFF" size="1" min="0" max="255" value="255">
<Help>Flush 1 relay module responds to commands ALL ON / ALL OFF that may be sent by the main controller or by other controller belonging to the system.</Help>
<Item label="ALL ON active, ALL OFF active" value="255" />
<Item label="ALL ON is not active ALL OFF is not active" value="0" />
<Item label="ALL ON is not active ALL OFF active" value="1" />
<Item label="ALL ON active ALL OFF is not active" value="2" />
</Value>

<Value type="short" genre="config" instance="1" index="11" label="Automatic turning off relay after set time" min="0" max="32535" value="0">
<Help>0 => Auto OFF disabled. 1 - 32535 => 1 second (0,01s) - 32535 seconds (325,35s). Auto OFF enabled with define time, step is 1s or 10ms according to parameter 15. Default value 0</Help>
</Value>

<Value type="short" genre="config" instance="1" index="12" label="Automatic turning on relay after set time" min="0" max="32535" value="0">
<Help>0 - Auto OFF disabled. 1 - 32535 => 1 second (0,01s) - 32535 seconds (325,35s). Auto ON enabled with define time, step is 1s or 10ms according to parameter 15. Default value 0</Help>
</Value>

<Value type="list" genre="config" instance="1" index="15" label="Automatic turning on/off seconds or milliseconds selection" min="0" max="1" value="0">
<Help/>
<Item label="seconds" value="0" />
<Item label="milliseconds" value="1" />
</Value>

<Value type="list" genre="config" instance="1" index="30" label="Saving the state of the relay after a power failure" size="1" min="0" max="1" value="0">
<Help/>
<Item label="Flush 1 relay module saves its state before power failure (it returns to the last position saved before a power failure)" value="0" />
<Item label="Flush 1 relay module does not save the state after a power failure, it returns to off position." value="1" />
</Value>

<Value type="byte" genre="config" instance="1" index="40" label="Power reporting in Watts on power change" size="1" min="0" max="100" value="10">
<Help>Set value from 0 - 100 (0%- 100%). 0 = Reporting Disabled. 1 - 100 = 1% - 100% and reporting enabled. Power report is send (push) only when actual power in Watts in real time change for more than set percentage comparing to previous actual power in Watts, step is 1%. Default value 10%</Help>
</Value>

<Value type="short" genre="config" instance="1" index="42" label="Power reporting in Watts by time interval" min="0" max="32535" value="300">
<Help>Set value means time interval (0 - 32535) in seconds, when power report is send. 0 = Reporting Disabled. 1 - 32535 = 1 second - 32535 seconds and reporting enabled. Power report is send with time interval set by entered value. Default value 300 (power report in Watts is send each 300s)</Help>
</Value>


<Value type="list" genre="config" instance="1" index="63" label="Output switch selection" size="1" min="0" max="1" value="0">
<Help/>
<Item label="When system is turned off the output is 0V (NC)" value="0" />
<Item label="When system is turned off the output is 230V or 24V (NO)" value="1" />
</Value>


<Value type="list" genre="config" instance="1" index="100" label="Enable / Disable Endpoints I2 or select notification type and event" size="1" min="0" max="9" value="1">
<Help/>
<Item label="Endpoint, I2 disabled" value="0" />
<Item label="Home Security; Motion Detection, unknown location" value="1" />
<Item label="Carbon Monoxide; Carbon Monoxide detected, unknown location" value="2" />
<Item label="Carbon Dioxide; Carbon Dioxide detected, unknown location" value="3" />
<Item label="Water Alarm; Water Leak detected, unknown location" value="4" />
<Item label="Heat Alarm; Overheat detected, unknown location" value="5" />
<Item label="Smoke Alarm; Smoke detected, unknown location" value="6" />
<Item label="Sensor binary" value="9" />
</Value>



<Value type="list" genre="config" instance="1" index="101" label="Enable / Disable Endpoints I3 or select notification type and event" size="1" min="0" max="9" value="1">
<Help/>
<Item label="Endpoint, I3 disabled" value="0" />
<Item label="Home Security; Motion Detection, unknown location" value="1" />
<Item label="Carbon Monoxide; Carbon Monoxide detected, unknown location" value="2" />
<Item label="Carbon Dioxide; Carbon Dioxide detected, unknown location" value="3" />
<Item label="Water Alarm; Water Leak detected, unknown location" value="4" />
<Item label="Heat Alarm; Overheat detected, unknown location" value="5" />
<Item label="Smoke Alarm; Smoke detected, unknown location" value="6" />
<Item label="Sensor binary" value="9" />
</Value>


<Value type="short" genre="config" instance="1" index="110" label="Temperature sensor offset settings" min="0" max="32535" value="32535">
<Help>Set value is added or subtracted to actual measured value by sensor. Available configuration parameters : default value 32536. 32536 offset is 0.0C. From 1 to 100 = value from 0.1°C to 10.0°C is added to actual measured temperature. From 1001 to 1100 = value from -0.1 °C to -10.0 °C is subtracted to actual measured temperature.</Help>
</Value>

<Value type="byte" genre="config" instance="1" index="120" label="Digital temperature sensor reporting" min="0" max="127" value="5">
<Help>If digital temperature sensor is connected, module reports measured temperature on temperature change defined by this parameter. Available configuration parameters : 0 = reporting disabled. 1 to 127 = 0,1°C to 12,7°C, step is 0,1°C. Default value is 5 = 0,5°C</Help>
</Value>


</CommandClass>

<!-- Association Groups -->
<CommandClass id="133">
<Associations num_groups="8">
<Group index="1" max_associations="1" label="Lifeline" auto="true"/>
<Group index="2" max_associations="16" label="Basic on/off for Q" auto="true" />
<Group index="3" max_associations="16" label="Basic on/off for I2" auto="true"/>
<Group index="4" max_associations="16" label="Notification report for I2 state" auto="true"/>
<Group index="5" max_associations="16" label="Binary sensor state of I2" auto="true"/>
<Group index="6" max_associations="16" label="Basic on/off for I3" auto="true"/>
<Group index="7" max_associations="16" label="Notification report for I3 state" auto="true"/>
<Group index="8" max_associations="16" label="Binary sensor state of I3" auto="true"/>
</Associations>
</CommandClass>

<!-- Remove COMMAND_CLASS_BASIC -->
<CommandClass id="32" action="remove" />

</Product>
1 change: 1 addition & 0 deletions distfiles.mk
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ DISTFILES = .gitignore \
config/popp/123658.xml \
config/qees/reto-plugin-switch.xml \
config/qubino/ZMNHAA2.xml \
config/qubino/ZMNHAD1.xml \
config/qubino/ZMNHBA2.xml \
config/qubino/ZMNHCA2.xml \
config/qubino/ZMNHDA2.xml \
Expand Down

0 comments on commit e71b1b3

Please sign in to comment.