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 ZEN04 with params new in firmware 2.30 #7538

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
88 changes: 81 additions & 7 deletions packages/config/config/devices/0x027a/zen04.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@
{
"manufacturer": "Zooz",
"manufacturerId": "0x027a",
"label": [
{
"$if": "firmwareVersion >= 2.10",
"value": "ZEN04 800LR"
},
"ZEN04"
],
"label": "ZEN04",
"description": "Indoor Smart Plug",
"devices": [
{
Expand Down Expand Up @@ -76,13 +70,30 @@
},
{
"#": "5",
"$if": "firmwareVersion < 2.30",
"label": "Power (W) Reporting Threshold",
"valueSize": 1,
"unit": "W",
"minValue": 5,
"maxValue": 50,
"defaultValue": 5
},
{
"#": "5",
"$if": "firmwareVersion >= 2.30",
"label": "Power (W) Reporting Threshold",
"valueSize": 1,
"unit": "W",
"minValue": 0,
"maxValue": 100,
"defaultValue": 5,
"options": [
{
"label": "Disabled",
"value": 0
}
]
},
{
"#": "6",
"label": "Power (W) Reporting Interval",
Expand All @@ -101,13 +112,30 @@
},
{
"#": "7",
"$if": "firmwareVersion < 2.30",
"label": "Current (A) Reporting Threshold",
"valueSize": 1,
"unit": "0.1 A",
"minValue": 1,
"maxValue": 10,
"defaultValue": 1
},
{
"#": "7",
"$if": "firmwareVersion >= 2.30",
"label": "Current (A) Reporting Threshold",
"valueSize": 1,
"unit": "0.1 A",
"minValue": 0,
"maxValue": 50,
"defaultValue": 1,
"options": [
{
"label": "Disabled",
"value": 0
}
]
},
{
"#": "12",
"$if": "firmwareVersion >= 1.30",
Expand All @@ -120,13 +148,31 @@
},
{
"#": "8",
"$if": "firmwareVersion < 2.30",
"label": "Energy (kWh) Reporting Threshold",
"valueSize": 1,
"unit": "0.01 kWh",
"minValue": 1,
"maxValue": 100,
"defaultValue": 1
},
{
"#": "8",
"$if": "firmwareVersion >= 2.30",
"label": "Energy (kWh) Reporting Threshold",
"valueSize": 1,
"unit": "0.01 kWh",
"minValue": 0,
"maxValue": 200,
"defaultValue": 1,
"unsigned": true,
"options": [
{
"label": "Disabled",
"value": 0
}
]
},
{
"#": "13",
"$if": "firmwareVersion >= 1.30",
Expand All @@ -142,6 +188,34 @@
"value": 0
}
]
},
{
"#": "14",
"$if": "firmwareVersion >= 2.30",
"label": "kWh Report Frequency",
"valueSize": 4,
"unit": "minutes",
"minValue": 1,
"maxValue": 65535,
"defaultValue": 60
},
{
"#": "15",
"$if": "firmwareVersion >= 2.30",
"label": "Disable kWh Reports",
"valueSize": 1,
"defaultValue": 1,
"allowManualEntry": false,
"options": [
{
"label": "kWh reports enabled",
"value": 0
},
{
"label": "kWh reports disabled",
"value": 1
}
]
}
]
}
Loading