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): add ZSE70 device file; Add additional templates to Zooz template file #7490

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
152 changes: 152 additions & 0 deletions packages/config/config/devices/0x027a/templates/zooz_template.json
Original file line number Diff line number Diff line change
Expand Up @@ -1130,5 +1130,157 @@
"inclusion": "1. Initiate inclusion (pairing) in the app (or web interface).\n2. TAP UP 3 TIMES QUICKLY if using traditional Z-Wave inclusion. \nSCAN THE QR CODE / ENTER THE 5-DIGIT PIN if using the new SmartStart method. The SmartStart security PIN is located on the back of the relay, next to the Z-Wave Plus logo.\n3. The LED indicator will blink green to signal communication and turn green for 2 seconds if inclusion is successful or turn red for 2 seconds if the pairing attempt fails",
"exclusion": "1. Bring your Z-Wave gateway (hub) close to the relay if possible\n2. Put the Z-Wave hub into exclusion mode (not sure how to do that? ask@getzooz.com) \n3. Click the Z-Wave button on the relay 3 times quickly (the LED indicator will start blinking green)\n4. Your hub will confirm exclusion, the LED indicator on the relay will turn green for 2 seconds, and the device will disappear from your controller's device list",
"reset": "If your primary controller is missing or inoperable, you may need to reset the device to factory settings. To reset the relay, click the Z-Wave button twice and hold it for 15 seconds. The LED indicator will flash during the process and turn red for 3 seconds to confirm successful reset."
},
"battery_check_frequency": {
"label": "Battery Check Frequency",
"description": "Set how often you want the device to check battery power for changes (this is not a reporting frequency setting).",
"valueSize": 2,
"unit": "hours",
"minValue": 0,
"maxValue": 744,
"defaultValue": 4,
"options": [
{
"label": "Disable",
"value": 0
}
]
},
"temperature_check_frequency": {
"$import": "~/templates/master_template.json#base_0-65535",
"label": "Temperature Check Frequency​​​​​​​",
"description": "Set how often you want the device to check ambient temperature for changes (this is not a reporting frequency setting).",
"valueSize": 2,
"unit": "seconds",
"minValue": 0,
"maxValue": 600,
"defaultValue": 20,
"options": [
{
"label": "Disable",
"value": 0
}
]
},
"temperature_report_frequency": {
"$import": "~/templates/master_template.json#base_0-65535",
"label": "Temperature Reporting Frequency​",
"description": "Set the reporting interval for temperature. Values 1-43200 will send a report regardless of the threshold value selected in parameter 12.",
"valueSize": 2,
"unit": "seconds",
"minValue": 0,
"maxValue": 43200,
"defaultValue": 0,
"options": [
{
"label": "Disable",
"value": 0
}
]
},
"temperature_report_threshold": {
"$import": "~/templates/master_template.json#base_0-255_nounit",
"label": "Temperature Reporting Threshold​",
"description": "Set when you want the device to send temperature reports. This setting specifies the amount of F degree change the sensor needs to record in order for the device to send a new temperature report to the hub.",
"valueSize": 1,
"minValue": 0,
"maxValue": 144,
"defaultValue": 1,
"options": [
{
"label": "Disable",
"value": 0
}
]
},
"temperature_offset": {
"$import": "~/templates/master_template.json#base_0-255_nounit",
"label": "Temperature Offset​​​​​​​",
"description": "Set the temperature reporting offset. Value 100 is zero offset; values 0-99 decrease the value (ex: 56 means deduct 4.4 degrees from the measured value); values 101-200 increase the value (ex: value 121 means add 2.1 degree to the reported value). NOTE: Device must be factory reset to restore this value to default.",
"valueSize": 1,
"minValue": 0,
"maxValue": 200,
"defaultValue": 100
},
"lux_check_frequency": {
"$import": "~/templates/master_template.json#base_0-65535",
"label": "Lux Check Frequency",
"description": "Set how often you want the device to check lux level for changes (this is not a reporting frequency setting).",
"valueSize": 2,
"unit": "seconds",
"minValue": 0,
"maxValue": 600,
"defaultValue": 10,
"options": [
{
"label": "Disable",
"value": 0
}
]
},
"lux_report_frequency": {
"$import": "~/templates/master_template.json#base_0-65535",
"label": "Lux Reporting Frequency​",
"description": "Set the reporting interval for lux level. Values 1-43200 will send a report regardless of the threshold value selected in parameter 13.",
"valueSize": 2,
"unit": "seconds",
"minValue": 0,
"maxValue": 43200,
"defaultValue": 0,
"options": [
{
"label": "Disable",
"value": 0
}
]
},
"lux_report_threshold": {
"$import": "~/templates/master_template.json#base_0-65535",
"label": "Lux Reporting Threshold​",
"description": "Set when you want the device to send lux level reports. This setting specifies the amount of lux change the sensor needs to record in order for the device to send a new lux level report to the hub.",
"valueSize": 2,
"minValue": 0,
"maxValue": 30000,
"defaultValue": 50,
"options": [
{
"label": "Disable",
"value": 0
}
]
},
"lux_offset": {
"$import": "~/templates/master_template.json#base_0-255_nounit",
"label": "Lux Offset​​​​​​​",
"description": "Set the lux reporting offset. Value 100 is zero offset; values 0-99 decrease the value (ex: 75 means deduct 25 lux from the measured value); values 101-200 increase the value (ex: value 147 means add 47 lux to the measured value). NOTE: Device must be factory reset to restore this value to default.",
"valueSize": 1,
"minValue": 0,
"maxValue": 200,
"defaultValue": 100
},
"lux_level_trigger": {
"$import": "~/templates/master_template.json#base_0-65535",
"label": "Lux Level Trigger​",
"description": "Set the lux level trigger. If brightness level is lower than the set lux value, the sensor will send a motion event notification to the hub.",
"valueSize": 2,
"minValue": 0,
"maxValue": 30000,
"defaultValue": 0,
"options": [
{
"label": "Ignore",
"value": 0
}
]
},
"motion_clear_delay": {
"$import": "~/templates/master_template.json#base_0-65535",
"label": "Motion Clear Delay​​​​​​​",
"description": "The amount of time the device waits to send a motion clear notification after the last motion event is detected.",
"valueSize": 2,
"unit": "seconds",
"minValue": 10,
"maxValue": 3600,
"defaultValue": 30
}
}
155 changes: 155 additions & 0 deletions packages/config/config/devices/0x027a/zse70.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
{
"manufacturer": "Zooz",
"manufacturerId": "0x027a",
"label": "ZSE70",
"description": "Motion Sensor",
"devices": [
{
"productType": "0x0004",
"productId": "0x0006"
}
],
"firmwareVersion": {
"min": "0.0",
"max": "255.255"
},
"paramInformation": [
{
"#": "1",
"$import": "templates/zooz_template.json#motion_sensitivity_1_8",
"defaultValue": 6
},
{
"#": "2",
"$import": "templates/zooz_template.json#motion_clear_delay"
},
{
"#": "3",
"label": "Motion Detection: Basic Set Reporting",
"valueSize": 1,
"defaultValue": 7,
"allowManualEntry": false,
"options": [
{
"label": "Disable Basic Set reports",
"value": 0
},
{
"label": "Basic Set 0xFF for motion / Basic Set 0x00 for no motion",
"value": 1
},
{
"label": "Basic Set 0x00 for motion / Basic Set 0xFF for no motion",
"value": 2
},
{
"label": "Basic Set 0xFF for motion / No reports for no motion",
"value": 3
},
{
"label": "Basic Set 0x00 for motion / No reports for no motion",
"value": 4
},
{
"label": "No reports for motion / Basic Set 0x00 for no motion",
"value": 5
},
{
"label": "No reports for motion / Basic Set 0xFF for no motion",
"value": 6
},
{
"label": "Custom report for motion / Custom report for no motion (Set in parameter 4)",
"value": 7
}
]
},
{
"#": "4",
"label": "Custom Basic Set Reports",
"description": "High byte is the value sent when motion is detected, low byte is the value sent when motion is cleared. e.g:0x0A00 means: When motion is detected, Send Basic Set(0A) When motion is cleared, send Basic Set(00)",
"valueSize": 2,
"minValue": 0,
"maxValue": 65535,
"defaultValue": 65280,
"unsigned": true
},
{
"#": "5",
"$import": "~/templates/master_template.json#temperature_scale_celsius_fahrenheit",
"label": "Temperature Report Unit",
"defaultValue": 1
},
{
"#": "6",
"$import": "~/templates/master_template.json#led_indicator_two_options",
"label": "LED for Motion",
"description": "Decide whether you want the LED indicator to light up when motion is detected or not."
},
{
"#": "7",
"$import": "templates/zooz_template.json#low_battery_alarm_threshold",
"label": "Low Battery Alert",
"defaultValue": 10
},
{
"#": "8",
"$import": "templates/zooz_template.json#battery_check_frequency"
},
{
"#": "9",
"$import": "templates/zooz_template.json#temperature_check_frequency"
},
{
"#": "10",
"$import": "templates/zooz_template.json#lux_check_frequency"
},
{
"#": "11",
"$import": "templates/zooz_template.json#battery_report_threshold",
"minValue": 0,
"defaultValue": 2,
"options": [
{
"label": "Disable",
"value": 0
}
]
},
{
"#": "12",
"$import": "templates/zooz_template.json#temperature_report_threshold"
},
{
"#": "13",
"$import": "templates/zooz_template.json#lux_report_threshold"
},
{
"#": "14",
"$import": "templates/zooz_template.json#temperature_offset"
},
{
"#": "15",
"$import": "templates/zooz_template.json#lux_offset"
},
{
"#": "16",
"$import": "templates/zooz_template.json#lux_level_trigger"
},
{
"#": "17",
"$import": "templates/zooz_template.json#temperature_report_frequency"
},
{
"#": "18",
"$import": "templates/zooz_template.json#lux_report_frequency"
}
],
"metadata": {
"wakeup": "Press the Z-Wave button to wake the device up. The LED will start flashing.",
"inclusion": "1. Bring the sensor within direct range of your Z-Wave gateway (hub).\n2. Put the Z-Wave hub into inclusion mode.\n3. Press and release the Z-Wave button 3 times quickly. The LED indicator will start blinking fast and turn solid for a second to confirm inclusion.",
"exclusion": "1. Bring the sensor within direct range of your Z-Wave gateway controller (hub).\n2. Put the Z-Wave hub into exclusion mode.\n3. Press and release the Z-Wave button on the sensor 3 times as quickly as possible.\n4. Your hub will confirm exclusion and the device will disappear from your controller's device list.",
"reset": "To complete the reset process manually, press and HOLD the Z-Wave button on the sensor for at least 10 seconds. The LED indicator will start flashing blue and turn solid blue for a couple of seconds to indicate successful reset.",
"manual": "https://cdn.shopify.com/s/files/1/0218/7704/files/zooz-zse70-800lr-manual.pdf"
}
}
Loading