Skip to content

Commit

Permalink
fix(config): update zooz_template.json with values for zen16 v2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeOriginal committed Dec 26, 2023
1 parent c80cfb0 commit 112e300
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 6 deletions.
72 changes: 72 additions & 0 deletions packages/config/config/devices/0x027a/templates/zooz_template.json
Original file line number Diff line number Diff line change
Expand Up @@ -909,6 +909,78 @@
{
"label": "Garage door (momentary mode for Z-Wave control)",
"value": 3
},
{
"label": "Leak alarm (water sensor)",
"value": 4
},
{
"label": "Heat alarm",
"value": 5
},
{
"label": "Motion alert",
"value": 6
},
{
"label": "Open/close alert (door sensor)",
"value": 7
},
{
"label": "CO alarm",
"value": 8
},
{
"label": "CO2 alarm",
"value": 9
},
{
"label": "On/off report (dry contact switch/sensor)",
"value": 10
},
{
"label": "Relay - garage door mode; input - door sensor",
"value": 11
}
]
},
"zen16_switch_invert_v2": {
"valueSize": 1,
"defaultValue": 0,
"unsigned": true,
"allowManualEntry": false,
"options": [
{
"label": "Values not reversed",
"value": 0
},
{
"label": "Leak alarm (water sensor)",
"value": 4
},
{
"label": "Heat alarm",
"value": 5
},
{
"label": "Motion alert",
"value": 6
},
{
"label": "Open/close alert (door sensor)",
"value": 7
},
{
"label": "CO alarm",
"value": 8
},
{
"label": "CO2 alarm",
"value": 9
},
{
"label": "On/off report (dry contact switch/sensor)",
"value": 10
}
]
},
Expand Down
12 changes: 6 additions & 6 deletions packages/config/config/devices/0x027a/zen16.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@
"#": "25",
"$if": "firmwareVersion >= 1.2",
"$import": "templates/zooz_template.json#zen16_switch_invert_v2",
"label": "Switch 1: Invert Value"
"description": "Invert the reported values for your selected switch type in Sw1 terminals (select the same value as you chose for parameter 2 to invert the values for open and closed circuit).",
"label": "Switch 1: Invert Value",
"description": "Invert the reported values for your selected switch type in Sw1 terminals (select the same value as you chose for parameter 2 to invert the values for open and closed circuit)."
},
{
"#": "3",
Expand All @@ -97,8 +97,8 @@
"#": "26",
"$if": "firmwareVersion >= 1.2",
"$import": "templates/zooz_template.json#zen16_switch_invert_v2",
"label": "Switch 2: Invert Value"
"description": "Invert the reported values for your selected switch type in Sw2 terminals (select the same value as you chose for parameter 3 to invert the values for open and closed circuit).",
"label": "Switch 2: Invert Value",
"description": "Invert the reported values for your selected switch type in Sw2 terminals (select the same value as you chose for parameter 3 to invert the values for open and closed circuit)."
},
{
"#": "4",
Expand All @@ -116,8 +116,8 @@
"#": "27",
"$if": "firmwareVersion >= 1.2",
"$import": "templates/zooz_template.json#zen16_switch_invert_v2",
"label": "Switch 3: Invert Value"
"description": "Invert the reported values for your selected switch type in Sw3 terminals (select the same value as you chose for parameter 4 to invert the values for open and closed circuit).",
"label": "Switch 3: Invert Value",
"description": "Invert the reported values for your selected switch type in Sw3 terminals (select the same value as you chose for parameter 4 to invert the values for open and closed circuit)."
},
{
"#": "5",
Expand Down

0 comments on commit 112e300

Please sign in to comment.