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.uzsutable

UZSU-Timetable widget for usage with the UZSU-Plugin

Parameters
{{ device.uzsutable(id, item, headline, value_on, value_off, color_on, color_off, color_on_disabled, color_off_disabled, fill, granularity, borderstyle, showzoombutton, showtooltip, showsun, showactualtime, inactivestyle, valueType, valueparameterlist) }}
id
unique id for this widget (optional)
item
the item of the UZSU (NOT the item which is switched by UZSU)
headline
headline of Table (optional, default: empty)
value_on
value for 'on' state (optional), if using array form keep in mind to get color array same length, if not last color would be used for missing entries - for correct tool-tip valueparameter list should include all values
value_off
value for 'off' state (optional), if using array form keep in mind to get color array same length, if not last color would be used for missing entries - for correct tool-tip valueparameter list should include all values
color_on
the color for the 'on' state, e.g. '#f00' for red (default 'green' of the design)
color_off
the color for the 'off' state, e.g. '#f00' for red (default 'red' of the design)
color_on_disabled
the color for the 'off' state for disabled entries, e.g. '#f00' for red (default 'lightgrey' of the design)
color_off_disabled
the color for the 'off' state for disabled entries, e.g. '#f00' for red (default 'grey' of the design)
fill
fill the times from ON to OFF with ON-color (default 'true' )
granularity
granularity of the timetable, valid values '5m', '10m','15m','30m','1h' (default '1h' )
borderstyle
style of the cell border, valid values solid,horizontal,hourly, none (default 'solid' )
also valid: combination with granularity as a list: ['5m:solid','10m:hourly','15m:hourly','30m:horizontal','1h:horizontal']
showzoombutton
show the zoom button for different granularity (default 'true' )
showtooltip
show the switching times in a tooltip (default 'true' )
showsun
show the sunrise/sunset-times as line on the table (default 'true' )
showactualtime
show the actual time as line on the table (default 'true' )
inactivestyle
style of inactive-mode 1=opacity 50% / 2=Text "Inactive". You can combine 1+2=3 (default '1' )
valueType
supported types are 'bool', 'num', 'list', 'text' (optional, default: bool)
valueparameterlist
depending on valueType (optional):
bool: ['text on','text off'] or ['text1:value1','text2:value2'],
num: [min, max, step],
list: ['value1','value2','value3'] or ['text1:value1','text2:value2','text3:value3'],
text: no value parameter

You can change the state of the UZSU from active to inactive by tapping the hook / cross on the left top position

By tapping any other area on the widget the popup for editing the times will be opened

Example with border solid:

{{ device.uzsutable('','uzsuitem1','Schaltuhr Flur EG','1','0','limegreen','red','','','true','10m','solid','true','true','true','true',2,'','') }}

Example with border as list:

{{ device.uzsutable('','uzsuitem2','Switchting Time Heating','1','0','limegreen','red','','','true','1h',['5m:solid','10m:hourly','15m:hourly','30m:horizontal','1h:horizontal'],'true','true','false','true',1,'','') }}

Example with border horizontal :

{{ device.uzsutable('','uzsuitem3','Solar Pump','1','0','yellow','blue','','','false','30m','horizontal','false','true','false','true',3,'','') }}

Author: Andre Kohler

Widgets

Design

Misc