-
Notifications
You must be signed in to change notification settings - Fork 469
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
Adding Support for Inovelli VZM31-SN Blue 2-1 Dimmer Switch #1497
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
148912e
Adding Support for Inovelli VZM31-SN Blue 2-1 Dimmer Switch
erocm123 6e62fa7
Adding Support for Inovelli VZM31-SN Blue 2-1 Dimmer Switch
erocm123 ed5f9dc
Adding Support for Inovelli VZM31-SN Blue 2-1 Dimmer Switch
erocm123 0a6ac32
Changing copyright line
erocm123 0a2d07c
Removing some parameters to simplify driver
erocm123 5131907
Removing auto off timer as per request. It is included as part of
erocm123 8d4ab6a
Applying recommendations from ST from September 9 2024
erocm123 a90a605
Delete child-notification.yml
erocm123 8d2819b
Removing unused variable
erocm123 b130f48
Merge branch 'main' into main
lelandblue 2973378
Merge branch 'main' into main
lelandblue 0f7f354
Merge branch 'main' into main
lelandblue 030e6ad
Merge branch 'main' into main
lelandblue 436c927
Merge branch 'main' into main
lelandblue 7c502a5
Merge branch 'main' into main
lelandblue File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
269 changes: 269 additions & 0 deletions
269
drivers/SmartThings/zigbee-switch/profiles/inovelli-vzm31-sn.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,269 @@ | ||
name: inovelli-vzm31-sn | ||
components: | ||
- id: main | ||
capabilities: | ||
- id: switch | ||
version: 1 | ||
- id: switchLevel | ||
version: 1 | ||
- id: powerMeter | ||
version: 1 | ||
- id: energyMeter | ||
version: 1 | ||
- id: refresh | ||
version: 1 | ||
- id: configuration | ||
version: 1 | ||
- id: firmwareUpdate | ||
version: 1 | ||
categories: | ||
- name: Switch | ||
- id: button1 | ||
label: Down Button | ||
capabilities: | ||
- id: button | ||
version: 1 | ||
categories: | ||
- name: RemoteController | ||
- id: button2 | ||
label: Up Button | ||
capabilities: | ||
- id: button | ||
version: 1 | ||
categories: | ||
- name: RemoteController | ||
- id: button3 | ||
label: Config Button | ||
capabilities: | ||
- id: button | ||
version: 1 | ||
categories: | ||
- name: RemoteController | ||
preferences: | ||
- name: "notificationChild" | ||
title: "Add Child Device - Notification" | ||
description: "Create Separate Child Device for Notification Control" | ||
required: false | ||
preferenceType: boolean | ||
definition: | ||
default: false | ||
- name: "notificationType" | ||
title: "Notification Effect" | ||
description: "This is the notification effect used by the notification child device" | ||
required: false | ||
preferenceType: enumeration | ||
definition: | ||
options: | ||
"255": "Clear" | ||
"1": "Solid" | ||
"2": "Fast Blink" | ||
"3": "Slow Blink" | ||
"4": "Pulse" | ||
"5": "Chase" | ||
"6": "Open/Close" | ||
"7": "Small-to-Big" | ||
"8": "Aurora" | ||
"9": "Slow Falling" | ||
"10": "Medium Falling" | ||
"11": "Fast Falling" | ||
"12": "Slow Rising" | ||
"13": "Medium Rising" | ||
"14": "Fast Rising" | ||
"15": "Medium Blink" | ||
"16": "Slow Chase" | ||
"17": "Fast Chase" | ||
"18": "Fast Siren" | ||
"19": "Slow Siren" | ||
default: 1 | ||
- name: "parameter258" | ||
title: "258. Switch Mode" | ||
description: "Use as a Dimmer or an On/Off switch" | ||
required: false | ||
preferenceType: enumeration | ||
definition: | ||
options: | ||
"0": "Dimmer" | ||
"1": "On/Off (default)" | ||
default: 1 | ||
- name: "parameter22" | ||
title: "22. Aux Switch Type" | ||
description: "Set the Aux switch type. Smart Bulb Mode does not work in Dumb 3-Way Switch mode." | ||
required: false | ||
preferenceType: enumeration | ||
definition: | ||
options: | ||
"0": "None (default)" | ||
"1": "3-Way Dumb Switch" | ||
"2": "3-Way Aux Switch" | ||
"3": "Full Sine Wave (fw 2.11+)" | ||
default: 0 | ||
- name: "parameter52" | ||
title: "52. Smart Bulb Mode" | ||
description: "For use with Smart Bulbs that need constant power and are controlled via commands rather than power. Smart Bulb Mode does not work in Dumb 3-Way Switch mode." | ||
required: false | ||
preferenceType: enumeration | ||
definition: | ||
options: | ||
"0": "Disabled (default)" | ||
"1": "Smart Bulb Mode" | ||
default: 0 | ||
- name: "parameter1" | ||
title: "1. Dimming Speed (Remote)" | ||
description: "This changes the speed that the light dims up when controlled from the hub. A setting of '0' turns the light immediately on. Increasing the value slows down the transition speed. Value is multiplied by 100ms. | ||
Default=25 (2500ms or 2.5s)" | ||
required: false | ||
preferenceType: number | ||
definition: | ||
minimum: 0 | ||
maximum: 126 | ||
default: 25 | ||
- name: "parameter2" | ||
title: "2. Dimming Speed (Local)" | ||
description: "This changes the speed that the light dims up when controlled at the switch. A setting of '0' turns the light immediately on. Increasing the value slows down the transition speed. Value is multiplied by 100ms. | ||
(i.e 25 = 2500ms or 2.5s) Default=127 (Sync with parameter 1)" | ||
required: false | ||
preferenceType: number | ||
definition: | ||
minimum: 0 | ||
maximum: 127 | ||
default: 127 | ||
- name: "parameter3" | ||
title: "3. Ramp Rate (Remote)" | ||
description: "This changes the speed that the light turns on when controlled from the hub. A setting of '0' turns the light immediately on. Increasing the value slows down the transition speed. Value is multiplied by 100ms. | ||
(i.e 25 = 2500ms or 2.5s) Default=127 (Sync with parameter 1)" | ||
required: false | ||
preferenceType: number | ||
definition: | ||
minimum: 0 | ||
maximum: 127 | ||
default: 127 | ||
- name: "parameter4" | ||
title: "4. Ramp Rate (Local)" | ||
description: "This changes the speed that the light turns on when controlled at the switch. A setting of '0' turns the light immediately on. Increasing the value slows down the transition speed. Value is multiplied by 100ms. | ||
(i.e 25 = 2500ms or 2.5s) Default=127 (Sync with parameter 3)" | ||
required: false | ||
preferenceType: number | ||
definition: | ||
minimum: 0 | ||
maximum: 127 | ||
default: 127 | ||
- name: "parameter9" | ||
title: "9. Minimum Level" | ||
description: "The minimum level that the light can be dimmed. Useful when the user has a light that does not turn on or flickers at a lower level." | ||
required: false | ||
preferenceType: number | ||
definition: | ||
minimum: 1 | ||
maximum: 99 | ||
default: 1 | ||
- name: "parameter10" | ||
title: "10. Maximum Level" | ||
description: "The maximum level that the light can be dimmed. Useful when the user wants to limit the maximum brighness." | ||
required: false | ||
preferenceType: number | ||
definition: | ||
minimum: 2 | ||
maximum: 100 | ||
default: 100 | ||
- name: "parameter11" | ||
title: "11. Invert Switch" | ||
description: "Inverts the orientation of the switch. Useful when the switch is installed upside down. Essentially up becomes down and down becomes up." | ||
required: false | ||
preferenceType: enumeration | ||
definition: | ||
options: | ||
"0": "No (default)" | ||
"1": "Yes" | ||
default: 0 | ||
- name: "parameter15" | ||
title: "15. Level After Power Restored" | ||
description: "The level the switch will return to when power is restored after power failure. | ||
0=Off | ||
1-100=Set Level | ||
101=Use previous level." | ||
required: false | ||
preferenceType: number | ||
definition: | ||
minimum: 0 | ||
maximum: 101 | ||
default: 101 | ||
- name: "parameter17" | ||
title: "17. Load Level Indicator Timeout" | ||
description: "Shows the level that the load is at for x number of seconds after the load is adjusted and then returns to the Default LED state." | ||
required: false | ||
preferenceType: enumeration | ||
definition: | ||
options: | ||
"0": "Do not display Load Level" | ||
"1": "1 Second" | ||
"2": "2 Seconds" | ||
"3": "3 Seconds" | ||
"4": "4 Seconds" | ||
"5": "5 Seconds" | ||
"6": "6 Seconds" | ||
"7": "7 Seconds" | ||
"8": "8 Seconds" | ||
"9": "9 Seconds" | ||
"10": "10 Seconds" | ||
"11": "Display Load Level with no timeout" | ||
default: 11 | ||
- name: "parameter95" | ||
title: "95. LED Indicator Color (w/On)" | ||
description: "Set the color of the Full LED Indicator when the load is on." | ||
required: false | ||
preferenceType: enumeration | ||
definition: | ||
options: | ||
"0": "Red" | ||
"7": "Orange" | ||
"28": "Lemon" | ||
"64": "Lime" | ||
"85": "Green" | ||
"106": "Teal" | ||
"127": "Cyan" | ||
"148": "Aqua" | ||
"170": "Blue (default)" | ||
"190": "Violet" | ||
"212": "Magenta" | ||
"234": "Pink" | ||
"255": "White" | ||
default: 170 | ||
- name: "parameter96" | ||
title: "96. LED Indicator Color (w/Off)" | ||
description: "Set the color of the Full LED Indicator when the load is off." | ||
required: false | ||
preferenceType: enumeration | ||
definition: | ||
options: | ||
"0": "Red" | ||
"7": "Orange" | ||
"28": "Lemon" | ||
"64": "Lime" | ||
"85": "Green" | ||
"106": "Teal" | ||
"127": "Cyan" | ||
"148": "Aqua" | ||
"170": "Blue (default)" | ||
"190": "Violet" | ||
"212": "Magenta" | ||
"234": "Pink" | ||
"255": "White" | ||
default: 170 | ||
- name: "parameter97" | ||
title: "97. LED Indicator Intensity (w/On)" | ||
description: "Set the intensity of the Full LED Indicator when the load is on." | ||
required: false | ||
preferenceType: number | ||
definition: | ||
minimum: 0 | ||
maximum: 100 | ||
default: 50 | ||
- name: "parameter98" | ||
title: "98. LED Indicator Intensity (w/Off)" | ||
description: "Set the intensity of the Full LED Indicator when the load is off." | ||
required: false | ||
preferenceType: number | ||
definition: | ||
minimum: 0 | ||
maximum: 100 | ||
default: 5 |
22 changes: 22 additions & 0 deletions
22
drivers/SmartThings/zigbee-switch/profiles/rgbw-bulb-2700K-6500K.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: rgbw-bulb-2700K-6500K | ||
components: | ||
- id: main | ||
capabilities: | ||
- id: switch | ||
version: 1 | ||
- id: switchLevel | ||
version: 1 | ||
- id: colorTemperature | ||
version: 1 | ||
config: | ||
values: | ||
- key: "colorTemperature.value" | ||
range: [ 2700, 6500 ] | ||
- id: colorControl | ||
version: 1 | ||
- id: firmwareUpdate | ||
version: 1 | ||
- id: refresh | ||
version: 1 | ||
categories: | ||
- name: Light |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One suggestion I would make would just be to unify all 4 of these parameters into 1 that controls the transition speed in all scenarios.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We actually have 8 settings for this functionality so I have already consolidated it somewhat. I was told to try to use the same settings as what is in our red series driver that is already in the repo:
SmartThingsEdgeDrivers/drivers/SmartThings/zwave-switch/profiles/inovelli-dimmer-power-energy.yml
Line 48 in 2125c84
SmartThingsEdgeDrivers/drivers/SmartThings/zwave-switch/profiles/inovelli-dimmer-power-energy.yml
Line 98 in 2125c84
SmartThingsEdgeDrivers/drivers/SmartThings/zwave-switch/profiles/inovelli-dimmer-power-energy.yml
Line 108 in 2125c84
SmartThingsEdgeDrivers/drivers/SmartThings/zwave-switch/profiles/inovelli-dimmer-power-energy.yml
Line 118 in 2125c84
SmartThingsEdgeDrivers/drivers/SmartThings/zwave-switch/profiles/inovelli-dimmer-power-energy.yml
Line 155 in 2125c84