Skip to content

Commit

Permalink
feat(config): add additional config parameters to Zooz Zen26 and Zen2…
Browse files Browse the repository at this point in the history
…7 and update Zen76/77 parameter language (#1564)
  • Loading branch information
mattstocum authored Feb 3, 2021
1 parent 1971df0 commit ab719f2
Show file tree
Hide file tree
Showing 12 changed files with 2,808 additions and 122 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,23 @@
}
],
"firmwareVersion": {
"min": "0.0",
"max": "255.255"
"min": "1.0",
"max": "1.0"
},
"associations": {
"1": {
"label": "Lifeline",
"maxNodes": 1,
"isLifeline": true
},
"2": {
"label": "On/Off Control",
"maxNodes": 5
}
},
"supportsZWavePlus": true,
"paramInformation": {
"1": {
"label": "Paddle Control",
"description": "Choose Paddle Functionality (Invert)",
"label": "Paddle Orientation",
"valueSize": 1,
"minValue": 0,
"maxValue": 1,
Expand All @@ -29,18 +38,17 @@
"allowManualEntry": false,
"options": [
{
"label": "Top on, Bottom off",
"label": "Top on, bottom off",
"value": 0
},
{
"label": "Top off, Bottom on",
"label": "Top off, bottom on",
"value": 1
}
]
},
"2": {
"label": "LED Indicator Control",
"description": "Change behavior of the LED indicator",
"valueSize": 1,
"minValue": 0,
"maxValue": 3,
Expand All @@ -50,37 +58,37 @@
"allowManualEntry": false,
"options": [
{
"label": "LED on when switch off",
"label": "LED is on when switch is off",
"value": 0
},
{
"label": "LED on when switch on",
"label": "LED is on when switch is off",
"value": 1
},
{
"label": "LED off",
"label": "LED is always off",
"value": 2
},
{
"label": "LED on",
"label": "LED is always on",
"value": 3
}
]
},
"3": {
"label": "Auto Turn-Off Timer",
"description": "enable the Auto Turn-Off Timer",
"label": "Auto Turn-Off Timer Duration",
"description": "Set the number of seconds to automatically turn off switch once it has been turned on (0 to disable).",
"unit": "seconds",
"valueSize": 2,
"minValue": 0,
"maxValue": 32767,
"defaultValue": 0,
"defaultValue": 60,
"readOnly": false,
"writeOnly": false,
"allowManualEntry": true
},
"5": {
"label": "On Off Status After Power Failure",
"description": "Set the on off status for the switch after power failure.",
"8": {
"label": "Switch State After Power Failure",
"valueSize": 1,
"minValue": 0,
"maxValue": 2,
Expand All @@ -98,7 +106,7 @@
"value": 1
},
{
"label": "last state",
"label": "Previous State",
"value": 2
}
]
Expand Down
290 changes: 290 additions & 0 deletions packages/config/config/devices/0x027a/zen26_2.0-2.1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,290 @@
// Zooz ZEN26
// Z-Wave Plus S2 ON/OFF Switch
{
"manufacturer": "Zooz",
"manufacturerId": "0x027a",
"label": "ZEN26",
"description": "Z-Wave Plus S2 ON/OFF Switch",
"devices": [
{
"productType": "0xa000",
"productId": "0xa001"
}
],
"firmwareVersion": {
"min": "2.0",
"max": "2.1"
},
"associations": {
"1": {
"label": "Lifeline",
"maxNodes": 1,
"isLifeline": true
},
"2": {
"label": "On/Off Control",
"maxNodes": 5
}
},
"paramInformation": {
"1": {
"label": "Paddle Orientation",
"valueSize": 1,
"minValue": 0,
"maxValue": 1,
"defaultValue": 0,
"readOnly": false,
"writeOnly": false,
"allowManualEntry": false,
"options": [
{
"label": "Top on, bottom off",
"value": 0
},
{
"label": "Top off, bottom on",
"value": 1
}
]
},
"2": {
"label": "LED Indicator Control",
"valueSize": 1,
"minValue": 0,
"maxValue": 3,
"defaultValue": 0,
"readOnly": false,
"writeOnly": false,
"allowManualEntry": false,
"options": [
{
"label": "LED is on when switch is off",
"value": 0
},
{
"label": "LED is on when switch is off",
"value": 1
},
{
"label": "LED is always off",
"value": 2
},
{
"label": "LED is always on",
"value": 3
}
]
},
"3": {
"label": "Auto Turn-Off Timer",
"valueSize": 1,
"minValue": 0,
"maxValue": 1,
"defaultValue": 0,
"readOnly": false,
"writeOnly": false,
"allowManualEntry": false,
"options": [
{
"label": "Disabled",
"value": 0
},
{
"label": "Enabled",
"value": 1
}
]
},
"4": {
"label": "Auto Turn-Off Timer Duration",
"unit": "minutes",
"valueSize": 4,
"minValue": 1,
"maxValue": 65535,
"defaultValue": 60,
"readOnly": false,
"writeOnly": false,
"allowManualEntry": true
},
"5": {
"label": "Auto Turn-On Timer",
"valueSize": 1,
"minValue": 0,
"maxValue": 1,
"defaultValue": 0,
"readOnly": false,
"writeOnly": false,
"allowManualEntry": false,
"options": [
{
"label": "Disabled",
"value": 0
},
{
"label": "Enabled",
"value": 1
}
]
},
"6": {
"label": "Auto Turn-On Timer Duration",
"unit": "minutes",
"valueSize": 4,
"minValue": 1,
"maxValue": 65535,
"defaultValue": 30,
"readOnly": false,
"writeOnly": false,
"allowManualEntry": true
},
"7[0x01]": {
"label": "Control Group 2 With Physical Switch",
"valueSize": 1,
"minValue": 0,
"maxValue": 1,
"defaultValue": 1,
"readOnly": false,
"writeOnly": false,
"allowManualEntry": false,
"options": [
{
"label": "Disabled",
"value": 0
},
{
"label": "Enabled",
"value": 1
}
]
},
"7[0x02]": {
"label": "Control Group 2 With Connected 3-Way Switch",
"valueSize": 1,
"minValue": 0,
"maxValue": 1,
"defaultValue": 1,
"readOnly": false,
"writeOnly": false,
"allowManualEntry": false,
"options": [
{
"label": "Disabled",
"value": 0
},
{
"label": "Enabled",
"value": 1
}
]
},
"7[0x04]": {
"label": "Control Group 2 With Z-Wave Commands",
"valueSize": 1,
"minValue": 0,
"maxValue": 1,
"defaultValue": 1,
"readOnly": false,
"writeOnly": false,
"allowManualEntry": false,
"options": [
{
"label": "Disabled",
"value": 0
},
{
"label": "Enabled",
"value": 1
}
]
},
"7[0x08]": {
"label": "Control Group 2 With On/Off Timers",
"valueSize": 1,
"minValue": 0,
"maxValue": 1,
"defaultValue": 1,
"readOnly": false,
"writeOnly": false,
"allowManualEntry": false,
"options": [
{
"label": "Disabled",
"value": 0
},
{
"label": "Enabled",
"value": 1
}
]
},
"8": {
"label": "Switch State After Power Failure",
"valueSize": 1,
"minValue": 0,
"maxValue": 2,
"defaultValue": 2,
"readOnly": false,
"writeOnly": false,
"allowManualEntry": false,
"options": [
{
"label": "Off",
"value": 0
},
{
"label": "On",
"value": 1
},
{
"label": "Previous State",
"value": 2
}
]
},
"10": {
"label": "Scene Control",
"description": "Send scene commands to hub on physical paddle presses.",
"valueSize": 1,
"minValue": 0,
"maxValue": 1,
"defaultValue": 0,
"readOnly": false,
"writeOnly": false,
"allowManualEntry": false,
"options": [
{
"label": "Disabled",
"value": 0
},
{
"label": "Enabled",
"value": 1
}
]
},
"11": {
"label": "Enable Local and Z-Wave Control",
"valueSize": 1,
"minValue": 0,
"maxValue": 2,
"defaultValue": 1,
"readOnly": false,
"writeOnly": false,
"allowManualEntry": false,
"options": [
{
"label": "Local control disabled, Z-Wave control enabled",
"value": 0
},
{
"label": "Local control and Z-Wave control enabled",
"value": 1
},
{
"label": "Local control and Z-Wave control disabled",
"value": 2
}
]
}
}
}
Loading

0 comments on commit ab719f2

Please sign in to comment.