Updated external content (Jenkins build 347)

pull/1569/head
openHAB Build Server 2021-03-29 04:42:11 +00:00
parent 87c2c5a286
commit 76b546f602
8 changed files with 1889 additions and 297 deletions

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,500 @@
---
layout: documentation
title: ZWA023 - ZWave
---
{% include base.html %}
# ZWA023 Aeotec Smart Switch 7 (type B)
This describes the Z-Wave device *ZWA023*, manufactured by *Aeotec Limited* with the thing type UID of ```aeotec_zwa023_00_000```.
The device is in the category of *Power Outlet*, defining Small devices to be plugged into a power socket in a wall which stick there.
![ZWA023 product image](https://opensmarthouse.org/zwavedatabase/1370/image/)
The ZWA023 supports routing. This allows the device to communicate using other routing enabled devices as intermediate routers. This device is also able to participate in the routing of data between other devices in the mesh network.
## Overview
Switched power outlet with energy metering.
### Inclusion Information
Using your existing Z-Wave Controller supports Smart Start:
1. Scan the QR code on Smart Switch using your Z-Wave gateway/controllers app.
2. Plugin your Smart Switch to any outlet that you wish to install it on.
3. Your Smart Switch will automatically pair to your Z-Wave network.
Using your existing Z-Wave Controller without Smart Start:
1. Set your Z-Wave Controller into its 'Add Device' mode. Refer to the Controller's manual if you are unsure of how to perform this step.
2. Power your Smart Switch to any outlet; its LED will slowly fade in and out slowly with a blue color to indicate it is ready to pair.
3. Tap the action button once. The LED will rapidly flash when it enters pair mode.
4. If your Z-Wave Controller supports S2 encryption, enter the first 5 digits of DSK into your Controller's interface if it is requested. The DSK is printed on Smart Switch.
1. If pairing succeeds, it will become a bright blue light for 2 seconds.
2. If pairing fails, it will light a solid bright red light for 2 seconds and then return to a breathing blue light; repeat steps 1 to 4 if this happens.
### Exclusion Information
1. Set your Z-Wave Controller into 'Remove Device' / 'Unpair Device' mode. Refer to the Controller's manual if you are unsure of how to perform this step.
2. Make sure the product is powered. If not, plug it into a wall socket and power it on.
3. Click Action Button 2 times quickly; it will bright violet light up to 2s.
1. If Removing fails, it will light a bright red color for 2 seconds and then turn back to Load Indicator Mode; repeat steps 1 to 3. Contact us for further support if needed.
2. If Removing succeeds, it will become breathing blue light. Smart Switch is removed from the Z-Wave network successfully and is ready to be paired again.
### General Usage Information
## Channels
The following table summarises the channels available for the ZWA023 -:
| Channel Name | Channel ID | Channel Type | Category | Item Type |
|--------------|------------|--------------|----------|-----------|
| Switch | switch_binary | switch_binary | Switch | Switch |
| Dimmer | switch_dimmer | switch_dimmer | DimmableLight | Dimmer |
| Scene Number | scene_number | scene_number | | Number |
| Electric meter (amps) | meter_current | meter_current | Energy | Number |
| Electric meter (watts) | meter_watts | meter_watts | Energy | Number |
| Electric meter (kWh) | meter_kwh | meter_kwh | Energy | Number |
| Electric meter (volts) | meter_voltage | meter_voltage | Energy | Number |
| Color Control | color_color | color_color | ColorLight | Color |
| Color Temperature | color_temperature | color_temperature | ColorLight | Dimmer |
| Alarm (power) | alarm_power | alarm_power | Energy | Switch |
| Clock Time Offset | time_offset | time_offset | Time | Number |
| Switch 1 | switch_binary1 | switch_binary | Switch | Switch |
| Scene Number 1 | scene_number1 | scene_number | | Number |
| Electric meter (amps) 1 | meter_current1 | meter_current | Energy | Number |
| Electric meter (watts) 1 | meter_watts1 | meter_watts | Energy | Number |
| Electric meter (kWh) 1 | meter_kwh1 | meter_kwh | Energy | Number |
| Electric meter (volts) 1 | meter_voltage1 | meter_voltage | Energy | Number |
| Alarm (power) 1 | alarm_power1 | alarm_power | Energy | Switch |
| Clock Time Offset 1 | time_offset1 | time_offset | Time | Number |
| Dimmer 2 | switch_dimmer2 | switch_dimmer | DimmableLight | Dimmer |
| Color Control 2 | color_color2 | color_color | ColorLight | Color |
| Color Temperature 2 | color_temperature2 | color_temperature | ColorLight | Dimmer |
### Switch
Switch the power on and off.
The ```switch_binary``` channel is of type ```switch_binary``` and supports the ```Switch``` item and is in the ```Switch``` category.
### Dimmer
The brightness channel allows to control the brightness of a light.
It is also possible to switch the light on and off.
The ```switch_dimmer``` channel is of type ```switch_dimmer``` and supports the ```Dimmer``` item and is in the ```DimmableLight``` category.
### Scene Number
Triggers when a scene button is pressed.
The ```scene_number``` channel is of type ```scene_number``` and supports the ```Number``` item.
### Electric meter (amps)
Indicates the instantaneous current consumption.
The ```meter_current``` channel is of type ```meter_current``` and supports the ```Number``` item and is in the ```Energy``` category. This is a read only channel so will only be updated following state changes from the device.
### Electric meter (watts)
Indicates the instantaneous power consumption.
The ```meter_watts``` channel is of type ```meter_watts``` and supports the ```Number``` item and is in the ```Energy``` category. This is a read only channel so will only be updated following state changes from the device.
### Electric meter (kWh)
Indicates the energy consumption (kWh).
The ```meter_kwh``` channel is of type ```meter_kwh``` and supports the ```Number``` item and is in the ```Energy``` category. This is a read only channel so will only be updated following state changes from the device.
### Electric meter (volts)
Indicates the instantaneous voltage.
The ```meter_voltage``` channel is of type ```meter_voltage``` and supports the ```Number``` item and is in the ```Energy``` category. This is a read only channel so will only be updated following state changes from the device.
### Color Control
The color channel allows to control the color of a light.
It is also possible to dim values and switch the light on and off.
The ```color_color``` channel is of type ```color_color``` and supports the ```Color``` item and is in the ```ColorLight``` category.
### Color Temperature
The color temperature channel allows to set the color
temperature of a light from 0 (cold) to 100 (warm).
The ```color_temperature``` channel is of type ```color_temperature``` and supports the ```Dimmer``` item and is in the ```ColorLight``` category.
### Alarm (power)
Indicates if a power alarm is triggered.
The ```alarm_power``` channel is of type ```alarm_power``` and supports the ```Switch``` item and is in the ```Energy``` category. This is a read only channel so will only be updated following state changes from the device.
The following state translation is provided for this channel to the ```Switch``` item type -:
| Value | Label |
|-------|-----------|
| OFF | OK |
| ON | Alarm |
### Clock Time Offset
Provides the current time difference for the devices time.
The ```time_offset``` channel is of type ```time_offset``` and supports the ```Number``` item and is in the ```Time``` category.
### Switch 1
Switch the power on and off.
The ```switch_binary1``` channel is of type ```switch_binary``` and supports the ```Switch``` item and is in the ```Switch``` category.
### Scene Number 1
Triggers when a scene button is pressed.
The ```scene_number1``` channel is of type ```scene_number``` and supports the ```Number``` item.
### Electric meter (amps) 1
Indicates the instantaneous current consumption.
The ```meter_current1``` channel is of type ```meter_current``` and supports the ```Number``` item and is in the ```Energy``` category. This is a read only channel so will only be updated following state changes from the device.
### Electric meter (watts) 1
Indicates the instantaneous power consumption.
The ```meter_watts1``` channel is of type ```meter_watts``` and supports the ```Number``` item and is in the ```Energy``` category. This is a read only channel so will only be updated following state changes from the device.
### Electric meter (kWh) 1
Indicates the energy consumption (kWh).
The ```meter_kwh1``` channel is of type ```meter_kwh``` and supports the ```Number``` item and is in the ```Energy``` category. This is a read only channel so will only be updated following state changes from the device.
### Electric meter (volts) 1
Indicates the instantaneous voltage.
The ```meter_voltage1``` channel is of type ```meter_voltage``` and supports the ```Number``` item and is in the ```Energy``` category. This is a read only channel so will only be updated following state changes from the device.
### Alarm (power) 1
Indicates if a power alarm is triggered.
The ```alarm_power1``` channel is of type ```alarm_power``` and supports the ```Switch``` item and is in the ```Energy``` category. This is a read only channel so will only be updated following state changes from the device.
The following state translation is provided for this channel to the ```Switch``` item type -:
| Value | Label |
|-------|-----------|
| OFF | OK |
| ON | Alarm |
### Clock Time Offset 1
Provides the current time difference for the devices time.
The ```time_offset1``` channel is of type ```time_offset``` and supports the ```Number``` item and is in the ```Time``` category.
### Dimmer 2
The brightness channel allows to control the brightness of a light.
It is also possible to switch the light on and off.
The ```switch_dimmer2``` channel is of type ```switch_dimmer``` and supports the ```Dimmer``` item and is in the ```DimmableLight``` category.
### Color Control 2
The color channel allows to control the color of a light.
It is also possible to dim values and switch the light on and off.
The ```color_color2``` channel is of type ```color_color``` and supports the ```Color``` item and is in the ```ColorLight``` category.
### Color Temperature 2
The color temperature channel allows to set the color
temperature of a light from 0 (cold) to 100 (warm).
The ```color_temperature2``` channel is of type ```color_temperature``` and supports the ```Dimmer``` item and is in the ```ColorLight``` category.
## Device Configuration
The following table provides a summary of the 12 configuration parameters available in the ZWA023.
Detailed information on each parameter can be found in the sections below.
| Param | Name | Description |
|-------|-------|-------------|
| 1 | LED Setting | This parameter is used to change the reaction of LED setting. |
| 2 | Night Light On Time | Used to configure the Night Light on time. |
| 3 | Night Light Off Time | Used to configure the Night Light off time |
| 4 | LED Blink Duration | Set the duration of blink |
| 5 | LED Blink Speed | Amount of blinks per second while blinking |
| 6 | Send Alert When In Use | Send alert when in use. |
| 7 | Plug Always On | Prevents the plugin from being turned off |
| 8 | Power Out Action | Sets the plug's action in case of power loss |
| 21 | Watt Report Threshold | Threshold for automatic report of Watts |
| 23 | Watt Automatic Report Time | Automatic report time for Watts |
| 40 | Automatic Off Timer | Automatically turn OFF some time after turned ON |
| 41 | Automatic On Timer | Automatically turn switch ON some time after turned OFF |
### Parameter 1: LED Setting
This parameter is used to change the reaction of LED setting.
The following option values may be configured, in addition to values in the range 0 to 2 -:
| Value | Description |
|--------|-------------|
| 0 | Disable LED completely |
| 1 | Night light |
| 2 | Display ON/OFF status |
The manufacturer defined default value is ```2``` (Display ON/OFF status).
This parameter has the configuration ID ```config_1_1``` and is of type ```INTEGER```.
### Parameter 2: Night Light On Time
Used to configure the Night Light on time.
Time is specified in format of 0xRRHHMMSS, where:
RR = Reserved
HH = Hours
MM = Minutes
SS = SecondsThis is an advanced parameter and will therefore not show in the user interface without entering advanced mode.
Values in the range 0 to 0 may be set.
The manufacturer defined default value is ```0```.
This parameter has the configuration ID ```config_2_4``` and is of type ```INTEGER```.
### Parameter 3: Night Light Off Time
Used to configure the Night Light off time
0xRRHHMMSS, where:
RR = Reserved
HH = Hours
MM = Minutes
SS = SecondsThis is an advanced parameter and will therefore not show in the user interface without entering advanced mode.
Values in the range 0 to 0 may be set.
The manufacturer defined default value is ```0```.
This parameter has the configuration ID ```config_3_4``` and is of type ```INTEGER```.
### Parameter 4: LED Blink Duration
Set the duration of blink
Set duration of LED blinks
Values in the range 0 to 255 may be set.
The manufacturer defined default value is ```0```.
This parameter has the configuration ID ```config_4_1``` and is of type ```INTEGER```.
### Parameter 5: LED Blink Speed
Amount of blinks per second while blinking
Sets the blink rate when blinking
Values in the range 1 to 24 may be set.
The manufacturer defined default value is ```5```.
This parameter has the configuration ID ```config_5_1``` and is of type ```INTEGER```.
### Parameter 6: Send Alert When In Use
Send alert when in use.
A Scene Activation Set command will be sent when energy draw is above this setting value.
Values in the range 0 to 3000 may be set.
The manufacturer defined default value is ```100```.
This parameter has the configuration ID ```config_6_2``` and is of type ```INTEGER```.
### Parameter 7: Plug Always On
Prevents the plugin from being turned off
The following option values may be configured, in addition to values in the range 0 to 0 -:
| Value | Description |
|--------|-------------|
| 0 | Normal operation |
| 1 | Button will not control ON/OFF |
| 2 | Button disabled, except for include/exclude |
The manufacturer defined default value is ```0``` (Normal operation).
This parameter has the configuration ID ```config_7_1``` and is of type ```INTEGER```.
### Parameter 8: Power Out Action
Sets the plug's action in case of power loss
The following option values may be configured, in addition to values in the range 0 to 2 -:
| Value | Description |
|--------|-------------|
| 0 | Last Status |
| 1 | Power On |
| 2 | Power Off |
The manufacturer defined default value is ```0``` (Last Status).
This parameter has the configuration ID ```config_8_1``` and is of type ```INTEGER```.
### Parameter 21: Watt Report Threshold
Threshold for automatic report of Watts
Values in the range 0 to 2500 may be set.
The manufacturer defined default value is ```0```.
This parameter has the configuration ID ```config_21_2``` and is of type ```INTEGER```.
### Parameter 23: Watt Automatic Report Time
Automatic report time for Watts
0 - disable
1-30 = 30s
31-65535 = 31-65535s
Values in the range 0 to 65535 may be set.
The manufacturer defined default value is ```600```.
This parameter has the configuration ID ```config_23_2``` and is of type ```INTEGER```.
### Parameter 40: Automatic Off Timer
Automatically turn OFF some time after turned ON
0 - no auto off timer
1~86400 - seconds
Values in the range 0 to 86400 may be set.
The manufacturer defined default value is ```0```.
This parameter has the configuration ID ```config_40_4``` and is of type ```INTEGER```.
### Parameter 41: Automatic On Timer
Automatically turn switch ON some time after turned OFF
0 - no auto on timer
1~86400 - seconds
Values in the range 0 to 86400 may be set.
The manufacturer defined default value is ```0```.
This parameter has the configuration ID ```config_41_4``` and is of type ```INTEGER```.
## Association Groups
Association groups allow the device to send unsolicited reports to the controller, or other devices in the network. Using association groups can allow you to eliminate polling, providing instant feedback of a device state change without unnecessary network traffic.
The ZWA023 supports 3 association groups.
### Group 1: Lideline
Association group 1 supports 5 nodes.
### Group 2: Retransmit
Mirror of Endpoint 1 Group 2
Association group 2 supports 5 nodes.
### Group 3: Alert
Mirror of Endpoint 1 Group 3
Association group 3 supports 5 nodes.
## Technical Information
### Endpoints
#### Endpoint 0
| Command Class | Comment |
|---------------|---------|
| COMMAND_CLASS_NO_OPERATION_V1| |
| COMMAND_CLASS_BASIC_V1| |
| COMMAND_CLASS_APPLICATION_STATUS_V1| |
| COMMAND_CLASS_SWITCH_BINARY_V1| |
| COMMAND_CLASS_SWITCH_MULTILEVEL_V3| |
| COMMAND_CLASS_SCENE_ACTIVATION_V1| |
| COMMAND_CLASS_SCENE_ACTUATOR_CONF_V1| |
| COMMAND_CLASS_METER_V3| |
| COMMAND_CLASS_SWITCH_COLOR_V3| |
| COMMAND_CLASS_TRANSPORT_SERVICE_V1| |
| COMMAND_CLASS_ASSOCIATION_GRP_INFO_V1| |
| COMMAND_CLASS_DEVICE_RESET_LOCALLY_V1| |
| COMMAND_CLASS_ZWAVEPLUS_INFO_V1| |
| COMMAND_CLASS_MULTI_CHANNEL_V2| |
| COMMAND_CLASS_SUPERVISION_V1| |
| COMMAND_CLASS_CONFIGURATION_V1| |
| COMMAND_CLASS_ALARM_V8| |
| COMMAND_CLASS_MANUFACTURER_SPECIFIC_V1| |
| COMMAND_CLASS_POWERLEVEL_V1| |
| COMMAND_CLASS_FIRMWARE_UPDATE_MD_V1| |
| COMMAND_CLASS_CLOCK_V1| |
| COMMAND_CLASS_ASSOCIATION_V2| |
| COMMAND_CLASS_VERSION_V2| |
| COMMAND_CLASS_INDICATOR_V3| |
| COMMAND_CLASS_MULTI_CHANNEL_ASSOCIATION_V3| |
| COMMAND_CLASS_SECURITY_V1| |
| COMMAND_CLASS_SECURITY_2_V1| |
#### Endpoint 1
| Command Class | Comment |
|---------------|---------|
| COMMAND_CLASS_BASIC_V1| |
| COMMAND_CLASS_SWITCH_BINARY_V1| |
| COMMAND_CLASS_SCENE_ACTIVATION_V1| |
| COMMAND_CLASS_SCENE_ACTUATOR_CONF_V1| |
| COMMAND_CLASS_METER_V3| |
| COMMAND_CLASS_ASSOCIATION_GRP_INFO_V1| |
| COMMAND_CLASS_ZWAVEPLUS_INFO_V1| |
| COMMAND_CLASS_ALARM_V8| |
| COMMAND_CLASS_CLOCK_V1| |
| COMMAND_CLASS_ASSOCIATION_V2| |
| COMMAND_CLASS_MULTI_CHANNEL_ASSOCIATION_V3| |
| COMMAND_CLASS_SECURITY_V1| |
#### Endpoint 2
| Command Class | Comment |
|---------------|---------|
| COMMAND_CLASS_BASIC_V1| |
| COMMAND_CLASS_SWITCH_MULTILEVEL_V3| |
| COMMAND_CLASS_SWITCH_COLOR_V3| |
| COMMAND_CLASS_ASSOCIATION_GRP_INFO_V1| |
| COMMAND_CLASS_ZWAVEPLUS_INFO_V1| |
| COMMAND_CLASS_ASSOCIATION_V2| |
| COMMAND_CLASS_MULTI_CHANNEL_ASSOCIATION_V3| |
| COMMAND_CLASS_SECURITY_V1| |
### Documentation Links
* [Manual](https://opensmarthouse.org/zwavedatabase/1370/reference/ES_-_Smart_Switch_7_US.pdf.pdf)
---
Did you spot an error in the above definition or want to improve the content?
You can [contribute to the database here](https://opensmarthouse.org/zwavedatabase/1370).

View File

@ -270,6 +270,7 @@ Association group 3 supports 5 nodes.
### Documentation Links
* [MH-S220 User manual](https://opensmarthouse.org/zwavedatabase/1153/reference/mh-s220-manual.pdf)
* [MH-S220 User manual for v3.2](https://opensmarthouse.org/zwavedatabase/1153/reference/MH-S220-2021-v3.2.pdf)
---

View File

@ -0,0 +1,561 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="mecmeter"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
<thing-type id="meter">
<label>mecMeter</label>
<description>Power Meter from MEC</description>
<channel-groups>
<channel-group id="general_group" typeId="general_group"/>
<channel-group id="voltage_group" typeId="voltage_group"/>
<channel-group id="current_group" typeId="current_group"/>
<channel-group id="angle_group" typeId="angle_group"/>
<channel-group id="activepower_group" typeId="activepower_group"/>
<channel-group id="activefundpower_group" typeId="activefundpower_group"/>
<channel-group id="activeharmpower_group" typeId="activeharmpower_group"/>
<channel-group id="reactivepower_group" typeId="reactivepower_group"/>
<channel-group id="powerfactor_group" typeId="powerfactor_group"/>
<channel-group id="apppower_group" typeId="apppower_group"/>
<channel-group id="fwd_active_energy_group" typeId="fwd_active_energy_group"/>
<channel-group id="fwd_active_fund_energy_group" typeId="fwd_active_fund_energy_group"/>
<channel-group id="fwd_active_harm_energy_group" typeId="fwd_active_harm_energy_group"/>
<channel-group id="fwd_reactive_energy_group" typeId="fwd_reactive_energy_group"/>
<channel-group id="rev_active_energy_group" typeId="rev_active_energy_group"/>
<channel-group id="rev_active_fund_energy_group" typeId="rev_active_fund_energy_group"/>
<channel-group id="rev_active_harm_energy_group" typeId="rev_active_harm_energy_group"/>
<channel-group id="rev_reactive_energy_group" typeId="rev_reactive_energy_group"/>
<channel-group id="app_energy_group" typeId="app_energy_group"/>
</channel-groups>
<config-description>
<parameter name="password" type="text" required="true">
<label>Password</label>
<description>Enter the password</description>
<context>password</context>
</parameter>
<parameter name="ip" type="text" required="true">
<label>IP</label>
<description>The IP address of the mecMeter</description>
<context>network-address</context>
</parameter>
<parameter name="refreshInterval" type="integer" min="1" max="300" step="1" unit="s" required="false">
<label>Refresh Interval</label>
<default>5</default>
<description>Refresh interval in seconds, default 5 seconds, range 1 to 300 seconds</description>
</parameter>
</config-description>
</thing-type>
<!-- Definition of all Channel Groups -->
<channel-group-type id="general_group">
<label>General Channels</label>
<description>General Channels</description>
<channels>
<channel id="frequency" typeId="frequency"/>
<channel id="temperature" typeId="temperature"/>
<channel id="op_time" typeId="op_time"/>
</channels>
</channel-group-type>
<channel-group-type id="voltage_group">
<label>Voltage</label>
<channels>
<channel id="voltage_phase1" typeId="voltage">
<label>Voltage P1</label>
</channel>
<channel id="voltage_phase2" typeId="voltage">
<label>Voltage P2</label>
</channel>
<channel id="voltage_phase3" typeId="voltage">
<label>Voltage P3</label>
</channel>
<channel id="avg_phase_phase_voltage" typeId="avg_phase_phase_voltage"/>
<channel id="avg_neutral_phase_voltage" typeId="avg_neutral_phase_voltage"/>
</channels>
</channel-group-type>
<channel-group-type id="current_group">
<label>Current</label>
<channels>
<channel id="current_allphase" typeId="current"/>
<channel id="current_phase1" typeId="current">
<label>Current P1</label>
</channel>
<channel id="current_phase2" typeId="current">
<label>Current P2</label>
</channel>
<channel id="current_phase3" typeId="current">
<label>Current P3</label>
</channel>
</channels>
</channel-group-type>
<channel-group-type id="angle_group">
<label>Angles</label>
<channels>
<channel id="phase_angle_currvolt_phase1" typeId="phase_angle_currvolt">
<label>Angle Current to P1</label>
</channel>
<channel id="phase_angle_currvolt_phase2" typeId="phase_angle_currvolt">
<label>Angle Current to P2</label>
</channel>
<channel id="phase_angle_currvolt_phase3" typeId="phase_angle_currvolt">
<label>Angle Current to P3</label>
</channel>
<channel id="phase_angle_phase1-3" typeId="phase_angle"/>
<channel id="phase_angle_phase2-3" typeId="phase_angle"/>
</channels>
</channel-group-type>
<channel-group-type id="activepower_group">
<label>Active Power</label>
<channels>
<channel id="activepower_allphase" typeId="activepower"/>
<channel id="activepower_phase1" typeId="activepower">
<label>Active Power P1</label>
</channel>
<channel id="activepower_phase2" typeId="activepower">
<label>Active Power P2</label>
</channel>
<channel id="activepower_phase3" typeId="activepower">
<label>Active Power P3</label>
</channel>
</channels>
</channel-group-type>
<channel-group-type id="activefundpower_group">
<label>Active Fund Power</label>
<channels>
<channel id="activefundpower_allphase" typeId="activefundpower"/>
<channel id="activefundpower_phase1" typeId="activefundpower">
<label>Active Fund Power P1</label>
</channel>
<channel id="activefundpower_phase2" typeId="activefundpower">
<label>Active Fund Power P2</label>
</channel>
<channel id="activefundpower_phase3" typeId="activefundpower">
<label>Active Fund Power P3</label>
</channel>
</channels>
</channel-group-type>
<channel-group-type id="activeharmpower_group">
<label>Active Harm Power</label>
<channels>
<channel id="activeharmpower_allphase" typeId="activeharmpower"/>
<channel id="activeharmpower_phase1" typeId="activeharmpower">
<label>Active Harm Power P1</label>
</channel>
<channel id="activeharmpower_phase2" typeId="activeharmpower">
<label>Active Harm Power P2</label>
</channel>
<channel id="activeharmpower_phase3" typeId="activeharmpower">
<label>Active Harm Power P3</label>
</channel>
</channels>
</channel-group-type>
<channel-group-type id="reactivepower_group">
<label>Reactive Power</label>
<channels>
<channel id="reactivepower_allphase" typeId="reactivepower"/>
<channel id="reactivepower_phase1" typeId="reactivepower">
<label>Reactive Power P1</label>
</channel>
<channel id="reactivepower_phase2" typeId="reactivepower">
<label>Reactive Power P2</label>
</channel>
<channel id="reactivepower_phase3" typeId="reactivepower">
<label>Reactive Power P3</label>
</channel>
</channels>
</channel-group-type>
<channel-group-type id="apppower_group">
<label>Apparent Power</label>
<channels>
<channel id="apppower_allphase" typeId="apppower"/>
<channel id="apppower_phase1" typeId="apppower">
<label>Apparent Power P1</label>
</channel>
<channel id="apppower_phase2" typeId="apppower">
<label>Apparent Power P2</label>
</channel>
<channel id="apppower_phase3" typeId="apppower">
<label>Apparent Power P3</label>
</channel>
</channels>
</channel-group-type>
<channel-group-type id="fwd_active_energy_group">
<label>Fwd Active Energy</label>
<channels>
<channel id="fwd_active_energy_allphase" typeId="fwd_active_energy_all"/>
<channel id="fwd_active_energy_phase1" typeId="fwd_active_energy">
<label>Fwd Active Energy P1</label>
</channel>
<channel id="fwd_active_energy_phase2" typeId="fwd_active_energy">
<label>Fwd Active Energy P2</label>
</channel>
<channel id="fwd_active_energy_phase3" typeId="fwd_active_energy">
<label>Fwd Active Energy P3</label>
</channel>
</channels>
</channel-group-type>
<channel-group-type id="fwd_active_fund_energy_group">
<label>Fwd Active Fund Energy</label>
<channels>
<channel id="fwd_active_fund_energy_allphase" typeId="fwd_active_fund_energy"/>
<channel id="fwd_active_fund_energy_phase1" typeId="fwd_active_fund_energy">
<label>Fwd Active Fund Energy P1</label>
</channel>
<channel id="fwd_active_fund_energy_phase2" typeId="fwd_active_fund_energy">
<label>Fwd Active Fund Energy P2</label>
</channel>
<channel id="fwd_active_fund_energy_phase3" typeId="fwd_active_fund_energy">
<label>Fwd Active Fund Energy P3</label>
</channel>
</channels>
</channel-group-type>
<channel-group-type id="fwd_active_harm_energy_group">
<label>Fwd Active Harm Energy</label>
<channels>
<channel id="fwd_active_harm_energy_allphase" typeId="fwd_active_harm_energy"/>
<channel id="fwd_active_harm_energy_phase1" typeId="fwd_active_harm_energy">
<label>Fwd Active Harm Energy P1</label>
</channel>
<channel id="fwd_active_harm_energy_phase2" typeId="fwd_active_harm_energy">
<label>Fwd Active Harm Energy P2</label>
</channel>
<channel id="fwd_active_harm_energy_phase3" typeId="fwd_active_harm_energy">
<label>Fwd Active Harm Energy P3</label>
</channel>
</channels>
</channel-group-type>
<channel-group-type id="fwd_reactive_energy_group">
<label>Fwd Reactive Energy</label>
<channels>
<channel id="fwd_reactive_energy_allphase" typeId="fwd_reactive_energy"/>
<channel id="fwd_reactive_energy_phase1" typeId="fwd_reactive_energy">
<label>Fwd Reactive Energy P1</label>
</channel>
<channel id="fwd_reactive_energy_phase2" typeId="fwd_reactive_energy">
<label>Fwd Reactive Energy P2</label>
</channel>
<channel id="fwd_reactive_energy_phase3" typeId="fwd_reactive_energy">
<label>Fwd Reactive Energy P3</label>
</channel>
</channels>
</channel-group-type>
<channel-group-type id="rev_active_energy_group">
<label>Rev Active Energy</label>
<channels>
<channel id="rev_active_energy_allphase" typeId="rev_active_energy_all"/>
<channel id="rev_active_energy_phase1" typeId="rev_active_energy">
<label>Rev Active Energy P1</label>
</channel>
<channel id="rev_active_energy_phase2" typeId="rev_active_energy">
<label>Rev Active Energy P2</label>
</channel>
<channel id="rev_active_energy_phase3" typeId="rev_active_energy">
<label>Rev Active Energy P3</label>
</channel>
</channels>
</channel-group-type>
<channel-group-type id="rev_active_fund_energy_group">
<label>Rev Active Fund Energy</label>
<channels>
<channel id="rev_active_fund_energy_allphase" typeId="rev_active_fund_energy"/>
<channel id="rev_active_fund_energy_phase1" typeId="rev_active_fund_energy">
<label>Rev Active Fund Energy P1</label>
</channel>
<channel id="rev_active_fund_energy_phase2" typeId="rev_active_fund_energy">
<label>Rev Active Fund Energy P2</label>
</channel>
<channel id="rev_active_fund_energy_phase3" typeId="rev_active_fund_energy">
<label>Rev Active Fund Energy P3</label>
</channel>
</channels>
</channel-group-type>
<channel-group-type id="rev_active_harm_energy_group">
<label>Rev Active Harm Energy</label>
<channels>
<channel id="rev_active_harm_energy_allphase" typeId="rev_active_harm_energy"/>
<channel id="rev_active_harm_energy_phase1" typeId="rev_active_harm_energy">
<label>Rev Active Harm Energy P1</label>
</channel>
<channel id="rev_active_harm_energy_phase2" typeId="rev_active_harm_energy">
<label>Rev Active Harm Energy P2</label>
</channel>
<channel id="rev_active_harm_energy_phase3" typeId="rev_active_harm_energy">
<label>Rev Active Harm Energy P3</label>
</channel>
</channels>
</channel-group-type>
<channel-group-type id="rev_reactive_energy_group">
<label>Rev Reactive Energy</label>
<channels>
<channel id="rev_reactive_energy_allphase" typeId="rev_reactive_energy"/>
<channel id="rev_reactive_energy_phase1" typeId="rev_reactive_energy">
<label>Rev Reactive Energy P1</label>
</channel>
<channel id="rev_reactive_energy_phase2" typeId="rev_reactive_energy">
<label>Rev Reactive Energy P2</label>
</channel>
<channel id="rev_reactive_energy_phase3" typeId="rev_reactive_energy">
<label>Rev Reactive Energy P3</label>
</channel>
</channels>
</channel-group-type>
<channel-group-type id="app_energy_group">
<label>Apparent Energy</label>
<channels>
<channel id="appenergy_consumption_allphase" typeId="appenergy_consumption"/>
<channel id="appenergy_consumption_phase1" typeId="appenergy_consumption">
<label>Apparent Energy P1</label>
</channel>
<channel id="appenergy_consumption_phase2" typeId="appenergy_consumption">
<label>Apparent Energy P2</label>
</channel>
<channel id="appenergy_consumption_phase3" typeId="appenergy_consumption">
<label>Apparent Energy P3</label>
</channel>
</channels>
</channel-group-type>
<channel-group-type id="powerfactor_group">
<label>Power Factor</label>
<channels>
<channel id="powerFactor_allphase" typeId="powerFactor"/>
<channel id="powerFactor_phase1" typeId="powerFactor">
<label>Power Factor P1</label>
</channel>
<channel id="powerFactor_phase2" typeId="powerFactor">
<label>Power Factor P2</label>
</channel>
<channel id="powerFactor_phase3" typeId="powerFactor">
<label>Power Factor P3</label>
</channel>
</channels>
</channel-group-type>
<!-- definition of channels types -->
<!-- General -->
<channel-type id="frequency">
<item-type>Number:Frequency</item-type>
<label>Main Frequency</label>
<description>Frequency in Hertz</description>
<state pattern="%.2f %unit%" readOnly="true"></state>
</channel-type>
<channel-type id="temperature" advanced="true">
<item-type>Number:Temperature</item-type>
<label>Internal Temperature</label>
<description>Internal Temperature of the energy meter</description>
<state pattern="%.1f %unit%" readOnly="true"></state>
</channel-type>
<channel-type id="op_time" advanced="true">
<item-type>Number:Time</item-type>
<label>Time in Operation</label>
<description>Time in Operation</description>
<state pattern="%d %unit%" readOnly="true"></state>
</channel-type>
<!-- Voltage -->
<channel-type id="avg_neutral_phase_voltage">
<item-type>Number:ElectricPotential</item-type>
<label>Average Voltage</label>
<description>Average N Phase Voltage in Volt</description>
<state pattern="%.1f %unit%" readOnly="true"></state>
</channel-type>
<channel-type id="voltage" advanced="true">
<item-type>Number:ElectricPotential</item-type>
<label>Voltage</label>
<description>Voltage in Volt</description>
<state pattern="%.1f %unit%" readOnly="true"></state>
</channel-type>
<channel-type id="avg_phase_phase_voltage" advanced="true">
<item-type>Number:ElectricPotential</item-type>
<label>Average Phase Phase Voltage</label>
<description>Average Phase Phase Voltage in Volt</description>
<state pattern="%.1f %unit%" readOnly="true"></state>
</channel-type>
<!-- Current -->
<channel-type id="current" advanced="true">
<item-type>Number:ElectricCurrent</item-type>
<label>Current</label>
<description>Current in Ampere</description>
<state pattern="%.2f %unit%" readOnly="true"></state>
</channel-type>
<!-- Angles -->
<channel-type id="phase_angle_currvolt" advanced="true">
<item-type>Number:Angle</item-type>
<label>Angle Current to Voltage</label>
<description>Angle Current to Voltage in Degree</description>
<state pattern="%.1f °" readOnly="true"></state>
</channel-type>
<channel-type id="phase_angle" advanced="true">
<item-type>Number:Angle</item-type>
<label>Angle Voltage to Voltage</label>
<description>Angle Voltage to Voltage in Degree</description>
<state pattern="%.1f °" readOnly="true"></state>
</channel-type>
<!-- Power -->
<channel-type id="activepower">
<item-type>Number:Power</item-type>
<label>Active Power</label>
<description>Active power consumed</description>
<state pattern="%.1f %unit%" readOnly="true"></state>
</channel-type>
<channel-type id="activefundpower" advanced="true">
<item-type>Number:Power</item-type>
<label>Active Fundamental Power</label>
<description>Active fundamental power</description>
<state pattern="%.1f %unit%" readOnly="true"></state>
</channel-type>
<channel-type id="activeharmpower" advanced="true">
<item-type>Number:Power</item-type>
<label>Active Harmonic Power</label>
<description>Active harmonic power</description>
<state pattern="%.1f %unit%" readOnly="true"></state>
</channel-type>
<channel-type id="reactivepower" advanced="true">
<item-type>Number:Power</item-type>
<label>Reactive Power</label>
<description>Reactive power consumed</description>
<state pattern="%.1f %unit%" readOnly="true"></state>
</channel-type>
<channel-type id="apppower" advanced="true">
<item-type>Number:Power</item-type>
<label>Apparent Power</label>
<description>Apparent power consumed</description>
<state pattern="%.1f %unit%" readOnly="true"></state>
</channel-type>
<!-- Forward Energy -->
<channel-type id="fwd_active_energy_all">
<item-type>Number:Energy</item-type>
<label>Forward Active Energy</label>
<description>Forward Active Energy in kWh</description>
<category>Energy</category>
<state pattern="%.1f %unit%" readOnly="true"></state>
</channel-type>
<channel-type id="fwd_active_energy" advanced="true">
<item-type>Number:Energy</item-type>
<label>Forward Active Energy</label>
<description>Forward Active Energy in kWh</description>
<category>Energy</category>
<state pattern="%.1f %unit%" readOnly="true"></state>
</channel-type>
<channel-type id="fwd_active_energy_allphase">
<item-type>Number:Energy</item-type>
<label>Forward Active Energy</label>
<description>Forward Active Energy all phase in kWh</description>
<category>Energy</category>
<state pattern="%.1f %unit%" readOnly="true"></state>
</channel-type>
<channel-type id="fwd_active_fund_energy" advanced="true">
<item-type>Number:Energy</item-type>
<label>Forward Active Fund. Energy</label>
<description>Forward Active Fundamental Energy in kWh</description>
<category>Energy</category>
<state pattern="%.1f %unit%" readOnly="true"></state>
</channel-type>
<channel-type id="fwd_active_harm_energy" advanced="true">
<item-type>Number:Energy</item-type>
<label>Forward Active Harm. Energy</label>
<description>Forward Active Harmonic Energy in kWh</description>
<category>Energy</category>
<state pattern="%.1f %unit%" readOnly="true"></state>
</channel-type>
<channel-type id="fwd_reactive_energy" advanced="true">
<item-type>Number:Energy</item-type>
<label>Forward Reactive Energy</label>
<description>Forward Reactive Energy in VArh</description>
<category>Energy</category>
<state pattern="%.1f %unit%" readOnly="true"></state>
</channel-type>
<!-- Reverse Energy -->
<channel-type id="rev_active_energy_all">
<item-type>Number:Energy</item-type>
<label>Reverse Active Energy</label>
<description>Reverse Active Energy in kWh</description>
<category>Energy</category>
<state pattern="%.1f %unit%" readOnly="true"></state>
</channel-type>
<channel-type id="rev_active_energy" advanced="true">
<item-type>Number:Energy</item-type>
<label>Reverse Active Energy</label>
<description>Reverse Active Energy in kWh</description>
<category>Energy</category>
<state pattern="%.1f %unit%" readOnly="true"></state>
</channel-type>
<channel-type id="rev_active_fund_energy" advanced="true">
<item-type>Number:Energy</item-type>
<label>Reverse Active Fund. Energy</label>
<description>Reverse Active Fundamental Energy in kWh</description>
<category>Energy</category>
<state pattern="%.1f %unit%" readOnly="true"></state>
</channel-type>
<channel-type id="rev_active_harm_energy" advanced="true">
<item-type>Number:Energy</item-type>
<label>Reverse Active Harm. Energy</label>
<description>Reverse Active Harmonic Energy in kWh</description>
<category>Energy</category>
<state pattern="%.1f %unit%" readOnly="true"></state>
</channel-type>
<channel-type id="rev_reactive_energy" advanced="true">
<item-type>Number:Energy</item-type>
<label>Reverse Reactive Energy</label>
<description>Reverse Reactive Energy in VArh</description>
<category>Energy</category>
<state pattern="%.1f %unit%" readOnly="true"></state>
</channel-type>
<!-- Apparent Energy -->
<channel-type id="appenergy_consumption" advanced="true">
<item-type>Number:Energy</item-type>
<label>Apparent Energy Consumption</label>
<description>Apparent Energy Consumption in VArh</description>
<state pattern="%.1f %unit%" readOnly="true"></state>
</channel-type>
<!-- Power Factor -->
<channel-type id="powerFactor" advanced="true">
<item-type>Number:Dimensionless</item-type>
<label>Power Factor</label>
<description>Power Factor</description>
<state pattern="%.1f" readOnly="true"></state>
</channel-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,348 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="zwave"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0
https://openhab.org/schemas/thing-description/v1.0.0">
<thing-type id="aeotec_zwa023_00_000" listed="false">
<label>ZWA023 Aeotec Smart Switch 7 (type B)</label>
<description><![CDATA[
Aeotec Smart Switch 7 (type B)<br /> <h1>Overview</h1><p>Switched power outlet with energy metering.<br /></p><p><br /></p> <br /> <h2>Inclusion Information</h2><p>Using your existing Z-Wave Controller supports Smart Start:</p><ol><li>Scan the QR code on Smart Switch using your Z-Wave gateway/controllers app.</li><li>Plugin your Smart Switch to any outlet that you wish to install it on.</li><li>Your Smart Switch will automatically pair to your Z-Wave network.</li></ol><p>Using your existing Z-Wave Controller without Smart Start:</p><ol><li>Set your Z-Wave Controller into its 'Add Device' mode. Refer to the Controller's manual if you are unsure of how to perform this step.</li><li>Power your Smart Switch to any outlet; its LED will slowly fade in and out slowly with a blue color to indicate it is ready to pair.</li><li>Tap the action button once. The LED will rapidly flash when it enters pair mode.</li><li>If your Z-Wave Controller supports S2 encryption, enter the first 5 digits of DSK into your Controller's interface if it is requested. The DSK is printed on Smart Switch.<ol><li>If pairing succeeds, it will become a bright blue light for 2 seconds.</li><li>If pairing fails, it will light a solid bright red light for 2 seconds and then return to a breathing blue light; repeat steps 1 to 4 if this happens.</li></ol></li></ol> <br /> <h2>Exclusion Information</h2><ol><li>Set your Z-Wave Controller into 'Remove Device' / 'Unpair Device' mode. Refer to the Controller's manual if you are unsure of how to perform this step.</li><li>Make sure the product is powered. If not, plug it into a wall socket and power it on.</li><li>Click Action Button 2 times quickly; it will bright violet light up to 2s.<ol><li>If Removing fails, it will light a bright red color for 2 seconds and then turn back to Load Indicator Mode; repeat steps 1 to 3. Contact us for further support if needed.</li><li>If Removing succeeds, it will become breathing blue light. Smart Switch is removed from the Z-Wave network successfully and is ready to be paired again.</li></ol></li></ol> <br /> <h2>Wakeup Information</h2><p><br /></p>
]]></description>
<category>PowerOutlet</category>
<!-- CHANNEL DEFINITIONS -->
<channels>
<channel id="switch_binary" typeId="switch_binary">
<label>Switch</label>
<properties>
<property name="binding:*:OnOffType">COMMAND_CLASS_SWITCH_BINARY</property>
</properties>
</channel>
<channel id="switch_dimmer" typeId="switch_dimmer">
<label>Dimmer</label>
<properties>
<property name="binding:*:PercentType">COMMAND_CLASS_SWITCH_MULTILEVEL</property>
<property name="binding:Command:OnOffType">COMMAND_CLASS_SWITCH_MULTILEVEL</property>
</properties>
</channel>
<channel id="scene_number" typeId="scene_number">
<label>Scene Number</label>
<properties>
<property name="binding:*:DecimalType">COMMAND_CLASS_SCENE_ACTIVATION</property>
</properties>
</channel>
<channel id="meter_current" typeId="meter_current">
<label>Electric meter (amps)</label>
<properties>
<property name="binding:*:DecimalType">COMMAND_CLASS_METER;type=E_A</property>
</properties>
</channel>
<channel id="meter_watts" typeId="meter_watts">
<label>Electric meter (watts)</label>
<properties>
<property name="binding:*:DecimalType">COMMAND_CLASS_METER;type=E_W</property>
</properties>
</channel>
<channel id="meter_kwh" typeId="meter_kwh">
<label>Electric meter (kWh)</label>
<properties>
<property name="binding:*:DecimalType">COMMAND_CLASS_METER;type=E_KWh</property>
</properties>
</channel>
<channel id="meter_voltage" typeId="meter_voltage">
<label>Electric meter (volts)</label>
<properties>
<property name="binding:*:DecimalType">COMMAND_CLASS_METER;type=E_V</property>
</properties>
</channel>
<channel id="color_color" typeId="color_color">
<label>Color Control</label>
<properties>
<property name="binding:*:HSBType">COMMAND_CLASS_SWITCH_COLOR</property>
<property name="binding:*:PercentType">COMMAND_CLASS_SWITCH_MULTILEVEL</property>
<property name="binding:Command:OnOffType">COMMAND_CLASS_SWITCH_MULTILEVEL</property>
</properties>
</channel>
<channel id="color_temperature" typeId="color_temperature">
<label>Color Temperature</label>
<properties>
<property name="binding:*:PercentType">COMMAND_CLASS_SWITCH_COLOR;colorMode=DIFF_WHITE</property>
<property name="binding:Command:OnOffType">COMMAND_CLASS_SWITCH_MULTILEVEL</property>
</properties>
</channel>
<channel id="alarm_power" typeId="alarm_power">
<label>Alarm (power)</label>
<properties>
<property name="binding:*:OnOffType">COMMAND_CLASS_ALARM;type=POWER_MANAGEMENT</property>
</properties>
</channel>
<channel id="time_offset" typeId="time_offset">
<label>Clock Time Offset</label>
<properties>
<property name="binding:*:DecimalType">COMMAND_CLASS_CLOCK</property>
</properties>
</channel>
<channel id="switch_binary1" typeId="switch_binary">
<label>Switch 1</label>
<properties>
<property name="binding:*:OnOffType">COMMAND_CLASS_SWITCH_BINARY:1</property>
</properties>
</channel>
<channel id="scene_number1" typeId="scene_number">
<label>Scene Number 1</label>
<properties>
<property name="binding:*:DecimalType">COMMAND_CLASS_SCENE_ACTIVATION:1</property>
</properties>
</channel>
<channel id="meter_current1" typeId="meter_current">
<label>Electric meter (amps) 1</label>
<properties>
<property name="binding:*:DecimalType">COMMAND_CLASS_METER:1;type=E_A</property>
</properties>
</channel>
<channel id="meter_watts1" typeId="meter_watts">
<label>Electric meter (watts) 1</label>
<properties>
<property name="binding:*:DecimalType">COMMAND_CLASS_METER:1;type=E_W</property>
</properties>
</channel>
<channel id="meter_kwh1" typeId="meter_kwh">
<label>Electric meter (kWh) 1</label>
<properties>
<property name="binding:*:DecimalType">COMMAND_CLASS_METER:1;type=E_KWh</property>
</properties>
</channel>
<channel id="meter_voltage1" typeId="meter_voltage">
<label>Electric meter (volts) 1</label>
<properties>
<property name="binding:*:DecimalType">COMMAND_CLASS_METER:1;type=E_V</property>
</properties>
</channel>
<channel id="alarm_power1" typeId="alarm_power">
<label>Alarm (power) 1</label>
<properties>
<property name="binding:*:OnOffType">COMMAND_CLASS_ALARM:1;type=POWER_MANAGEMENT</property>
</properties>
</channel>
<channel id="time_offset1" typeId="time_offset">
<label>Clock Time Offset 1</label>
<properties>
<property name="binding:*:DecimalType">COMMAND_CLASS_CLOCK:1</property>
</properties>
</channel>
<channel id="switch_dimmer2" typeId="switch_dimmer">
<label>Dimmer 2</label>
<properties>
<property name="binding:*:PercentType">COMMAND_CLASS_SWITCH_MULTILEVEL:2</property>
<property name="binding:Command:OnOffType">COMMAND_CLASS_SWITCH_MULTILEVEL:2</property>
</properties>
</channel>
<channel id="color_color2" typeId="color_color">
<label>Color Control 2</label>
<properties>
<property name="binding:*:HSBType">COMMAND_CLASS_SWITCH_COLOR:2</property>
<property name="binding:*:PercentType">COMMAND_CLASS_SWITCH_MULTILEVEL:2</property>
<property name="binding:Command:OnOffType">COMMAND_CLASS_SWITCH_MULTILEVEL:2</property>
</properties>
</channel>
<channel id="color_temperature2" typeId="color_temperature">
<label>Color Temperature 2</label>
<properties>
<property name="binding:*:PercentType">COMMAND_CLASS_SWITCH_COLOR:2;colorMode=DIFF_WHITE</property>
<property name="binding:Command:OnOffType">COMMAND_CLASS_SWITCH_MULTILEVEL:2</property>
</properties>
</channel>
</channels>
<!-- DEVICE PROPERTY DEFINITIONS -->
<properties>
<property name="vendor">Aeotec Limited</property>
<property name="modelId">ZWA023</property>
<property name="manufacturerId">0371</property>
<property name="manufacturerRef">0103:0017</property>
<property name="dbReference">1370</property>
<property name="defaultAssociations">1</property>
</properties>
<!-- CONFIGURATION DESCRIPTIONS -->
<config-description>
<!-- GROUP DEFINITIONS -->
<parameter-group name="configuration">
<context>setup</context>
<label>Configuration Parameters</label>
</parameter-group>
<parameter-group name="association">
<context>link</context>
<label>Association Groups</label>
</parameter-group>
<!-- PARAMETER DEFINITIONS -->
<parameter name="config_1_1" type="integer" groupName="configuration"
min="0" max="2">
<label>1: LED Setting</label>
<description><![CDATA[
This parameter is used to change the reaction of LED setting.<br /> <h1>Overview</h1><p><br /></p>
]]></description>
<default>2</default>
<options>
<option value="0">Disable LED completely</option>
<option value="1">Night light</option>
<option value="2">Display ON/OFF status</option>
</options>
</parameter>
<parameter name="config_2_4" type="integer" groupName="configuration"
min="0" max="4294967295">
<label>2: Night Light On Time</label>
<description><![CDATA[
Used to configure the Night Light on time.<br /> <h1>Overview</h1><p>Time is specified in format of 0xRRHHMMSS, where:<br />RR = Reserved</p><p>HH = Hours</p><p>MM = Minutes</p><p>SS = Seconds<br /></p>
]]></description>
<default>0</default>
<advanced>true</advanced>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_3_4" type="integer" groupName="configuration"
min="0" max="4294967295">
<label>3: Night Light Off Time</label>
<description><![CDATA[
Used to configure the Night Light off time<br /> <h1>Overview</h1><p>0xRRHHMMSS, where:<br /></p><p>RR = Reserved</p><p>HH = Hours</p><p>MM = Minutes</p><p>SS = Seconds</p>
]]></description>
<default>0</default>
<advanced>true</advanced>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_4_1" type="integer" groupName="configuration"
min="0" max="255">
<label>4: LED Blink Duration</label>
<description><![CDATA[
Set the duration of blink<br /> <h1>Overview</h1><p>Set duration of LED blinks<br /></p>
]]></description>
<default>0</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_5_1" type="integer" groupName="configuration"
min="1" max="24">
<label>5: LED Blink Speed</label>
<description><![CDATA[
Amount of blinks per second while blinking<br /> <h1>Overview</h1><p>Sets the blink rate when blinking<br /></p>
]]></description>
<default>5</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_6_2" type="integer" groupName="configuration"
min="0" max="3000">
<label>6: Send Alert When In Use</label>
<description><![CDATA[
Send alert when in use.<br /> <h1>Overview</h1><p>A Scene Activation Set command will be sent when energy draw is above this setting value.</p>
]]></description>
<default>100</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_7_1" type="integer" groupName="configuration"
min="0" max="255">
<label>7: Plug Always On</label>
<description><![CDATA[
Prevents the plugin from being turned off<br /> <h1>Overview</h1><p><br /></p>
]]></description>
<default>0</default>
<options>
<option value="0">Normal operation</option>
<option value="1">Button will not control ON/OFF</option>
<option value="2">Button disabled, except for include/exclude</option>
</options>
</parameter>
<parameter name="config_8_1" type="integer" groupName="configuration"
min="0" max="2">
<label>8: Power Out Action</label>
<description><![CDATA[
Sets the plug's action in case of power loss<br /> <h1>Overview</h1><p><br /></p>
]]></description>
<default>0</default>
<options>
<option value="0">Last Status</option>
<option value="1">Power On</option>
<option value="2">Power Off</option>
</options>
</parameter>
<parameter name="config_21_2" type="integer" groupName="configuration"
min="0" max="2500">
<label>21: Watt Report Threshold</label>
<description>Threshold for automatic report of Watts</description>
<default>0</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_23_2" type="integer" groupName="configuration"
min="0" max="65535">
<label>23: Watt Automatic Report Time</label>
<description><![CDATA[
Automatic report time for Watts<br /> <h1>Overview</h1><p>0 - disable</p><p>1-30 = 30s</p><p>31-65535 = 31-65535s<br /></p>
]]></description>
<default>600</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_40_4" type="integer" groupName="configuration"
min="0" max="86400">
<label>40: Automatic Off Timer</label>
<description><![CDATA[
Automatically turn OFF some time after turned ON<br /> <h1>Overview</h1><p>0 - no auto off timer</p><p>1~86400 - seconds<br /></p>
]]></description>
<default>0</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_41_4" type="integer" groupName="configuration"
min="0" max="86400">
<label>41: Automatic On Timer</label>
<description><![CDATA[
Automatically turn switch ON some time after turned OFF<br /> <h1>Overview</h1><p>0 - no auto on timer</p><p>1~86400 - seconds<br /></p>
]]></description>
<default>0</default>
<limitToOptions>false</limitToOptions>
</parameter>
<!-- ASSOCIATION DEFINITIONS -->
<parameter name="group_1" type="text" groupName="association" multiple="true">
<label>1: Lideline</label>
<multipleLimit>5</multipleLimit>
</parameter>
<parameter name="group_2" type="text" groupName="association" multiple="true">
<label>2: Retransmit</label>
<description><![CDATA[
<br /> <h1>Overview</h1><p>Mirror of Endpoint 1 Group 2</p>
]]></description>
<multipleLimit>5</multipleLimit>
</parameter>
<parameter name="group_3" type="text" groupName="association" multiple="true">
<label>3: Alert</label>
<description><![CDATA[
<br /> <h1>Overview</h1><p>Mirror of Endpoint 1 Group 3</p>
]]></description>
<multipleLimit>5</multipleLimit>
</parameter>
<!-- STATIC DEFINITIONS -->
<parameter name="node_id" type="integer" min="1" max="232" readOnly="true" required="true">
<label>Node ID</label>
<advanced>true</advanced>
</parameter>
</config-description>
</thing-type>
</thing:thing-descriptions>

View File

@ -1,296 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="zwave"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0
https://openhab.org/schemas/thing-description/v1.0.0">
<thing-type id="dlink_dchz110_00_000" listed="false">
<label>DCH-Z110 Door &amp; Window Sensor</label>
<description><![CDATA[
Door &amp; Window Sensor<br /> <h1>Overview</h1><p>The sensor DCH-Z110 has a door/window sensor integrated with, temperature and illumination, which are 3 sensors function in one, based on Z-WaveTM technology</p> <br /> <h2>Inclusion Information</h2><p>.Pressing tamper key three times within 1.5 seconds to enter the inclusion mode.</p> <p>After add successful, the device will wake to receive the setting command from Z-WaveTM Controller about 20 seconds.</p> <br /> <h2>Exclusion Information</h2><p>Pressing tamper key three times within 1.5 seconds to enter the exclusion mode</p> <br /> <h2>Wakeup Information</h2><p>Press the tamper key once. The device will wake-up 10 seconds.</p>
]]></description>
<category>Door</category>
<!-- CHANNEL DEFINITIONS -->
<channels>
<channel id="sensor_door" typeId="sensor_door">
<label>Door / Window Status</label>
<properties>
<property name="binding:*:OpenClosedType">COMMAND_CLASS_SENSOR_BINARY</property>
</properties>
</channel>
<channel id="sensor_luminance" typeId="sensor_luminance">
<label>Sensor (luminance)</label>
<properties>
<property name="binding:*:DecimalType">COMMAND_CLASS_SENSOR_MULTILEVEL;type=LUMINANCE</property>
</properties>
</channel>
<channel id="sensor_temperature" typeId="sensor_temperature">
<label>Sensor (temperature)</label>
<properties>
<property name="binding:*:QuantityType">COMMAND_CLASS_SENSOR_MULTILEVEL;type=TEMPERATURE</property>
</properties>
</channel>
<channel id="alarm_general" typeId="alarm_general">
<label>Alarm</label>
<properties>
<property name="binding:*:OnOffType">COMMAND_CLASS_ALARM</property>
</properties>
</channel>
<channel id="battery-level" typeId="system.battery-level">
<properties>
<property name="binding:*:PercentType">COMMAND_CLASS_BATTERY</property>
</properties>
</channel>
</channels>
<!-- DEVICE PROPERTY DEFINITIONS -->
<properties>
<property name="vendor">D-Link</property>
<property name="modelId">DCH-Z110</property>
<property name="manufacturerId">0108</property>
<property name="manufacturerRef">0002:000E</property>
<property name="dbReference">252</property>
<property name="defaultAssociations">1</property>
</properties>
<!-- CONFIGURATION DESCRIPTIONS -->
<config-description>
<!-- GROUP DEFINITIONS -->
<parameter-group name="configuration">
<context>setup</context>
<label>Configuration Parameters</label>
</parameter-group>
<parameter-group name="association">
<context>link</context>
<label>Association Groups</label>
</parameter-group>
<!-- PARAMETER DEFINITIONS -->
<parameter name="config_2_1" type="integer" groupName="configuration"
min="0" max="100">
<label>2: Basic Set Level</label>
<description><![CDATA[
Setting the BASIC command value to turn on the light.<br /> <h1>Overview</h1><ul> <li>0: Turn off the light.</li> <li>1 - 100: For dimmers 1 to 100 means the light level.</li> <li>255: Turns on the light. (Default) </li> </ul>
]]></description>
<default>255</default>
<options>
<option value="0">Off</option>
<option value="255">On</option>
</options>
</parameter>
<parameter name="config_3_1" type="integer" groupName="configuration"
min="0" max="99">
<label>3: PIR Sensitivity</label>
<description><![CDATA[
Set the sensitivity for the PIR (Passive Infrared Sensor).<br /> <h1>Overview</h1><ul> <li>0 = Disable the PIR motion detection.</li> <li>1 - 99 = 1 means the lowest sensitivity, 99 means the highest sensitivity</li> </ul> <p>High sensitivity means de</p>
]]></description>
<default>70</default>
<options>
<option value="0">Disable</option>
</options>
</parameter>
<parameter name="config_4_1" type="integer" groupName="configuration"
min="0" max="100">
<label>4: Light Threshold</label>
<description><![CDATA[
Set the illumination threshold to turn on the light.<br /> <h1>Overview</h1><p>When the event triggers and the environment illumination is lower than the threshold, the device will turn on the light.</p> <ul> <li>0 = Turn off illumination detected function and never turn</li> </ul>
]]></description>
<default>100</default>
<options>
<option value="0">Disable</option>
</options>
</parameter>
<parameter name="config_5_1" type="integer" groupName="configuration">
<label>5: Operation Mode</label>
<description><![CDATA[
Operation Mode<br /> <h1>Overview</h1><p>Parameter to set the Operation Mode.</p> <ul><li>Bit 0: Reserved.</li> <li>Bit 1: 1 means enable test mode;   0 means normal mode.  Notice: Ignored if DIP Switch is not set to Customer Mode.</li> <li>Bit 2: Disable the door/window function(1:Disable, 0:Enable)</li> <li>Bit3: Setting the temperature scale. 0: Fahrenheit, 1:Celsius </li> <li>Bit4: Disable the illumination report after event triggered. (1:Disable, 0:Enable) </li> <li>Bit5: Disable the temperature report after event triggered. (1:Disable, 0:Enable) </li> <li>Bit6: Reserved.</li> <li>Bit7: Disable the back key release into test mode. (1:Disable, 0:Enable)</li> </ul>
]]></description>
<default>0</default>
<options>
<option value="10">Preset: Celsius and LED on = Bits: 00001010 = 10</option>
</options>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_6_1" type="integer" groupName="configuration"
min="0" max="127">
<label>6: Multi-Sensor Function Switch</label>
<description><![CDATA[
Multi-Sensor Function Switch<br /> <h1>Overview</h1><p>Parameter to set the sensor functions.</p> <ul><li>Bit 0: Disable magnetic integrate illumination to turn on the lighting nodes in the association group 2. 1: Disable, 0: Enable</li> <li>Bit1: Disable PIR integrate Illumination to turn ON the lighting nodes in the association group 2. (1:Disable, 0:Enable)</li> <li>Bit2: Disable magnetic integrate PIR to turn ON the lighting nodes in the association group 2. (1:Disable, 0:Enable) (Default is Disable) </li> <li>Bit3: When Bit2 is 0 (Enable), Are the device and the lighting in the same room? 0: In the same room(Default), 1: In the different room. Notice: If this bit is 1, it is recommended also set the Bit1 to 1, cause the PIR triggered, doesn't mean the people in that room. </li> <li>Bit4: Disable delay 5 seconds to turn off the light, when door/window closed. (1:Disable, 0:Enable)</li> <li>Bit5: Disable auto turn off the light, after door/window opened to turn on the light. (1:Disable, 0:Enable) Notice: If bit2 is zero, this setting is useless. Notice: If the configuration No.9 is zero, this setting is useless</li> <li>Bit6: Reserve.</li> <li>Bit7: Reserve.</li> </ul>
]]></description>
<default>4</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_7_1" type="integer" groupName="configuration"
min="0" max="127">
<label>7: Customer Function</label>
<description><![CDATA[
Parameter to set the Customer Function.<br /> <h1>Overview</h1><p>l</p>
]]></description>
<default>4</default>
<options>
<option value="20">Enable PIR Super Sensitivity and Binary Report</option>
</options>
<advanced>true</advanced>
</parameter>
<parameter name="config_7_1_00000008" type="integer" groupName="configuration">
<label>7: Disable send of BASIC OFF after door closed</label>
<default>1</default>
<options>
<option value="0">Enable</option>
<option value="1">Disable</option>
</options>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_7_1_00000010" type="integer" groupName="configuration">
<label>7: Notification Type</label>
<default>0</default>
<options>
<option value="0">Notification Report</option>
<option value="1">Sensor Binary Report</option>
</options>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_7_1_00000020" type="integer" groupName="configuration">
<label>7: Disable Multi CC in auto report</label>
<default>0</default>
<options>
<option value="0">Enable</option>
<option value="1">Disable</option>
</options>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_7_1_00000040" type="integer" groupName="configuration">
<label>7: Disable to report battery state</label>
<default>0</default>
<options>
<option value="0">Enable</option>
<option value="1">Disable</option>
</options>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_8_1" type="integer" groupName="configuration"
min="1" max="127">
<label>8: PIR Re-Detect Interval Time</label>
<description><![CDATA[
PIR Re-Detect Interval Time<br /> <h1>Overview</h1><p>In the normal mode, after the PIR motion detected, setting the re-detect time. 8 seconds per tick, default is 3 (24 seconds).</p> <p>Setting the suitable value to prevent received the trigger signal too frequently. Also can save the battery energy.</p> <p><strong>Notice:</strong> If this value bigger than the configuration setting NO. 9. There is a period after the light turned off and the PIR not start detecting.</p>
]]></description>
<default>3</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_9_1" type="integer" groupName="configuration"
min="0" max="127">
<label>9: Turn Off Light Time</label>
<description><![CDATA[
Turn Off Light Time<br /> <h1>Overview</h1><p>After turn on the lighting, setting the delay time to turn off the lighting when the PIR motion is not detected. 8 seconds per tick, default tick is 4 (32 seconds).</p> <p>0 means never send turn off light command.</p>
]]></description>
<default>4</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_10_1" type="integer" groupName="configuration"
min="0" max="127">
<label>10: Auto Report Battery Time</label>
<description><![CDATA[
Auto Report Battery Time<br /> <h1>Overview</h1><p>The interval time for auto report the battery level.</p> <p>0 means turn off auto report battery. The default value is 12.</p> <p>The tick time can setting by the configuration No.20</p>
]]></description>
<default>12</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_11_1" type="integer" groupName="configuration"
min="0" max="127">
<label>11: Auto Report Door/Window State Time</label>
<description><![CDATA[
Auto Report Door/Window State Time<br /> <h1>Overview</h1><p>The interval time for auto report the door/window state.</p> <p>0 means turn off auto report door/window state. The default value is 12.</p> <p>The tick time can setting by the configuration No.20.</p>
]]></description>
<default>12</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_12_1" type="integer" groupName="configuration"
min="1" max="127">
<label>12: Auto Report Illumination Time</label>
<description><![CDATA[
Auto Report Illumination Time<br /> <h1>Overview</h1><p>The interval time for auto report the illumination.</p> <p>0 means turn off auto report illumination. The default value is 12.</p> <p>The tick time can setting by the configuration No.20</p>
]]></description>
<default>12</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_13_1" type="integer" groupName="configuration"
min="1" max="127">
<label>13: Auto Report Temperature Time</label>
<description><![CDATA[
Auto Report Temperature Time<br /> <h1>Overview</h1><p>The interval time for auto report the temperature.</p> <p>0 means turn off auto report temperature. The default value is 12.</p> <p>The tick time can setting by the configuration No.20.</p>
]]></description>
<default>12</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_20_1" type="integer" groupName="configuration"
min="0" max="255">
<label>20: Auto Report Tick Interval</label>
<description><![CDATA[
Auto Report Tick Interval<br /> <h1>Overview</h1><p>The interval time for each auto report tick. Setting this configuration will effect configuration No.10, No.11, No.12 and No.13.</p> <ul><li>0 = Turn off all auto report functions. </li> <li>1-255 = Interval time for each tick. Default is 30. Unit is in minutes</li> </ul>
]]></description>
<default>30</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_21_1" type="integer" groupName="configuration"
min="0" max="127">
<label>21: Temperature Differential Report</label>
<description><![CDATA[
Temperature Differential Report<br /> <h1>Overview</h1><p>The temperature differential to report. 0 means turn off this function. The unit is Fahrenheit. Enable this function the device will detect every minutes. And when the temperature is over 140 degree Fahrenheit, it will continue report.</p> <p><strong>Enable this functionality will cause some issue please see the detail in the “Temperature Report” section.</strong></p>
]]></description>
<default>1</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_22_1" type="integer" groupName="configuration"
min="0" max="99">
<label>22: Illumination Differential Report</label>
<description><![CDATA[
Illumination Differential Report<br /> <h1>Overview</h1><p>The illumination differential to report. 0 means turn off this function. The unit is percentage. Enable this function the device will detect every minutes.</p> <p><strong>Enable this functionality will cause some issue please see the detail in the “Illumination Report” section.</strong></p>
]]></description>
<default>1</default>
<limitToOptions>false</limitToOptions>
</parameter>
<!-- ASSOCIATION DEFINITIONS -->
<parameter name="group_1" type="text" groupName="association" multiple="true">
<label>1: Reports</label>
<multipleLimit>8</multipleLimit>
</parameter>
<parameter name="group_2" type="text" groupName="association" multiple="true">
<label>2: Light Control</label>
<multipleLimit>8</multipleLimit>
</parameter>
<!-- STATIC DEFINITIONS -->
<parameter name="node_id" type="integer" min="1" max="232" readOnly="true" required="true">
<label>Node ID</label>
<advanced>true</advanced>
</parameter>
</config-description>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,174 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="zwave"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0
https://openhab.org/schemas/thing-description/v1.0.0">
<thing-type id="mcohome_mhs220_00_000" listed="false">
<label>MH-S220 Micro Switch</label>
<description><![CDATA[
Micro Switch<br /> <h1>Overview</h1><p>MCOHome Micro Switch MH-S220-EU is a Z-Wave enabled module that can be set in existing in-wall switches. It supports basic command class, and also can act as a repeater in Z-Wave network. This product can be included and operated in any Z-Wave network with other Z-Wave certified devices from any other manufacturers.</p> <ul><li>Power supply: 220V 50Hz</li> <li>Max output: 10A (Zero-crossing switch)</li> <li>Dimension44 *38 *17mm (L *W *H)</li> <li>Load Type: Incandescent</li> </ul> <br /> <h2>Inclusion Information</h2><p>INCLUDING the Micro Switch into your network:</p> <ol><li>Set the controller into INCLUSION mode. Follow the instructions provided by the controller manufacturer.</li> <li>Press the ON/OFF/PROGRAM button on the Micro Switch.</li> </ol><p>Note: If the inclusion is successful, the Micro Switch INDICATION LED will be solid on or off depending on switchs state. If not, INDICATION LED will blink slowly.</p> <br /> <h2>Exclusion Information</h2><p>EXCLUDING the Micro Switch from your network:</p> <ol><li>Set the controller into EXCLUSION mode. Follow the instructions provided by the controller manufacturer.</li> <li>Press the ON/OFF/PROGRAM button on the Micro Switch.</li> </ol><p>Note: If the exclusion is successful, the Micro Switch INDICATION LED will blink slowly. If not, INDICATION LED will be solid on or off depending on switchs state.</p>
]]></description>
<category>WallSwitch</category>
<!-- CHANNEL DEFINITIONS -->
<channels>
<channel id="switch_binary" typeId="switch_binary">
<label>Switch</label>
<properties>
<property name="binding:*:OnOffType">COMMAND_CLASS_SWITCH_BINARY,COMMAND_CLASS_BASIC</property>
</properties>
</channel>
<channel id="scene_number" typeId="scene_number">
<label>Scene Number</label>
<properties>
<property name="binding:*:DecimalType">COMMAND_CLASS_SCENE_ACTIVATION</property>
</properties>
</channel>
<channel id="switch_binary1" typeId="switch_binary">
<label>Switch 1</label>
<properties>
<property name="binding:*:OnOffType">COMMAND_CLASS_SWITCH_BINARY:1,COMMAND_CLASS_BASIC:1</property>
</properties>
</channel>
</channels>
<!-- DEVICE PROPERTY DEFINITIONS -->
<properties>
<property name="vendor">McoHome Technology Co., Ltd</property>
<property name="modelId">MH-S220</property>
<property name="manufacturerId">015F</property>
<property name="manufacturerRef">2201:1252</property>
<property name="dbReference">1153</property>
<property name="defaultAssociations">3</property>
</properties>
<!-- CONFIGURATION DESCRIPTIONS -->
<config-description>
<!-- GROUP DEFINITIONS -->
<parameter-group name="configuration">
<context>setup</context>
<label>Configuration Parameters</label>
</parameter-group>
<parameter-group name="association">
<context>link</context>
<label>Association Groups</label>
</parameter-group>
<!-- PARAMETER DEFINITIONS -->
<parameter name="config_1_1" type="integer" groupName="configuration"
min="0" max="1">
<label>1: Switch state saved or not when power down</label>
<description><![CDATA[
Switch state saved or not when power down<br /> <h1>Overview</h1><p>0x00 not savedswitch will be off when powered again</p> <p>0x01 savedswitch will keep the same state when powered again</p>
]]></description>
<default>1</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_2_1" type="integer" groupName="configuration"
min="0" max="1">
<label>2: External switch type</label>
<description><![CDATA[
External switch type<br /> <h1>Overview</h1><p>0x00 Button (Momentary buttons )</p> <p>0x01 Toggle (2-state switches )</p>
]]></description>
<default>1</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_3_1" type="integer" groupName="configuration"
min="0" max="1">
<label>3: 2-state switches</label>
<description><![CDATA[
2-state switches<br /> <h1>Overview</h1><p>0x00 for the toggle switch without specified on/off position</p> <p>0x01 for the toggle switch with specified on/off position</p>
]]></description>
<default>0</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_4_1" type="integer" groupName="configuration"
min="0" max="2">
<label>4: Report from Switch 1 to Association Group 1</label>
<description>Report from Switch 1 to Association Group 1</description>
<default>0</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_5_1" type="integer" groupName="configuration"
min="0" max="1">
<label>5: OFF timer</label>
<description>OFF timer</description>
<default>1</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_6_2" type="integer" groupName="configuration"
min="0" max="65535">
<label>6: Timing function</label>
<description>Timing function</description>
<default>0</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_7_1" type="integer" groupName="configuration"
min="0" max="1">
<label>7: Operation mode of Switch 1</label>
<description>Operation mode of Switch 1</description>
<default>0</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_8_1" type="integer" groupName="configuration"
min="0" max="2">
<label>8: Operation report from Sw 2 to Assoc Group 2</label>
<description>Operation report from Switch 2 to Association Group 2</description>
<default>0</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_255_1" type="integer" groupName="configuration"
min="0" max="55">
<label>255: Factory setting</label>
<description><![CDATA[
Factory setting<br /> <h1>Overview</h1><p>Set parameter ID 0xFF as 0x55 will restore Factory Settings.</p>
]]></description>
<default>0</default>
<limitToOptions>false</limitToOptions>
</parameter>
<!-- ASSOCIATION DEFINITIONS -->
<parameter name="group_1" type="text" groupName="association" multiple="true">
<label>1: SW 1</label>
<description><![CDATA[
<br /> <h1>Overview</h1><p>Used for switching associated devicesswitch 1 controlling group 1)</p>
]]></description>
<multipleLimit>5</multipleLimit>
</parameter>
<parameter name="group_2" type="text" groupName="association" multiple="true">
<label>2: SW 2</label>
<description><![CDATA[
<br /> <h1>Overview</h1><p>Used for switching associated devicesswitch 2 controlling group 2)</p>
]]></description>
<multipleLimit>5</multipleLimit>
</parameter>
<parameter name="group_3" type="text" groupName="association" multiple="true">
<label>3: Controller</label>
<multipleLimit>5</multipleLimit>
</parameter>
<!-- STATIC DEFINITIONS -->
<parameter name="node_id" type="integer" min="1" max="232" readOnly="true" required="true">
<label>Node ID</label>
<advanced>true</advanced>
</parameter>
</config-description>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,304 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="zwave"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0
https://openhab.org/schemas/thing-description/v1.0.0">
<thing-type id="qubino_zmnhsd_00_000" listed="false">
<label>ZMNHSD DIN Rail Dimmer</label>
<description><![CDATA[
DIN Rail Dimmer<br /> <h1>Overview</h1><p>This Z-wave module is used for dimming the bulb or to manage the speed of a fan. The module can be controlled either thorough Z-wave network or through the wall switch.</p> <p>The module is designed to be mounted inside an electrical cabinet onto DIN rail.</p> <p>Module measures power consumption of bulb or fan and supports connection of digital temperature sensor. It is designed to act as repeater in order to improve range and stability of Z-wave network.</p> <br /> <h2>Inclusion Information</h2><p>Press service button S for more than 6 seconds or press push button I five times within 3s (5 times change switch state within 3 seconds) in the first 60 seconds after the module is connected to the power supply</p> <br /> <h2>Exclusion Information</h2><p>If service button S is pressed more than 2 and less than 6 seconds (or if push button I is pressed three times within 3s) module is excluded, but configuration parametres are not set to default values.</p> <p>Note: If the module is included with parameter 5 with value different from default and module reset is done, wait at least 30s before next inclusion</p>
]]></description>
<category>WallSwitch</category>
<!-- CHANNEL DEFINITIONS -->
<channels>
<channel id="switch_binary" typeId="switch_binary">
<label>Switch [Deprecated]</label>
<properties>
<property name="binding:*:OnOffType">COMMAND_CLASS_SWITCH_BINARY</property>
</properties>
</channel>
<channel id="switch_dimmer" typeId="switch_dimmer">
<label>Dimmer</label>
<properties>
<property name="binding:*:PercentType">COMMAND_CLASS_SWITCH_MULTILEVEL,COMMAND_CLASS_BASIC</property>
<property name="binding:Command:OnOffType">COMMAND_CLASS_SWITCH_MULTILEVEL</property>
</properties>
</channel>
<channel id="sensor_temperature" typeId="sensor_temperature">
<label>Sensor (temperature)</label>
<properties>
<property name="binding:*:QuantityType">COMMAND_CLASS_SENSOR_MULTILEVEL;type=TEMPERATURE</property>
</properties>
</channel>
<channel id="meter_kwh" typeId="meter_kwh">
<label>Electric meter (kWh)</label>
<properties>
<property name="binding:*:DecimalType">COMMAND_CLASS_METER;type=E_KWh</property>
</properties>
</channel>
<channel id="meter_watts" typeId="meter_watts">
<label>Electric meter (watts)</label>
<properties>
<property name="binding:*:DecimalType">COMMAND_CLASS_METER;type=E_W</property>
</properties>
</channel>
</channels>
<!-- DEVICE PROPERTY DEFINITIONS -->
<properties>
<property name="vendor">Goap</property>
<property name="modelId">ZMNHSD</property>
<property name="manufacturerId">0159</property>
<property name="manufacturerRef">0001:0052</property>
<property name="dbReference">324</property>
<property name="defaultAssociations">1</property>
</properties>
<!-- CONFIGURATION DESCRIPTIONS -->
<config-description>
<!-- GROUP DEFINITIONS -->
<parameter-group name="configuration">
<context>setup</context>
<label>Configuration Parameters</label>
</parameter-group>
<parameter-group name="association">
<context>link</context>
<label>Association Groups</label>
</parameter-group>
<!-- PARAMETER DEFINITIONS -->
<parameter name="config_1_1" type="integer" groupName="configuration"
min="0" max="1">
<label>1: Input switch type</label>
<description><![CDATA[
<br /> <h1>Overview</h1><p><br /></p>
]]></description>
<default>0</default>
<options>
<option value="0">Mono-stable switch type (push button)</option>
<option value="1">Bi-stable switch type</option>
</options>
</parameter>
<parameter name="config_5_1" type="integer" groupName="configuration"
min="0" max="1">
<label>5: Working mode</label>
<description><![CDATA[
Module presentation on the user interface.<br /> <h1>Overview</h1><p>With this parameter it is possible to change the module presentation on the user interface.</p>
]]></description>
<default>0</default>
<options>
<option value="0">Dimmer</option>
<option value="1">Switch</option>
</options>
</parameter>
<parameter name="config_10_2" type="integer" groupName="configuration">
<label>10: Activate / deactivate functions ALL ON / ALL OFF</label>
<description><![CDATA[
DIN dimmer module responds to commands ALL ON / ALL OFF<br /> <h1>Overview</h1><p>DIN dimmer module responds to commands ALL ON / ALL OFF that may be sent by the main controller or by other controller belonging to the system. </p> <ul><li>default value 255</li> <li>255 - ALL ON active, ALL OFF active.</li> <li>0 - ALL ON is not active, ALL OFF is not active</li> <li>1 - ALL ON is not active, ALL OFF active</li> <li>2 - ALL ON active, ALL OFF is not active</li> </ul>
]]></description>
<default>255</default>
<options>
<option value="0">ALL ON is not active, ALL OFF is not active</option>
<option value="1">ALL ON is not active, ALL OFF active</option>
<option value="2">ALL ON active, ALL OFF is not active</option>
<option value="255">ALL ON active, ALL OFF active</option>
</options>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_11_2" type="integer" groupName="configuration">
<label>11: Automatic turning off output after set time</label>
<description><![CDATA[
Automatic turning off output after set time<br /> <h1>Overview</h1><ul><li>0 - Auto OFF disabled</li> <li>1 32536 = 1 second 32536 seconds Auto OFF enabled with defined time, step is 1 second.</li> </ul>
]]></description>
<default>0</default>
<options>
<option value="0">Auto off DISABLED</option>
</options>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_12_2" type="integer" groupName="configuration">
<label>12: Automatic turning on output after set time</label>
<description><![CDATA[
Automatic turning on output after set time<br /> <h1>Overview</h1><ul><li>0 - Auto ON disabled</li> <li>1 32536 = 1 second 32536 seconds Auto ON enabled with defined time, step is 1 second.</li> </ul>
]]></description>
<default>0</default>
<options>
<option value="0">Auto on DISABLED</option>
</options>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_21_1" type="integer" groupName="configuration">
<label>21: Enable / Disable Double click function</label>
<description><![CDATA[
If Double click function is enabled, double click to maximum dimming power<br /> <h1>Overview</h1><p>If Double click function is enabled, a fast double click on the push button will set dimming power at maximum dimming value.</p>
]]></description>
<default>0</default>
<options>
<option value="0">double click disabled</option>
<option value="1">double click enabled</option>
</options>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_30_1" type="integer" groupName="configuration">
<label>30: Save state of after a power failure</label>
<description><![CDATA[
Saving the state of the device after a power failure<br /> <h1>Overview</h1><p>Available configuration parameters:</p> <ul><li>default value 0</li> <li>0 DIN dimmer module saves its state before power failure (it returns to the last position saved before a power failure).</li> <li>1 DIN dimmer module does not save the state after a power failure, it returns to "off" position.</li> </ul>
]]></description>
<default>0</default>
<options>
<option value="0">Save state enabled</option>
<option value="1">Save state disabled</option>
</options>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_40_1" type="integer" groupName="configuration"
min="0" max="100">
<label>40: Power reporting in watts on power change</label>
<description><![CDATA[
Reporting the power in Watts on power change larger then the setpoint<br /> <h1>Overview</h1><p>Set value means percentage, set value from 0 - 100=0% - 100%. </p> <p>Available configuration parameters:</p> <ul><li>default value 5</li> <li>0 Reporting Disabled</li> <li>1 100 = 1% - 100% Reporting enabled. Power report is send (push) only when actual power in Watts in real time changes for more than set percentage comparing to previous actual power in Watts, step is 1%.</li> </ul><p>NOTE: if power changed is less than 1W, the report is not send (pushed), independent of percentage set.</p>
]]></description>
<default>5</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_42_2" type="integer" groupName="configuration"
min="0" max="32767">
<label>42: Power reporting in Watts by time interval</label>
<description><![CDATA[
Power reporting in Watts by time interval according to setpoint<br /> <h1>Overview</h1><p>Set value means time interval (0 32767) in seconds, when power report is send. </p> <p>Available configuration parameters:</p> <ul><li>default value 0</li> <li>0 reporting disabled</li> <li>1 32767 = 1 second 32767 seconds. Reporting enabled. Power report is send with time interval set by entered value. Please note, that too fast reporting can cause too much Z-Wave traffic resulting in Z-Wave poor response.</li> </ul>
]]></description>
<default>300</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_60_1" type="integer" groupName="configuration"
min="1" max="98">
<label>60: Minimum dimming value</label>
<description><![CDATA[
Minimum % dimming value of dimmer<br /> <h1>Overview</h1><p>Available configuration parameters:</p> <ul><li>default value 1 = 1% (minimum dimming value)</li> <li>1- 98 = 1% 98%, step is 1%. Minimum dimming values is set by entered value.</li> </ul><p>NOTE: The minimum level may not be higher than the maximum level! 1% min. dimming value is defined by Z-Wave multilevel device class.</p>
]]></description>
<default>1</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_61_1" type="integer" groupName="configuration"
min="2" max="99">
<label>61: Maximum dimming value</label>
<description><![CDATA[
Maximum % dimming value on dimmer<br /> <h1>Overview</h1><p>Available configuration parameters:</p> <ul><li>default value 99 = 99% (Maximum dimming value)</li> <li>2- 99 = 2% 99%, step is 1%. Maximum dimming values is set by entered value.</li> </ul><p>NOTE: The maximum level may not be lower than the minimum level! 99% max. dimming value is defined by Z-Wave multilevel device class.</p>
]]></description>
<default>99</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_65_2" type="integer" groupName="configuration"
min="1" max="255">
<label>65: Dimming time (soft on/off)</label>
<description><![CDATA[
Set value means time of moving the Dimmer between min. and max. dimming<br /> <h1>Overview</h1><p>Set value means time of moving the Dimmer between min. and max. dimming values by short press of push button I or controlled through UI (BasicSet). Available configuration parameters (data type is 2 Byte DEC): </p> <ul><li>default value 100 = 1s</li> <li>1 - 255 = 100 mseconds 25500 mseconds (25,5s), step is 100 mseconds</li> </ul>
]]></description>
<default>100</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_66_2" type="integer" groupName="configuration"
min="1" max="255">
<label>66: Dimming time when key pressed</label>
<description><![CDATA[
Time to moving the Dimmer between min. and max values (in seconds).<br /> <h1>Overview</h1><ul><li>default value 3 = 3s</li> <li>1- 255 = 1 second 255 seconds.</li> </ul>
]]></description>
<default>3</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_67_1" type="integer" groupName="configuration">
<label>67: Ignore start level</label>
<description><![CDATA[
Ignore or respect start level when used together with association group 3<br /> <h1>Overview</h1><p>This parameter is used with association group 3.</p> <p>A receiving device SHOULD respect the start level if the Ignore Start Level bit is 0. <br />A receiving device MUST ignore the start level if the Ignore Start</p> <p>Level bit is 1. Available configuration parameters:</p> <ul><li>default value 0 = respect start level</li> <li>1 = ignore start level</li> </ul>
]]></description>
<default>0</default>
<options>
<option value="0">respect start level</option>
<option value="1">ignore start level</option>
</options>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_68_1" type="integer" groupName="configuration"
min="0" max="127">
<label>68: Dimming duration</label>
<description><![CDATA[
This parameter is used with association group 3.<br /> <h1>Overview</h1><p>The Duration field MUST specify the time that the transition should take from the current value to the new target value. A supporting device SHOULD respect the specified Duration value.</p>
]]></description>
<default>0</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_110_2" type="integer" groupName="configuration"
min="1" max="32536">
<label>110: Temperature sensor offset settings</label>
<description><![CDATA[
Temperature sensor offset settings between -10.0 to 10.0 °C<br /> <h1>Overview</h1><p>Set value is added or subtracted to actual measured value by sensor.</p> <p>Available configuration parameters:</p> <ul><li>default value = 32536</li> <li>32536 = offset is 0.0C</li> <li>1 100 = value from 0.1 °C to 10.0 °C is added to actual measured temperature.</li> <li>1001 1100 = value from -0.1 °C to -10.0 °C is subtracted to actual measured temperature.</li> </ul>
]]></description>
<default>32536</default>
<limitToOptions>false</limitToOptions>
</parameter>
<parameter name="config_120_1" type="integer" groupName="configuration"
min="0" max="127">
<label>120: Digital temperature sensor reporting</label>
<description><![CDATA[
Reporting temperature when change is larger than defined by this parameter<br /> <h1>Overview</h1><p>If digital temperature sensor is connected, module reports measured temperature on temperature change defined by this parameter.</p> <p>Available configuration parameters:</p> <ul><li>default value 5 = 0,5°C change</li> <li>0 = Reporting disabled</li> <li>1- 127 = 0,1°C 12,7°C, step is 0,1°C</li> </ul>
]]></description>
<default>5</default>
<limitToOptions>false</limitToOptions>
</parameter>
<!-- ASSOCIATION DEFINITIONS -->
<parameter name="group_1" type="text" groupName="association">
<label>1: Controller Updates</label>
</parameter>
<parameter name="group_2" type="text" groupName="association" multiple="true">
<label>2: I1 basic on/off</label>
<multipleLimit>16</multipleLimit>
</parameter>
<parameter name="group_3" type="text" groupName="association" multiple="true">
<label>3: I1 start/stop level change</label>
<multipleLimit>16</multipleLimit>
</parameter>
<parameter name="group_4" type="text" groupName="association" multiple="true">
<label>4: Multilevel set</label>
<multipleLimit>16</multipleLimit>
</parameter>
<parameter name="group_5" type="text" groupName="association" multiple="true">
<label>5: Multilevel sensor report</label>
<multipleLimit>16</multipleLimit>
</parameter>
<!-- STATIC DEFINITIONS -->
<parameter name="node_id" type="integer" min="1" max="232" readOnly="true" required="true">
<label>Node ID</label>
<advanced>true</advanced>
</parameter>
</config-description>
</thing-type>
</thing:thing-descriptions>