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 new parameters for ZEN15 800LR #7494

Closed
wants to merge 1 commit into from
Closed
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
74 changes: 73 additions & 1 deletion packages/config/config/devices/0x027a/zen15.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"manufacturer": "Zooz",
"manufacturerId": "0x027a",
"label": "ZEN15",
"label": [
{
"$if": "firmwareVersion >= 2.0",
"value": "ZEN15 800LR"
},
"ZEN15"
],
"description": "Power Switch",
"devices": [
{
Expand All @@ -17,10 +23,22 @@
"paramInformation": [
{
"#": "20",
"$if": "firmwareVersion < 2.10",
"$import": "~/templates/master_template.json#base_enable_disable",
"label": "Overload Protection",
"defaultValue": 1
},
{
"#": "20",
"$if": "firmwareVersion >= 2.10",
"label": "Overload Protection Delay",
"description": "This parameter was updated so that the ZEN15 will continue detecting the load power for the specified time below, and will shut off if the current exceeds 16.5A for more than the time specified in the value selected below",
"valueSize": 1,
"unit": "seconds",
"minValue": 2,
"maxValue": 5,
"defaultValue": 2
},
{
"#": "21",
"$import": "~/templates/master_template.json#state_after_power_failure_prev_on_off"
Expand Down Expand Up @@ -130,6 +148,24 @@
}
]
},
{
"#": "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 (10–65535 seconds).",
"valueSize": 2,
"unit": "seconds",
"minValue": 0,
"maxValue": 65535,
"defaultValue": 0,
"unsigned": true,
"options": [
{
"label": "Disabled",
"value": 0
}
]
},
{
"#": "151",
"label": "Power Report Value Threshold",
Expand Down Expand Up @@ -220,6 +256,42 @@
"value": 0
}
]
},
{
"#": "175",
"$if": "firmwareVersion >= 2.10",
"label": "Voltage Report Threshold",
"description" : "Choose the threshold the voltage needs to exceed from the last reported value for a new report to be sent to the hub.",
"valueSize": 1,
"unit": "V",
"minValue": 0,
"maxValue": 255,
"defaultValue": 10,
"unsigned": true,
"options": [
{
"label": "Disabled",
"value": 0
}
]
},
{
"#": "176",
"$if": "firmwareVersion >= 2.10",
"label": "Electrical Current Report Threshold",
"description" : "Choose the threshold the electrical current (Amps) voltage needs to exceed from the last reported value for a new report to be sent to the hub (1-65535 mA).",
"valueSize": 2,
"unit": "mA",
"minValue": 0,
"maxValue": 65535,
"defaultValue": 1000,
"unsigned": true,
"options": [
{
"label": "Disabled",
"value": 0
}
]
}
],
"metadata": {
Expand Down
Loading