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

fix(config): correct config parameters for Minoston MP21ZD Dimmer Plug #6686

Merged
merged 3 commits into from
Jun 10, 2024
Merged
Show file tree
Hide file tree
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
56 changes: 20 additions & 36 deletions packages/config/config/devices/0x0312/mp21zd.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manufacturer": "Minoston",
"manufacturerId": "0x0312",
"label": "MP21ZD",
"description": "Smart Plug Dimmer",
"description": "Smart Plug Dimmer (800S)",
"devices": [
{
"productType": "0xff00",
Expand All @@ -24,24 +24,29 @@
"$import": "templates/minoston_template.json#auto_off_timer"
},
{
"#": "5",
"#": "6",
"$import": "templates/minoston_template.json#auto_on_timer"
},
{
"#": "7",
"$import": "templates/minoston_template.json#night_light_set"
},
{
"#": "8",
"$import": "~/templates/master_template.json#state_after_power_failure_prev_off_on"
"$import": "~/templates/master_template.json#state_after_power_failure_off_on_prev"
},
{
"#": "9",
"$import": "~/templates/master_template.json#dim_rate"
"$import": "templates/minoston_template.json#dim_speed_on_off"
},
{
"#": "10",
"$import": "~/templates/master_template.json#minimum_dim_level_0-99"
"$import": "templates/minoston_template.json#dim_speed_dimmer"
},
{
"#": "11",
"$import": "~/templates/master_template.json#maximum_dim_level_0-99",
"$import": "~/templates/master_template.json#minimum_dim_level_0-99",
"defaultValue": 10,
"options": [
{
"label": "Disable",
Expand All @@ -51,41 +56,20 @@
},
{
"#": "12",
"$import": "templates/minoston_template.json#double_tap_function"
},
{
"#": "15",
"$import": "~/templates/master_template.json#smart_switch_mode_0-2"
},
{
"#": "21",
"$import": "templates/minoston_template.json#report_state_when_local_control_disabled"
},
{
"#": "16",
"$import": "~/templates/master_template.json#dimming_speed_1-99_seconds"
},
{
"#": "20",
"$import": "templates/minoston_template.json#association_reports_basic_multilevel"
},
{
"#": "22",
"$import": "templates/minoston_template.json#night_mode_brightness"
},
{
"#": "23",
"$import": "templates/minoston_template.json#led_indicator_color"
},
{
"#": "26",
"$import": "templates/minoston_template.json#led_indicator_brightness"
"$import": "~/templates/master_template.json#maximum_dim_level_0-99",
"defaultValue": 99,
"options": [
{
"label": "Disable",
"value": 0
}
]
}
],
"metadata": {
"inclusion": "1. Refer to your primary controller instructions to process the inclusion / exclusion setup procedure.\n2. When prompted by your primary controller, click the button three times in one second",
"exclusion": "1. Refer to your primary controller instructions to process the inclusion / exclusion setup procedure.\n2. When prompted by your primary controller, click the button three times in one second",
"reset": "Press click Z-Wave button 3 times quickly, and hold for at least 10 seconds at the third time to restore the device to the factory\n(Node:Please use this procedure only when the network primary controller is missing or otherwise inoperable.)",
"manual": "https://products.z-wavealliance.org/ProductManual/File?folder=&filename=product_documents/4137/MP21ZD%20Manual-20210322.pdf"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This link opens a manual for the Minoston MP21ZS, not a MP21ZD

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minoston offers a 700 and 800 series version of this plug, but both versions have the same parameter set reflected by this PR.

"manual": "https://cdn-files.myshopline.com/file/store/1701829637050/MP21ZD(800-Series)-Manual.pdf"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,57 @@
"defaultValue": 20,
"unsigned": true
},
"night_light_set": {
"label": "Night Light Brightness Level",
"description": "Sets a specific brightness for the light when you want to make it as a night light",
"valueSize": 1,
"minValue": 1,
"maxValue": 10,
"defaultValue": 2,
"unsigned": true,
"options": [
{
"label": "10%",
"value": 1
},
{
"label": "20%",
"value": 2
},
{
"label": "30%",
"value": 3
},
{
"label": "40%",
"value": 4
},
{
"label": "50%",
"value": 5
},
{
"label": "60%",
"value": 6
},
{
"label": "70%",
"value": 7
},
{
"label": "80%",
"value": 8
},
{
"label": "90%",
"value": 9
},
{
"label": "100%",
"value": 10
}
]
},
"external_switch_type_two_options": {
"label": "External Switch Type",
"valueSize": 1,
Expand Down Expand Up @@ -533,5 +584,31 @@
"value": 0
}
]
},
"dim_speed_on_off": {
"label": "Dimmer Speed (On/Off Control)",
"description": "Sets the time (seconds) from maximum brightness to minimum brightness or minimum brightness to maximum brightness",
"valueSize": 1,
"unit": "seconds",
"minValue": 0,
"maxValue": 10,
"defaultValue": 2,
"unsigned": true,
"options": [
{
"label": "Instant on/off",
"value": 0
}
]
},
"dim_speed_dimmer": {
"label": "Dimmer Speed (Dimmer Control)",
"description": "Sets the time (seconds) from maximum brightness to minimum brightness or minimum brightness to maximum brightness",
"valueSize": 1,
"unit": "seconds",
"minValue": 1,
"maxValue": 10,
"defaultValue": 4,
"unsigned": true
}
}
Loading