/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Martin Gleiß * @copyright 2012 - 2015 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ {% extends "index.html" %} {% import "basic.html" as basic %} {% import "icon.html" as icon %} {% block content %}

Widget-Overview

Here are some widgets working together. This is not a complete list!

Basic

{{ basic.print('value1', 'bath.light.value', 'Unit', '', ['',64,128,192], ['green','','icon1','#f00']) }},   {{ basic.print('float1', 'bath.light.value', '°', '', ['',64,128,192], ['green','','icon1','#f00']) }},   {{ basic.print('value2', 'bath.light.value', 'int', '', ['',64,128,192], ['green','','icon1','#f00']) }},   {{ basic.print('value3', 'bath.light.value', 'float', '', ['',64,128,192], ['green','','icon1','#f00']) }},   Formula: {{ basic.print('formula1', 'bath.light.value', 'W', ' VAR / 1000 * 230', ['', 23.74, 38.46, 53.18], ['green','','icon1','#f00']) }}  
{{ basic.flip('flip1', 'bath.light.switch') }} {{ basic.stateswitch('button1', 'bath.light.switch', '', '1') }} {{ basic.stateswitch('dual1', 'bath.light.switch', '', ['0', '1']) }} {{ basic.color('rgb1', 'bath.color.r', 'bath.color.g', 'bath.color.b', '', '', '', '', 'rect') }} {{ basic.color('colordisc1', 'bath.color.r', 'bath.color.g', 'bath.color.b', '', '', '', '', 'disc') }} {{ basic.symbol('symbol1', 'bath.light.switch') }} {{ basic.checkbox('checkbox1', 'bath.light.switch', 'Checkbox') }} {{ basic.slider('slider1', 'bath.light.value', 0, 255, 1) }}
{{ basic.slider('slider2', 'bath.light.value2', 0, 255, 1, 'vertical') }}
{{ basic.slider('slider3', 'bath.blind.angle', 0, 255, 1, 'semicircle') }}
{{ basic.shutter('shutter1', 'bath.light.value2', 'bath.blind.angle') }}
{{ basic.tank('tank1', 'bath.light.value', 0, 255, 5, 'water') }}

Icons


{{ icon.windmill('svg2', '', 'bath.light.value') }} {{ icon.shutter('svg3', '', 'bath.light.value') }} {{ icon.windrose('icon1', '', 'bath.light.value') }}

Plots

Plot

{{ plot.period('p1', ['bath_plot_value', 'bath_plot_value2'], 'avg', '5i', 0, 0, 255, 50) }}

Plot

{{ plot.period('p2', ['bath_plot_value2', 'bath.blind.angle'] , 'avg' , '5i', 0, 0, 255, 50, '', '', ['spline', 'area']) }}

{% endblock %}