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 1 commit
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: 88 additions & 0 deletions packages/config/config/devices/0x027a/zen04.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,32 @@
},
{
"#": "5",
"$if": "firmwareVersion < 2.30",
"label": "Power (W) Reporting Threshold",
"description": "Choose how you want your Smart Plug to report power consumption to your hub. The number entered as value corresponds to the number of Watts the appliance needs to go over for the change to be reported. So if 5 Watts are entered by default, the Smart Plug will report any change in power usage over 5 Watts (whether it’s at least 5 Watts more or 5 Watts less compared to the previous report).",
"valueSize": 1,
"unit": "W",
"minValue": 5,
"maxValue": 50,
"defaultValue": 5
},
{
"#": "5",
"$if": "firmwareVersion >= 2.30",
"label": "Power (W) Reporting Threshold",
"description": "Choose how you want your Smart Plug to report power consumption to your hub. The number entered as value corresponds to the number of Watts the appliance needs to go over for the change to be reported. So if 5 Watts are entered by default, the Smart Plug will report any change in power usage over 5 Watts (whether it’s at least 5 Watts more or 5 Watts less compared to the previous report).",
"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 +120,32 @@
},
{
"#": "7",
"$if": "firmwareVersion < 2.30",
"label": "Current (A) Reporting Threshold",
"description": "Choose how you want your Smart Plug to report electrical current (Amps) to your hub. The number entered as value corresponds to the number of Amps the appliance needs to go over for the change to be reported. Value 1 equals 0.1 A and value 10 equals 1 A. So if 1 is entered by default, the Smart Plug will report any change in electrical current over 0.1 Amps (whether it’s at least 0.1 A more or 0.1 A less compared to the previous report).",
"valueSize": 1,
"unit": "0.1 A",
"minValue": 1,
"maxValue": 10,
"defaultValue": 1
},
{
"#": "7",
"$if": "firmwareVersion >= 2.30",
"label": "Current (A) Reporting Threshold",
"description": "Choose how you want your Smart Plug to report electrical current (Amps) to your hub. The number entered as value corresponds to the number of Amps the appliance needs to go over for the change to be reported. Value 1 equals 0.1 A and value 10 equals 1 A. So if 1 is entered by default, the Smart Plug will report any change in electrical current over 0.1 Amps (whether it’s at least 0.1 A more or 0.1 A less compared to the previous report).",
"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 +158,33 @@
},
{
"#": "8",
"$if": "firmwareVersion < 2.30",
"label": "Energy (kWh) Reporting Threshold",
"description": "Choose how you want your Smart Plug to report energy use (kWh) to your hub. The number entered as value corresponds to the number of kWh the appliance needs to go over for the change to be reported. Value 1 equals 0.01 kWh and value 100 equals 1 kWh. So if 1 is entered by default, the Smart Plug will report any change in energy use over 0.01 kWh (whether it’s at least 0.01 kWh more or 0.01 kWh less compared to the previous report).",
"valueSize": 1,
"unit": "0.01 kWh",
"minValue": 1,
"maxValue": 100,
"defaultValue": 1
},
{
"#": "8",
"$if": "firmwareVersion >= 2.30",
"label": "Energy (kWh) Reporting Threshold",
"description": "Choose how you want your Smart Plug to report energy use (kWh) to your hub. The number entered as value corresponds to the number of kWh the appliance needs to go over for the change to be reported. Value 1 equals 0.01 kWh and value 100 equals 1 kWh. So if 1 is entered by default, the Smart Plug will report any change in energy use over 0.01 kWh (whether it’s at least 0.01 kWh more or 0.01 kWh less compared to the previous report).",
"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 +200,36 @@
"value": 0
}
]
},
{
"#": "14",
"$if": "firmwareVersion >= 2.30",
"label": "kWh Report Frequency",
"description": "The number entered as a value corresponds to the number of minutes. So if 60 is entered by default, the Plug will report energy consumption (kWh) every 60 minutes.",
"valueSize": 4,
"unit": "minutes",
"minValue": 1,
"maxValue": 65535,
"defaultValue": 60
},
{
"#": "15",
"$if": "firmwareVersion >= 2.30",
"label": "Disable kWh Reports",
"description": "Disable or enable kWh reports sent from the plug. No kWh reports from the device connected to the plug will be sent back to the hub if kWh monitoring is disabled. Use this option to minimize the amount of reports you want the receive from the smart plug",
"valueSize": 1,
"defaultValue": 1,
"allowManualEntry": false,
"options": [
{
"label": "kWh reports enabled",
"value": 0
},
{
"label": "kWh reports disabled",
"value": 1
}
]
}
]
}
Loading