Device-Widgets

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


device.window

Displays window status and a simple shutter control assembly in a popup

Parameters
{{ device.window(id, txt, item_move, item_stop, item_pos, item_shade, item_window_r, item_window_l, type, min, max, step, color) }}
id
unique id for this widget
txt
title of the window (optional)
item_move
item for the up- and down- movement of the shutter
item_stop
item for stopping the movement of the shutter (optional)
item_pos
item for the position of the shutter (optional)
item_shade
item to move the shutters to the shade position (optional)
item_window_r
item to display the window's right wing status (optional)
item_window_l
item to display the window's left wing status (optional)
type
type: 'micro', 'mini', 'midi', 'icon' (optional, default: mini)
min
the value for opened (optional, default 0)
max
the value for closed (optional, default 255)
step
step between two values (optional, default 5)
color
colors for the 'closed' and 'open' state, e.g. ['icon2','icon3'] or '#f00' or ['green,'red']. Prepend a '!' to make the color constant ('!#f00'). (optional, default ['icon0','icon1'])
Examples
{{ device.window ('', 'Window Kitchen North', 'wkn.move', 'wkn.stop', 'wkn.pos','', 'window.right', 'window.left', 'icon') }}
Use slider to control the shutter and switches to simulate window status. Click on the icon to open the control popup.
Left window:
0 1 2
   Right window:
0 1 2

Window Kitchen North
Schließen


Author: Wolfram v. Hülsen

Widgets

Design

Misc