Device-Widgets

device.blind device.codepad device.dimmer device.rtr device.shutter


device.blind

Standard blind

Parameters
{{ device.blind(id, txt, item_move, item_stop, item_pos, item_shift, item_angle, min, max, step) }}
id
unique id for this widget
txt
name of the blind
item_move
a item for the up- and down- movement
item_stop
a item for stopping the movement (optional)
item_pos
a item for the actual absolute position of the blinds
item_shift
a item for increase- and decreace- of the blade (optional)
item_angle
a item for the actual absolute angle of the blade (optional)
min
the minimum value for close (optional, default 0)
max
the maximum value for open (optional, default 255)
step
step between two values (optional, default 5)
Example
{{ device.blind('blind1', 'Blind', 'bath.blind.mov', 'bath.blind.stop', 'bath.blind.pos', 'bath.blind.adjust', 'bath.blind.angle') }}
Blind
A blind without a blade
{{ device.blind('blind2', '', 'bath.blind.mov', 'bath.blind.stop', 'bath.blind.pos') }}
Blind without blade

inspired by Frank Berlenz

Widgets

Design

Misc