smartVISU
05:13,20.04, v2.6

Basic-Widgets

basic.button basic.checkbox basic.colordisc basic.dual basic.flip basic.float basic.glue basic.image basic.notify basic.rgb basic.shifter basic.shutter basic.slider basic.switch basic.symbol basic.tank basic.text basic.value


basic.shifter

A switch, build of a series of icons. The series may be a .png series (NAME_00.png, NAME_10.png, NAME_20.png...) or may be a dynamic icon (icon.NAME)

Parameters
{{basic.shifter(id, gad_switch, gad_value, pic_on, pic_off, min, max) }}
id
unique id for this widget
gad_switch
a gad/item for the switch (optional)
gad_value
a gad/item for the value
pic_on
the icon for the 'on' state: either a .png (ending with '_00.png') or a icon (starting with 'icon.')
pic_off
the icon for the 'off' state (optional)
min
the minimum value if it is off (optional, for future use)
max
the maximum value if it is on (optional, default 255)
Examples
{{ basic.shifter('shifter1', 'bath_light_switch', 'bath_light_value') }}
{{ basic.shifter('shifter2', '...', '...', icon1~'temp_temperature_00.png' ) }}
...

Use the slider to control the shifter, when it is switched on
There are some .png-icon-series shipped with smartVISU
There are some svg-icon-series shipped with smartVISU
N N

Widgets

Design

Misc