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 new Leviton 800 series devices #6757

Merged
merged 1 commit into from
Apr 10, 2024
Merged
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
8 changes: 4 additions & 4 deletions packages/config/config/devices/0x001d/914trl.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@
"paramInformation": [
{
"#": "40",
"$import": "templates/config_template.json#factory_default"
"$import": "templates/leviton_template.json#factory_default"
},
{
"#": "31[0x100000]",
"$import": "templates/config_template.json#auto_buzz"
"$import": "templates/leviton_template.json#auto_buzz"
},
{
"#": "31[0x01000000]",
"$import": "templates/config_template.json#auto_lock"
"$import": "templates/leviton_template.json#auto_lock"
},
{
"#": "31[0x10000000]",
"$import": "templates/config_template.json#led_status"
"$import": "templates/leviton_template.json#led_status"
}
]
}
2 changes: 1 addition & 1 deletion packages/config/config/devices/0x001d/dz15s.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"paramInformation": [
{
"#": "7",
"$import": "templates/config_template.json#locator_led"
"$import": "templates/leviton_template.json#locator_led"
}
],
"metadata": {
Expand Down
12 changes: 6 additions & 6 deletions packages/config/config/devices/0x001d/dz1kd.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
"paramInformation": [
{
"#": "1",
"$import": "templates/config_template.json#fade_on_time"
"$import": "templates/leviton_template.json#fade_on_time"
},
{
"#": "2",
"$import": "templates/config_template.json#fade_off_time"
"$import": "templates/leviton_template.json#fade_off_time"
},
{
"#": "3",
Expand All @@ -33,19 +33,19 @@
},
{
"#": "5",
"$import": "templates/config_template.json#preset_level"
"$import": "templates/leviton_template.json#preset_level"
},
{
"#": "6",
"$import": "templates/config_template.json#led_timeout"
"$import": "templates/leviton_template.json#led_timeout"
},
{
"#": "7",
"$import": "templates/config_template.json#locator_led"
"$import": "templates/leviton_template.json#locator_led"
},
{
"#": "8",
"$import": "templates/config_template.json#load_type"
"$import": "templates/leviton_template.json#load_type"
}
]
}
12 changes: 6 additions & 6 deletions packages/config/config/devices/0x001d/dz6hd.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
"paramInformation": [
{
"#": "1",
"$import": "templates/config_template.json#fade_on_time"
"$import": "templates/leviton_template.json#fade_on_time"
},
{
"#": "2",
"$import": "templates/config_template.json#fade_off_time"
"$import": "templates/leviton_template.json#fade_off_time"
},
{
"#": "3",
Expand All @@ -33,19 +33,19 @@
},
{
"#": "5",
"$import": "templates/config_template.json#preset_level"
"$import": "templates/leviton_template.json#preset_level"
},
{
"#": "6",
"$import": "templates/config_template.json#led_timeout"
"$import": "templates/leviton_template.json#led_timeout"
},
{
"#": "7",
"$import": "templates/config_template.json#locator_led"
"$import": "templates/leviton_template.json#locator_led"
},
{
"#": "8",
"$import": "templates/config_template.json#load_type"
"$import": "templates/leviton_template.json#load_type"
}
],
"metadata": {
Expand Down
2 changes: 1 addition & 1 deletion packages/config/config/devices/0x001d/dzpa1.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"paramInformation": [
{
"#": "7",
"$import": "templates/config_template.json#locator_led"
"$import": "templates/leviton_template.json#locator_led"
}
]
}
8 changes: 4 additions & 4 deletions packages/config/config/devices/0x001d/dzpd3.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
"paramInformation": [
{
"#": "1",
"$import": "templates/config_template.json#fade_on_time"
"$import": "templates/leviton_template.json#fade_on_time"
},
{
"#": "2",
"$import": "templates/config_template.json#fade_off_time"
"$import": "templates/leviton_template.json#fade_off_time"
},
{
"#": "3",
Expand All @@ -44,11 +44,11 @@
},
{
"#": "7",
"$import": "templates/config_template.json#locator_led"
"$import": "templates/leviton_template.json#locator_led"
},
{
"#": "8",
"$import": "templates/config_template.json#load_type"
"$import": "templates/leviton_template.json#load_type"
}
],
"metadata": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,5 +159,148 @@
"value": 0
}
]
},
// Templates for the 800 series
"fade_on_time_800_series": {
"label": "Fade On Time",
"description": "Values 1-127 = seconds; 128-253 = minutes (minus 127)",
"valueSize": 4,
"minValue": 0,
"maxValue": 253,
"defaultValue": 2,
"unsigned": true,
"options": [
{
"label": "Instant on",
"value": 0
}
]
},
"fade_off_time_800_series": {
"label": "Fade Off Time",
"description": "Values 1-127 = seconds; 128-253 = minutes (minus 127)",
"valueSize": 4,
"minValue": 0,
"maxValue": 253,
"defaultValue": 2,
"unsigned": true,
"options": [
{
"label": "Instant off",
"value": 0
}
]
},
"minimum_dim_level_800_series": {
"label": "Minimum Dim Level",
"valueSize": 4,
"minValue": 0,
"maxValue": 99,
"defaultValue": 10
},
"maximum_dim_level_800_series": {
"label": "Maximum Dim Level",
"valueSize": 4,
"minValue": 0,
"maxValue": 99,
"defaultValue": 99
},
"preset_level_800_series": {
"label": "Initial Dim Level",
"valueSize": 4,
"minValue": 0,
"maxValue": 99,
"defaultValue": 0,
"options": [
{
"label": "Last dim level",
"value": 0
}
]
},
"led_timeout_800_series": {
"label": "LED Dim Level Indicator Timeout",
"description": "How long the level indicators should stay illuminated after the dimming level is changed",
"valueSize": 4,
"unit": "seconds",
"minValue": 0,
"maxValue": 255,
"defaultValue": 3,
"unsigned": true,
"options": [
{
"label": "Always Off",
"value": 0
},
{
"label": "Always On",
"value": 255
}
]
},
"status_led_800_series": {
"label": "Status LED",
"valueSize": 4,
"defaultValue": 255,
"unsigned": true,
"allowManualEntry": false,
"options": [
{
"label": "LED always off",
"value": 0
},
{
"label": "LED on when load is on",
"value": 254
},
{
"label": "LED on when load is off",
"value": 255
}
]
},
"load_type_800_series": {
"label": "Load Type",
"valueSize": 4,
"defaultValue": 1,
"allowManualEntry": false,
"options": [
{
"label": "Incandescent",
"value": 0
},
{
"label": "LED",
"value": 1
},
{
"label": "CFL",
"value": 2
},
{
"label": "MLV",
"value": 3
}
]
},
"control_timing": {
"label": "Control Timing",
"valueSize": 4,
"defaultValue": 0,
"allowManualEntry": false,
"options": [
{
"label": "Normal",
"value": 0
},
{
"label": "Medium",
"value": 1
},
{
"label": "Extended",
"value": 2
}
]
}
}
2 changes: 1 addition & 1 deletion packages/config/config/devices/0x001d/vrp15.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"paramInformation": [
{
"#": "7",
"$import": "templates/config_template.json#locator_led"
"$import": "templates/leviton_template.json#locator_led"
}
]
}
8 changes: 4 additions & 4 deletions packages/config/config/devices/0x001d/vrpd3.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
"paramInformation": [
{
"#": "1",
"$import": "templates/config_template.json#fade_on_time"
"$import": "templates/leviton_template.json#fade_on_time"
},
{
"#": "2",
"$import": "templates/config_template.json#fade_off_time"
"$import": "templates/leviton_template.json#fade_off_time"
},
{
"#": "3",
Expand All @@ -48,11 +48,11 @@
},
{
"#": "7",
"$import": "templates/config_template.json#locator_led"
"$import": "templates/leviton_template.json#locator_led"
},
{
"#": "8",
"$import": "templates/config_template.json#load_type"
"$import": "templates/leviton_template.json#load_type"
}
],
"metadata": {
Expand Down
2 changes: 1 addition & 1 deletion packages/config/config/devices/0x001d/zw15r.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"paramInformation": [
{
"#": "7",
"$import": "templates/config_template.json#locator_led"
"$import": "templates/leviton_template.json#locator_led"
}
],
"metadata": {
Expand Down
29 changes: 29 additions & 0 deletions packages/config/config/devices/0x001d/zw15s.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"manufacturer": "Leviton",
"manufacturerId": "0x001d",
"label": "ZW15S",
"description": "Decora Smart 800 Series Switch",
"devices": [
{
"productType": "0x0042",
"productId": "0x0002",
"zwaveAllianceId": 5007
}
],
"firmwareVersion": {
"min": "0.0",
"max": "255.255"
},
"paramInformation": [
{
"#": "7",
"$import": "templates/leviton_template.json#status_led_800_series"
}
],
"metadata": {
"inclusion": "For older controllers, Classic Inclusion is supported.\nDepending on the age of the controller it may need to be 3 to 35 feet from the device when including.\n1. Enter setup mode (see page 10).\n2. Follow the Z-Wave controller instructions to enter inclusion mode.\n3. Tap the top rocker 1 time, the Status LED will quickly flash GREEN.\n4. The Z-Wave controller will confirm successful inclusion to the Z-Wave network",
"exclusion": "The Exclusion command found in the Z-Wave controller is used as a best practice for removing devices from a Z-Wave network.\n1. Enter setup mode (see page 10).\n2. Follow the Z-Wave controller instructions to enter exclusion mode.\n3. Tap the top rocker 1 time, the Status LED will quickly flash GREEN.\n4. The Z-Wave controller will confirm successful exclusion from the Z-Wave network",
"reset": "When removing a Z-Wave device from the network, it is best practice to use the exclusion process. In situations where a device needs to be returned to factory default settings, follow the steps below. Please use this procedure only when the network primary controller is missing or otherwise inoperable.\n1. Hold the top rocker for 14 seconds: After the first 7 seconds, the Status LED will turn AMBER. Continue holding until the Status LED flashes RED/AMBER then release.\n2. The device will reset",
"manual": "https://products.z-wavealliance.org/ProductManual/File?folder=&filename=cert_portal/certs/997/DI-000-ZW15S-02A-X7.pdf"
}
}
6 changes: 3 additions & 3 deletions packages/config/config/devices/0x001d/zw4sf.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@
},
{
"#": "5",
"$import": "templates/config_template.json#preset_level"
"$import": "templates/leviton_template.json#preset_level"
},
{
"#": "6",
"$import": "templates/config_template.json#led_timeout"
"$import": "templates/leviton_template.json#led_timeout"
},
{
"#": "7",
"$import": "templates/config_template.json#locator_led"
"$import": "templates/leviton_template.json#locator_led"
}
],
"metadata": {
Expand Down
Loading
Loading