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
Last revisionBoth sides next revision
supported_modules:hs-wd200 [2019/04/29 15:33] – updated gesture codes for new vera update James Sentmansupported_modules:hs-wd200 [2021/05/30 17:08] – added hubitat info James Sentman
Line 57: Line 57:
 </code> </code>
  
-===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 with a Hubitat=== 
 +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: 
 + 
 +<code> 
 +tell xUnit “name of your WD200 dimmer” to sendDeviceCommand( “setStatusLED”, “1,red,blink”) 
 +</code> 
 + 
 +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: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]]
supported_modules/hs-wd200.txt · Last modified: 2023/02/13 14:52 by 127.0.0.1