dictionary:unitcontrol:dim
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
dictionary:unitcontrol:dim [2016/03/14 15:21] – external edit 127.0.0.1 | dictionary:unitcontrol:dim [2023/02/13 14:52] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====Dim or Brighten==== | ====Dim or Brighten==== | ||
- | Set an analog device to a level between 0 and 100 | + | Set an analog/ |
===Usage: | ===Usage: | ||
- | **dim** "name of the unit or group"\\ | + | **dim** "name of the unit or group” |
**brighten** "name of the unit or group”\\ | **brighten** "name of the unit or group”\\ | ||
- | |||
===Optional Parameters: | ===Optional Parameters: | ||
- | **to** (integer | + | * **to** (number) the value you wish to set the unit to. While this accepts a decimal most device types will not accept a fractional dim level. For most devices this should be a value between 0 and 100. If the device requires different value ranges the min/max values for that unit may be set in the Advanced tab of the Edit Unit Dialog. You must specify either the **to** parameter or the **by** parameter. |
- | **by** (integer, change the current | + | |
- | (you must include | + | |
- | \\ | + | |
- | + | | |
- | **in** (integer, create a scheduled | + | |
- | **at** (date, like in, the applescript | + | |
- | \\ | + | |
- | **for** (integer, create a scheduled | + | |
- | **until** (date, like for, the applescript | + | |
- | \\ | + | |
- | **with no script** | + | |
- | **with no transmit** | + | |
===Color Support=== | ===Color Support=== | ||
- | Many color capable bulbs are now available for ZWave and ZigBee via the [[supported_hardware: | + | * **rgb color** (text: html color)a standard HTML color string with each 2 characters being 00 to FF a hex representation of the level of that color in the mix. This is the normal way to set the color of a bulb. “FF0000” would be full red, “0000FF” would be full blue. |
- | + | * **color temperature** (integer) The Mired color temperature you wish to display. The available range is specific to the device but will be in the range of 2000 to 50000. 2700 would be a “warm” white. 3500 would be a “bright” or halogen white. 5000 to 6000 would be a “daylight” white. Not all devices support a color temperature setting. | |
- | **rgb color** (text, a standard HTML color string with each 2 characters being 00 to FF a hex representation of the level of that color in the mix. All color devices support the rgb color command. This is the normal way to set the color of a bulb. “FF0000” would be full red, “0000FF” would be full blue.)\\ | + | |
- | **hue/ | + | |
- | **xvalue/ | + | |
- | **color temperature** (integer, currently supported only for Phillips Hue bulbs this number corresponds to the color temperature. For the hue bulbs this is not the actual color temperature in kelvin, but a number from 153 to 500 with larger numbers being warmer. As other bulbs become more commonly available that support changes in color temperature support will be added for those.)\\ | + | |
- | **color preset** (number, 1-8, all color capable devices can have 8 colors or color temperatures set as presets. You can recall one by passing the color preset number to this parameter.) | + | |
- | + | ||
- | ===Color Handling=== | + | |
- | If you are using a color capable device keep in mind that the level that the lamp displays | + | |
- | + | ||
- | RGB colors on the computer screen do not correspond perfectly to the color displayed by the bulb. A lot of work was done to support the specific transforms necessary for the Phillips hue bulbs and as long as you are choosing a color that the bulb can actually generate the color display is pretty close. For RGB Pseudo devices there could be considerable differences between what is displayed on your screen and what is shown at the lamp. Many less expensive devices seem to have an underpowered red channel and so you may have to boost the red above what you need to see the proper color on the screen | + | |
===Examples: | ===Examples: | ||
Line 60: | Line 47: | ||
The " | The " | ||
\\ | \\ | ||
- | As an aid in preventing limit errors in such " | + | As an aid in preventing limit errors in such " |
dictionary/unitcontrol/dim.txt · Last modified: 2023/02/13 14:52 by 127.0.0.1