/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Martin Gleiß * @copyright 2012 - 2015 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ {% extends "widget_device.html" %} {% block example %} The shutter may be used in two modes: 'half' and 'full'. The 'half' mode is for blade which can turn to a negativ value, normal blades do so. Some blades like 'S'-blades may only turn to a positv angle. For this use 'full' mode.
Example
{{ device.shutter ('', 'Shutter 1', 'bath.blind.move', 'bath.blind.stop', 'bath.blind.pos', 'bath.blind.adjust', 'bath.blind.angle', 'bath.blind.stored') }}

{{ device.shutter ('', 'Shutter 2', '', '', 'bath.blind.pos', 'bath.blind.adjust', 'bath.blind.angle', '', 0, 255, 5, 'full') }}

{{ device.shutter ('', 'Shutter 3', '', '', 'bath.blind.pos') }}
Use slider to control shutter..
{{ device.blind('', 'Blind', '', 'bath.blind.stop', 'bath.blind.pos', 'bath.blind.adjust', 'bath.blind.angle') }}
Shutter with all controls, 'half' mode
{{ device.shutter ('', 'Shutter 1', '', 'bath.blind.stop', 'bath.blind.pos', '', 'bath.blind.angle', 'bath.blind.stored') }}
Shutter with less controls, 'full' mode
{{ device.shutter ('', 'Shutter 2', '', '', 'bath.blind.pos', '', 'bath.blind.angle', '', 0, 255, 5, 'full', 'pics/shutter/shutter_cliff.png') }}
Shutter without blades
{{ device.shutter ('', 'Shutter 3', '', '', 'bath.blind.pos') }}
{% endblock %}