148 lines
2.7 KiB
JSON
148 lines
2.7 KiB
JSON
|
// Firmware versions
|
||
|
// 1.10 -> 1.20 -> (1.30 = 2.10)
|
||
|
|
||
|
// Conditionals:
|
||
|
// 800 series: firmwareVersion >= 2.10
|
||
|
|
||
|
{
|
||
|
"manufacturer": "Zooz",
|
||
|
"manufacturerId": "0x027a",
|
||
|
"label": [
|
||
|
{
|
||
|
"$if": "firmwareVersion >= 2.10",
|
||
|
"value": "ZEN04 800LR"
|
||
|
},
|
||
|
"ZEN04"
|
||
|
],
|
||
|
"description": "Indoor Smart Plug",
|
||
|
"devices": [
|
||
|
{
|
||
|
"productType": "0x7000",
|
||
|
"productId": "0xb002"
|
||
|
}
|
||
|
],
|
||
|
"firmwareVersion": {
|
||
|
"min": "0.0",
|
||
|
"max": "255.255"
|
||
|
},
|
||
|
"paramInformation": [
|
||
|
{
|
||
|
"#": "1",
|
||
|
"label": "LED Indicator",
|
||
|
"valueSize": 1,
|
||
|
"defaultValue": 0,
|
||
|
"allowManualEntry": false,
|
||
|
"options": [
|
||
|
{
|
||
|
"label": "On when load is on",
|
||
|
"value": 0
|
||
|
},
|
||
|
{
|
||
|
"label": "On when load is off",
|
||
|
"value": 1
|
||
|
},
|
||
|
{
|
||
|
"label": "Always off",
|
||
|
"value": 2
|
||
|
},
|
||
|
{
|
||
|
"label": "Always on",
|
||
|
"value": 3
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"#": "9",
|
||
|
"$import": "templates/zooz_template.json#led_indicator_brightness"
|
||
|
},
|
||
|
{
|
||
|
"#": "2",
|
||
|
"$import": "templates/zooz_template.json#auto_off_timer_duration"
|
||
|
},
|
||
|
{
|
||
|
"#": "3",
|
||
|
"$import": "templates/zooz_template.json#auto_on_timer_duration"
|
||
|
},
|
||
|
{
|
||
|
"#": "4",
|
||
|
"$import": "~/templates/master_template.json#state_after_power_failure_prev_off_on"
|
||
|
},
|
||
|
{
|
||
|
"#": "10",
|
||
|
"$if": "firmwareVersion >= 1.30",
|
||
|
"$import": "~/templates/master_template.json#base_enable_disable_inverted",
|
||
|
"label": "Power (W) Reporting",
|
||
|
"defaultValue": 0
|
||
|
},
|
||
|
{
|
||
|
"#": "5",
|
||
|
"label": "Power (W) Reporting Threshold",
|
||
|
"valueSize": 1,
|
||
|
"unit": "W",
|
||
|
"minValue": 5,
|
||
|
"maxValue": 50,
|
||
|
"defaultValue": 5
|
||
|
},
|
||
|
{
|
||
|
"#": "6",
|
||
|
"label": "Power (W) Reporting Interval",
|
||
|
"valueSize": 4,
|
||
|
"unit": "minutes",
|
||
|
"minValue": 1,
|
||
|
"maxValue": 65535,
|
||
|
"defaultValue": 5
|
||
|
},
|
||
|
{
|
||
|
"#": "11",
|
||
|
"$if": "firmwareVersion >= 1.30",
|
||
|
"$import": "~/templates/master_template.json#base_enable_disable_inverted",
|
||
|
"label": "Current (A) Reporting",
|
||
|
"defaultValue": 0
|
||
|
},
|
||
|
{
|
||
|
"#": "7",
|
||
|
"label": "Current (A) Reporting Threshold",
|
||
|
"valueSize": 1,
|
||
|
"unit": "0.1 A",
|
||
|
"minValue": 1,
|
||
|
"maxValue": 10,
|
||
|
"defaultValue": 1
|
||
|
},
|
||
|
{
|
||
|
"#": "12",
|
||
|
"$if": "firmwareVersion >= 1.30",
|
||
|
"label": "Current (A) Reporting Interval",
|
||
|
"valueSize": 4,
|
||
|
"unit": "minutes",
|
||
|
"minValue": 1,
|
||
|
"maxValue": 65535,
|
||
|
"defaultValue": 60
|
||
|
},
|
||
|
{
|
||
|
"#": "8",
|
||
|
"label": "Energy (kWh) Reporting Threshold",
|
||
|
"valueSize": 1,
|
||
|
"unit": "0.01 kWh",
|
||
|
"minValue": 1,
|
||
|
"maxValue": 100,
|
||
|
"defaultValue": 1
|
||
|
},
|
||
|
{
|
||
|
"#": "13",
|
||
|
"$if": "firmwareVersion >= 1.30",
|
||
|
"label": "Voltage Report (V) Interval",
|
||
|
"valueSize": 4,
|
||
|
"unit": "minutes",
|
||
|
"minValue": 0,
|
||
|
"maxValue": 65535,
|
||
|
"defaultValue": 60,
|
||
|
"options": [
|
||
|
{
|
||
|
"label": "Disabled",
|
||
|
"value": 0
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|