Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(config): add missing and new parameters for ZEN15 #7495

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open
194 changes: 140 additions & 54 deletions packages/config/config/devices/0x027a/zen15.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,108 @@
"max": "255.255"
},
"paramInformation": [
{
"#": "27",
"$if": "firmwareVersion < 1.3",
"label": "LED Indicator",
"valueSize": 1,
"defaultValue": 0,
"allowManualEntry": false,
"options": [
{
"label": "Always on",
"value": 0
},
{
"label": "Momentary (At status change)",
"value": 1
}
]
},
{
"#": "27",
"$if": "firmwareVersion >= 1.3",
"label": "LED Power Consumption Indicator",
"description": "Pink = Power Switch is off; Blue = 0–300 W; Cyan = 300–600 W; Green = 600–900 W; Yellow = 900–1200 W; Red = 1200–1500 W; Purple = 1500–1800 W; Purple blink = over 1800 W",
"valueSize": 1,
"defaultValue": 1,
"allowManualEntry": false,
"options": [
{
"label": "Always on",
"value": 0
},
{
"label": "On when switch is on, off when switch is off",
"value": 1
},
{
"label": "5 seconds following switch activation, then off",
"value": 2
},
{
"label": "Always off (Except for inclusion, exclusion, and Z-Wave range test)",
"value": 3
}
]
},
{
"#": "20",
"$if": "firmwareVersion < 2.10",
"$import": "~/templates/master_template.json#base_enable_disable",
"label": "Overload Protection",
"description": "Turn off once power draw on the connected device exceeds 16.5A",
"defaultValue": 1
},
{
"#": "20",
"$if": "firmwareVersion >= 2.10",
"label": "Overload Protection",
"description": "Seconds power draw on the connected device can exceed 16.5A before shut off.",
"valueSize": 1,
"unit": "seconds",
"minValue": 2,
"maxValue": 5,
"defaultValue": 2
},
{
"#": "36",
"$if": "firmwareVersion >= 2.10",
"label": "Overload Protection Turn On Delay",
"description": "Disable or set the delay for the automatic turn on after the unit has been turned off after the overload protection was triggered. (0 – Disabled [Default]; 10 – 65535 [seconds])",
"valueSize": 2,
"minValue": 0,
"maxValue": 65535,
"defaultValue": 0,
"unsigned": true,
"options": [
{
"label": "Disable",
"value": 0
}
]
},
{
"#": "21",
"$import": "~/templates/master_template.json#state_after_power_failure_prev_on_off"
},
{
"#": "35",
"$if": "firmwareVersion >= 2.0",
"label": "Delay Turn-On After Power Outage",
"description": "Delay turn on of the relay after a power outage occurs. (0 – Disabled [Default]; 1 – 600)",
"valueSize": 2,
"unit": "seconds",
"minValue": 0,
"maxValue": 600,
"defaultValue": 0,
"options": [
{
"label": "Disable",
"value": 0
}
]
},
{
"#": "24",
"label": "On/Off Status Change Notifications",
Expand Down Expand Up @@ -78,62 +170,11 @@
}
]
},
{
"#": "30",
"$if": "firmwareVersion >= 1.3",
"$import": "~/templates/master_template.json#base_enable_disable",
"label": "Manual Control",
"description": "Disables manual control from the device itself"
},
{
"#": "27",
"$if": "firmwareVersion < 1.3",
"label": "LED Indicator",
"valueSize": 1,
"defaultValue": 0,
"allowManualEntry": false,
"options": [
{
"label": "Always on",
"value": 0
},
{
"label": "Momentary (At status change)",
"value": 1
}
]
},
{
"#": "27",
"$if": "firmwareVersion >= 1.3",
"label": "LED Power Consumption Indicator",
"description": "Pink = Power Switch is off; Blue = 0–300 W; Cyan = 300–600 W; Green = 600–900 W; Yellow = 900–1200 W; Red = 1200–1500 W; Purple = 1500–1800 W; Purple blink = over 1800 W",
"valueSize": 1,
"defaultValue": 1,
"allowManualEntry": false,
"options": [
{
"label": "Always on",
"value": 0
},
{
"label": "On when switch is on, off when switch is off",
"value": 1
},
{
"label": "5 seconds following switch activation, then off",
"value": 2
},
{
"label": "Always off (Except for inclusion, exclusion, and Z-Wave range test)",
"value": 3
}
]
},
{
"#": "151",
"label": "Power Report Value Threshold",
"label": "Power Wattage Report Value Threshold",
"valueSize": 2,
"unit": "W",
"minValue": 0,
"maxValue": 65535,
"defaultValue": 50,
Expand Down Expand Up @@ -161,6 +202,30 @@
}
]
},
{
"#": "175",
"$if": "firmwareVersion >= 2.10",
"label": "Voltage Report Threshold",
"description": "Values: 0 – 255; 0 – disabled",
"valueSize": 1,
"unit": "V",
"minValue": 0,
"maxValue": 255,
"defaultValue": 10,
"unsigned": true
},
{
"#": "176",
"$if": "firmwareVersion >= 2.10",
"label": "Electrical Current Report Threshold",
"description": "Values: 0 – disabled; 1 – 65535",
"valueSize": 2,
"unit": "mA",
"minValue": 0,
"maxValue": 65535,
"defaultValue": 1000,
"unsigned": true
},
{
"#": "171",
"label": "Power Report Frequency",
Expand Down Expand Up @@ -208,7 +273,7 @@
},
{
"#": "174",
"label": "Electricity Report Frequency",
"label": "Electrical Current Report Frequency",
"valueSize": 4,
"unit": "seconds",
"minValue": 0,
Expand All @@ -220,6 +285,27 @@
"value": 0
}
]
},
{
"#": "30",
"$if": "firmwareVersion >= 1.3",
"$import": "~/templates/master_template.json#base_enable_disable",
"label": "Manual Control",
"description": "Disables manual control from the device itself"
},
{
"#": "31",
"$import": "~/templates/master_template.json#base_enable_disable",
"label": "Z-Wave ON Control",
"description": "Disables ON control from the hub",
"defaultValue": 1
},
{
"#": "32",
"$import": "~/templates/master_template.json#base_enable_disable",
"label": "Z-Wave OFF Control",
"description": "Disables OFF control from the hub",
"defaultValue": 1
}
],
"metadata": {
Expand Down
Loading