/** * ----------------------------------------------------------------------------- * @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.value('value1', 'bath.light.switch', 'Unit') }}, {{ basic.float('float1', 'bath.light.switch', '°') }}, {{ basic.value('value2', 'bath.light.value', 'int') }}, {{ basic.value('value3', 'bath.light.value', 'float') }}, Formula: {{ basic.formula('formula1', ['bath.p1', 'bath.p2', 'bath.p3'], 'W', '( VAR ) / 1000 * 230') }} Date: {{ basic.value('time1', 'bath.time', 'long') }},
{{ basic.flip('flip1', 'bath.light.switch') }} {{ basic.switch('switch1', 'bath.light.switch') }} {{ basic.shifter('shifter2', 'bath.light.switch', 'bath.light.value') }} {{ basic.button('button1', 'bath.light.switch', '1') }} {{ basic.dual('dual1', 'bath.light.switch') }} {{ basic.rgb('rgb1', 'bath.color.r', 'bath.color.g', 'bath.color.b') }} {{ basic.colordisc('colordisc1', 'bath.color.r', 'bath.color.g', 'bath.color.b') }} {{ 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


{% if isfile(icon0~'light_light_dim_00.svg') %} Dynamic Icon (iconseries): {{ basic.shifter('series1', 'bath.light.switch', 'bath.light.value', 'light_light_dim_00.svg') }} SVG: {% endif %} {{ basic.shifter('svg2', 'bath.light.switch', 'bath.light.value', 'icon.windmill') }} {{ basic.shifter('svg3', 'bath.light.switch', 'bath.light.value', 'icon.shutter') }} {{ icon.windrose('icon1', 'bath.light.switch', '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 %}