Device-Widgets

device.blind device.codepad device.dimmer device.rtr device.rtrslider device.shutter device.smallshut device.roofwindow device.uzsuicon device.uzsugraph device.uzsutable device.window


device.roofwindow

Roof window

Parameters
{{ device.roofwindow(id, txt, item_move, item_stop, item_pos, item_saved, value_closed, value_opened, step, value_pos_1, value_pos_2, text_pos_1, text_pos_2) }}
id
unique id for this widget (optional)
txt
name of the window
item_move
an item for the open and close movement (optional, value_top/value_bottom will be sent to item_pos if omitted)
item_stop
an item for stopping the movement (optional)
item_pos
an item for the absolute position
item_saved
an item for some saved positions (optional)
value_closed
the value for closed (optional, default 0)
value_opened
the value for opened (optional, default 255)
step
step between two values (optional, default 5)
value_pos_1
the value to send for position 1 (optional, default 0)
value_pos_2
the value to send for position 2 (optional, default 1)
text_pos_1
the text printed on button for position 1 (optional, default Pos1)
text_pos_2
the text printed on button for position 2 (optional, default Pos2)
Click on image of window to set opening angle (top is fully open, bottom is closed).
Example
{{ device.roofwindow('', 'Westside', 'bath.blind.move', 'bath.blind.stop', 'bath.blind.pos', 'bath.blind.stored', '0', '100') }}
{{ device.roofwindow('', '', '', '', 'bath.blind.pos', '') }}
Use the slider to control the value
Full control
Simplest version

Author: Stefan Widmer

Widgets

Design

Misc