Skip to content
HSYCO Wiki

Dimmer

Note  For a description and a complete list of UI Objects, see UI Objects.

A dimmer light actuator.

UI Object dimmer.png

  • id: the object's ID, used by UISets. Optional
  • address: device data point name. Supports Redirect variables
  • position: the object's position. Use the pixels or rows and columns coordinates format
  • label: the text label on the panel. Can contain HTML tags
(dimmer!<id> <address>; <position>; <label>)

E.g.

(dimmer!mydimmer light.1; x10y20; Light)
Name Value Description
pos x<x>y<y> Position specified as x/y coordinates. E.g. x-5y10
visible true Default. Show the object
false Hide the object
blink true | slow Blink the object at a slow speed
fast Blink the object at a fast speed
false Stop the blinking
opacity 0.0 ... 1.0 Object opacity from 0 (not visible) to 1 (fully visible)
rotation 0 ... 360 Object rotation in degrees. Images are rotated around the center point, all other objects are rotated around the top left corner
Name Value Description
bar true Show the value bar
false Hide the value bar
barcolor CSS color Set the value bar's color
onvalue <value> The value to be sent instead of the on command
enabled true Field is enabled
false Field is disabled
A CSS color can be specified as
  • hex value: #<rr><gg><bb> E.g. #FF1010
  • color name: red, blue, white...
  • as rgb: rgb(<r>,<g>,<b>) E.g. rgb(255,30,30)
  • as rgba: rgba(<r>,<g>,<b>,<alpha>) E.g. rgba(255,30,30,0.5)