Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions drivers/SmartThings/zwave-switch/fingerprints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,13 @@ zwaveManufacturer:
manufacturerId: 0x010F
productType: 0x0102
deviceProfileName: fibaro-dimmer-2
#Zooz
- id: "Zooz/ZEN05"
deviceLabel: Zooz Outdoor Plug ZEN05
manufacturerId: 0x027A
productType: 0x7000
productId: 0xB001
deviceProfileName: zooz-zen05-plug
#Shelly/Qubino
- id: 1120/2/137
deviceLabel: Wave Plug UK
Expand Down
90 changes: 90 additions & 0 deletions drivers/SmartThings/zwave-switch/profiles/zooz-zen05-plug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
name: zooz-zen05-plug
components:
- id: main
capabilities:
- id: switch
version: 1
- id: powerMeter
version: 1
- id: energyMeter
version: 1
- id: voltageMeasurement
version: 1
- id: refresh
version: 1
categories:
- name: SmartPlug
preferences:
- name: "driverInfo"
title: "Driver Info"
description: "This driver may have limited features, check the online Zooz documentation for information about custom drivers."
preferenceType: string
definition:
stringType: paragraph
#param 1
- name: "ledMode"
title: "LED Indicator Behavior"
description: "Decide how the LED indicator behaves depending on the on/off status of the plug."
required: false
preferenceType: enumeration
definition:
options:
0: "On when on, off when off *"
1: "On when off, off when on"
2: "Always off"
default: 0
#param 7
- name: "ledBrightness"
title: "LED Brightness"
description: "Choose the LED indicator brightness level."
required: false
preferenceType: enumeration
definition:
options:
0: "High"
1: "Medium"
2: "Low *"
default: 2
#param 2
- name: "autoTurnOff"
title: "Auto-off Timer"
description: "Default: 0=disabled; Auto-off timer will automatically turn the Smart Plug off after x minutes once it has been turned on."
required: false
preferenceType: integer
definition:
minimum: 0
maximum: 65535
default: 0
#param 4
- name: "autoTurnOn"
title: "Auto-on Timer"
description: "Default: 0=disabled; Auto-on timer will automatically turn the Smart Plug on after x minutes once it has been turned off."
required: false
preferenceType: integer
definition:
minimum: 0
maximum: 65535
default: 0
#param 6
- name: "powerRecovery"
title: "On/Off Status After Power Failure"
description: "Choose the recovery state for your Smart Plug if power outage occurs."
required: false
preferenceType: enumeration
definition:
options:
2: "Restores Prior Status *"
0: "Always Off once restored"
1: "Always On once restored"
default: 2
#param 8
- name: "manualControl"
title: "Manual Control"
description: "Disable or enable manual control (turning the Smart Plug on and off using the physical button)."
required: false
preferenceType: enumeration
definition:
options:
0: "Disabled"
1: "Enabled *"
default: 1
1 change: 1 addition & 0 deletions drivers/SmartThings/zwave-switch/src/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ local driver_template = {
capabilities.battery,
capabilities.energyMeter,
capabilities.powerMeter,
capabilities.voltageMeasurement,
capabilities.colorControl,
capabilities.button,
capabilities.temperatureMeasurement,
Expand Down
15 changes: 15 additions & 0 deletions drivers/SmartThings/zwave-switch/src/preferences.lua
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,21 @@ local devices = {
dimmerPaddleControl = {parameter_number = 27, size = 1}
}
},
ZOOZ_ZEN05 = {
MATCHING_MATRIX = {
mfrs = 0x027A,
product_types = 0x7000,
product_ids = 0xB001
},
PARAMETERS = {
ledMode = { parameter_number = 1, size = 1 },
autoTurnOff = { parameter_number = 2, size = 4 },
autoTurnOn = { parameter_number = 4, size = 4 },
powerRecovery = { parameter_number = 6, size = 1 },
ledBrightness = { parameter_number = 7, size = 1 },
manualControl = { parameter_number = 8, size = 1 },
}
},
AEOTEC_HEAVY_DUTY = {
MATCHING_MATRIX = {
mfrs = 0x0086,
Expand Down
Loading