User Tools

Site Tools


supported_modules:hs-wd200

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
supported_modules:hs-wd200 [2018/07/09 13:53] – added the actual central scene codes that this has beyond the wd100 James Sentmansupported_modules:hs-wd200 [2019/04/29 15:33] – updated gesture codes for new vera update James Sentman
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:hs-wd100|WD100+]] dimmer it adds 2 more central scene gestures. It can send us the 4 click and the 5 click gestures. See the article on the WD100 for more info on it’s central scene handling and how to work with that in XTension. The new Central Scene codes are:+The HS-WD200+ is Home Seer’s latest wall dimmer. In addition to all the commands and support of the [[supported_modules:hs-wd100|WD100+]] dimmer it adds 2 more central scene gestures. Note that the gesture codes are different between the 2 switches however. It can send us the 4 click and the 5 click gestures. See the article on the [[supported_modules:hs-wd100|WD100]] for more info on it’s central scene handling and how to work with that in XTension. 
  
-^Gesture^Code^ 
-|Quadruple Click|133| 
-|Pentuple Click|134| 
  
-visit the hs-wd100+ article for the rest of the codes and more discussion of the capabilities of this family of dimmers and switches.+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.
  
 +The available Central Scene gesture codes on the WD200+ dimmers are:
 +
 +^Gesture^Code^Code Prior to 1.7.4 vera update^
 +|Single Click|0|128|
 +|Double Click|3|131|
 +|Triple Click|4|132|
 +|Hold|2|130|
 +|Release of Hold|1|129|
 +|Quadruple Click|5|133|
 +|Pentuple Click|6|134|
 +
 +
 +The button code of the UP paddle is always 1 and the down paddle 2 so the combination of those two data points will let you trap any gesture from either paddle and perform different actions based on them.
 +
 +The single click always controls the local load, but the other multi-clicks do not control the local load but only send the centra scene event. If you wish to do a sort of “all off” with a double click down you will have to script the changing of the load as well.
 +
 +
 +Something like this example might be used to control all the rooms lighting with a double click while still being able to control the dimmer locally without affecting the whole room if you wish.
 +
 +<code>
 +on centralScene( theButton, theGesture)
 +
 +  if theButton is equal to “1" then
 +    write log “the top paddle was pushed"
 +    
 +    if theGesture is equal to “3" then
 +      -- the switch was double clicked on
 +      write log “double click ON, turning on room lights"
 +      -- since the switch doesn’t control it’s local load when doing a double click the first thing we should do is control it
 +      turnon (thisUnit)
 +      brighten “other room light” to 75
 +      turnon “yet another light in the room"
 +    end if
 +    
 +  else if theButton is equal to “2" then
 +    write log “the bottom paddle was pushed"
 +    
 +    if theGesture is equal to “3" then
 +      write log “double click OFF. turning off the room lights"
 +      turnoff (thisUnit)
 +      turnoff other room light"
 +      turnoff “yet another light in the room"
 +    end if
 +    
 +    
 +  end if
 +</code>
 +
 +===Controlling the RGB LED’s===
  
 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:veraui7#set_data|setData command]] 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:veraui7#set_data|setData command]]
Line 41: Line 87:
  
  
-The [[https://homeseer.com/wp-content/uploads/2018/06/HS-WD200-Manual-5.pdf|User Manual]] lists many parameters I’ll include the most useful ones in this table. All parameters are single bytes so the middle value in the SetData command for all these would be 1.+The [[https://homeseer.com/wp-content/uploads/2018/06/HS-WD200-Manual-5.pdf|User Manual]] lists many parameters I’ll include the most useful ones in this table. All parameters are single bytes so the middle value in the SetData command for all these would be 1. Be careful when sending these commands. All manufacturers and possibly different models of the same switch may have different parameters for the same functions. Sending an out of range or incorrect value to a parameter could have unpredictable results or could brick your switch.  It’s nice to note however that the WD100 an WD200 share the same parameter number for orientation and it’s other parameters go up through 10, the other WD200 parameters start at 11 so if you confuse the 2 device types when setting data they happily ignore the out of range parameters and do not do anything damaging.
  
 ^parameter^Description^Value^Example^ ^parameter^Description^Value^Example^
Line 57: Line 103:
 |27| Status Mode Color of LED 7|:::|:::| |27| Status Mode Color of LED 7|:::|:::|
 |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|setValue( 31, 1, text to number “&b0010000”) would set only the 5th led to flashing. text to number “&b1111111” would set all LED’s to flashing. setData( 31, 1, 0) would stop all flashing.|+|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 “&b0010000”) would set only the 5th led to flashing. text to number “&b1111111” would set all LED’s to flashing. setData( 31, 1, 0) would stop all flashing.| 
 +====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.
supported_modules/hs-wd200.txt · Last modified: 2023/02/13 14:52 by 127.0.0.1