supported_modules:hs-wd200
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
supported_modules:hs-wd200 [2018/09/07 13:05] – James Sentman | supported_modules:hs-wd200 [2023/02/13 14:52] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 4: | Line 4: | ||
- | The HS-WD200+ is Home Seer’s latest wall dimmer. In addition to all the commands and support of the [[supported_modules: | + | The HS-WD200+ is Home Seer’s latest wall dimmer. In addition to all the commands and support of the [[supported_modules: |
- | ^Gesture^Code^ | + | |
- | |Single Click|128| | + | NOTE: as of Vera firmware version 1.7.4452 Vera Edge / 1.7.4453 Vera Plus / 1.7.4454 Vera Secure they have changed the gesture codes that are received from this switch. They are now the same as they were for the WD100+ dimmers with the addition of the extra multi-click supported. |
- | |Double Click|131| | + | |
- | |Triple Click|132| | + | The available Central Scene gesture codes on the WD200+ dimmers are: |
- | |Hold|130| | + | |
- | |Release of Hold|129| | + | ^Gesture^Code^Code Prior to 1.7.4 vera update^ |
- | |Quadruple Click|133| | + | |Single Click|0|128| |
- | |Pentuple Click|134| | + | |Double Click|3|131| |
+ | |Triple Click|4|132| | ||
+ | |Hold|2|130| | ||
+ | |Release of Hold|1|129| | ||
+ | |Quadruple Click|5|133| | ||
+ | |Pentuple Click|6|134| | ||
Line 26: | Line 31: | ||
on centralScene( theButton, theGesture) | on centralScene( theButton, theGesture) | ||
- | if theButton is equal to 1 then | + | if theButton is equal to “1" |
write log “the top paddle was pushed" | write log “the top paddle was pushed" | ||
| | ||
- | if theGesture is equal to 131 then | + | if theGesture is equal to “3" |
-- the switch was double clicked on | -- the switch was double clicked on | ||
write log “double click ON, turning on room lights" | write log “double click ON, turning on room lights" | ||
Line 38: | Line 43: | ||
end if | end if | ||
| | ||
- | else if theButton is equal to 2 then | + | else if theButton is equal to “2" |
write log “the bottom paddle was pushed" | write log “the bottom paddle was pushed" | ||
| | ||
- | if theGesture is equal to 131 then | + | if theGesture is equal to “3" |
write log “double click OFF. turning off the room lights" | write log “double click OFF. turning off the room lights" | ||
turnoff (thisUnit) | turnoff (thisUnit) | ||
Line 52: | Line 57: | ||
</ | </ | ||
- | ===Controlling the RGB LED’s=== | + | **Hubitat Notes:** |
+ | Note that with the current built in driver on the hubitat only tap and double tap are available. I am looking into the possibility of using a user created driver or creating one myself that will properly support that for us. At the moment you are limited to that. | ||
+ | |||
+ | ===Controlling the RGB LED’s | ||
+ | The hubitat and the vera have incompatible ways of sending such commands to the device so you must use a different method for the hubitat than the Vera did. | ||
+ | |||
+ | First make sure that the device in the Hubitat is setup to be using the built in Home Seer WD200+ Dimmer driver. Then make sure that the switch in the control page under preferences for that device labeled “Enable Status LEDs” is turned on and save the configuration if necessary. | ||
+ | |||
+ | |||
+ | The scripting command we use to send these commands is sendDeviceCommand which is sent directly to the unit like this: | ||
+ | |||
+ | < | ||
+ | tell xUnit “name of your WD200 dimmer” to sendDeviceCommand( “setStatusLED”, | ||
+ | </ | ||
+ | |||
+ | you will pass 2 parameters to the command as in the above example. The first is always the string “setStatusLED” and capitalization matters. The second is a comma separated list of 3 values. **it is important that you not place any spaces in this list** The first parameter is the LED number which should be 1-7. The second can be either a number or the name of the color. The valid values are: 0 or off, 1 or red, 2 or green, 3 or blue, 4 or magenta, 5 or yellow, 6 or cyan, 7 or white. The third is whether or not the led should blink. It must be either 0 or 1, or, on or off. Remember not to put any spaces in this list or the command will not be sent. | ||
+ | |||
+ | I have had a very issues with this. With the built in driver I cannot reliably get the indicator LED to stay off when no status LED’s are on. It may be necessary to use a user version of the device driver for this. I am still looking into that. | ||
+ | |||
+ | |||
+ | ===Controlling the RGB LED’s on the Vera=== | ||
The other new feature of the WD200+ is the ability to change the color of the LED’s that display the level, or to control the color and the flashing of them individually to give a status display. XTension 9.4.6 adds support for changing all those settings via the new [[supported_hardware: | The other new feature of the WD200+ is the ability to change the color of the LED’s that display the level, or to control the color and the flashing of them individually to give a status display. XTension 9.4.6 adds support for changing all those settings via the new [[supported_hardware: | ||
Line 82: | Line 107: | ||
- | The [[https:// | + | The [[https:// |
^parameter^Description^Value^Example^ | ^parameter^Description^Value^Example^ | ||
Line 99: | Line 124: | ||
|30| Flash Speed. Any of the LED’s can be assigned to flash or not flash. Only 1 flash speed is supported at a time via this parameter.|0=No Blinking, 1=100ms rate (fast blink) valid values from 0-255 but useful values are probably up to 10 or so.|setData( 30, 1, 1) sets a fast alert flash| | |30| Flash Speed. Any of the LED’s can be assigned to flash or not flash. Only 1 flash speed is supported at a time via this parameter.|0=No Blinking, 1=100ms rate (fast blink) valid values from 0-255 but useful values are probably up to 10 or so.|setData( 30, 1, 1) sets a fast alert flash| | ||
|31|Bitmask to turn on or off blinking for each LED. You could use the text to number command to build the bits.|valid values are from 0 to 127|setData( 31, 1, text to number “& | |31|Bitmask to turn on or off blinking for each LED. You could use the text to number command to build the bits.|valid values are from 0 to 127|setData( 31, 1, text to number “& | ||
- | |||
====Turning off all the lights==== | ====Turning off all the lights==== | ||
While there doesn’t seem to be a way to make the lights not show at all you can now do that with the status mode. Turnon the status mode instead of the level mode and just set every LED to off. | While there doesn’t seem to be a way to make the lights not show at all you can now do that with the status mode. Turnon the status mode instead of the level mode and just set every LED to off. |
supported_modules/hs-wd200.1536325540.txt.gz · Last modified: 2023/02/13 14:51 (external edit)