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): update Zooz ZEN20 with additional parameters 28 - 36 #4898

Merged
merged 16 commits into from Aug 10, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
83 changes: 75 additions & 8 deletions packages/config/config/devices/0x027a/zen20.json
Expand Up @@ -21,33 +21,51 @@
{
"#": "2",
"$import": "~/templates/master_template.json#base_0-65535",
"label": "Power Wattage Report Value Threshold",
"label": "Power (W) Report Threshold",
"unit": "W",
"defaultValue": 5
},
{
"#": "3",
"label": "Power Wattage Report Frequency",
"description": "The number entered as value corresponds to the number of seconds",
"unit": "Seconds",
"label": "Power (W) Report Interval",
"unit": "seconds",
"valueSize": 4,
"minValue": 5,
"maxValue": 2678400,
"defaultValue": 30
},
{
"#": "4",
"label": "Energy (kWh) Report Frequency",
"description": "Report interval of power consumption (W) to your controller (hub)",
"unit": "Seconds",
"label": "Energy (kWh) Report Interval",
"unit": "seconds",
"valueSize": 4,
"minValue": 5,
"maxValue": 2678400,
"defaultValue": 300
},
{
"#": "35",
"$if": "firmwareVersion >= 2.3",
"label": "Current (A) Report Interval",
"unit": "seconds",
"valueSize": 4,
"minValue": 5,
"maxValue": 2678400,
"defaultValue": 30
},
{
"#": "36",
"$if": "firmwareVersion >= 2.3",
"label": "Voltage (V) Report Interval",
"unit": "seconds",
"valueSize": 4,
"minValue": 5,
"maxValue": 2678400,
"defaultValue": 30
},
{
"#": "5",
"label": "Overload Protection",
"description": "Set the Watt level for overload protection to kick in",
"unit": "W",
"valueSize": 2,
"minValue": 0,
Expand Down Expand Up @@ -162,6 +180,55 @@
"#": "27",
"$import": "~/templates/master_template.json#led_indicator_three_options",
"defaultValue": 1
},
{
"#": "28",
"$if": "firmwareVersion >= 2.2",
"$import": "~/templates/master_template.json#base_enable_disable",
"label": "Power/Energy Monitoring",
"defaultValue": 1
},
{
"#": "29",
"$if": "firmwareVersion >= 2.2",
"$import": "~/templates/master_template.json#base_enable_disable",
"label": "Power/Energy Monitoring (Relay 1)",
"defaultValue": 1
},
{
"#": "30",
"$if": "firmwareVersion >= 2.2",
"$import": "~/templates/master_template.json#base_enable_disable",
"label": "Power/Energy Monitoring (Relay 2)",
"defaultValue": 1
},
{
"#": "31",
"$if": "firmwareVersion >= 2.2",
"$import": "~/templates/master_template.json#base_enable_disable",
"label": "Power/Energy Monitoring (Relay 3)",
"defaultValue": 1
},
{
"#": "32",
"$if": "firmwareVersion >= 2.2",
"$import": "~/templates/master_template.json#base_enable_disable",
"label": "Power/Energy Monitoring (Relay 4)",
"defaultValue": 1
},
{
"#": "33",
"$if": "firmwareVersion >= 2.2",
"$import": "~/templates/master_template.json#base_enable_disable",
"label": "Power/Energy Monitoring (Relay 5)",
"defaultValue": 1
},
{
"#": "34",
"$if": "firmwareVersion >= 2.2",
"$import": "~/templates/master_template.json#base_enable_disable",
"label": "Power/Energy Monitoring (USB)",
"defaultValue": 1
}
],
"compat": {
Expand Down