/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Martin Gleiß * @copyright 2012 - 2015 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ {% extends "widget_device.html" %} {% block example %} This widget can replace an RTR display (device.rtr) with almost the same functionality.
If you want to use knx dpt '20.102' use the item_mode 3 times for 'item_comfort', 'item_night' and 'item_frost'.
Examples
{% filter trim|escape|nl2br %}{% verbatim %} {{ device.rtr('rtr2', 'Heating', 'bath.rtr.act', 'bath.rtr.set', 'bath.rtr.mode', 'bath.rtr.mode', 'bath.rtr.mode', 'bath.rtr.state', 'bath.rtr.text') }} {{ device.rtrslider('sl1', 'bath.rtr.act', 'bath.rtr.set', 'bath.rtr.mode', 'bath.rtr.mode', 'bath.rtr.mode', 'bath.rtr.state') }} {% endverbatim %}{% endfilter %}
Classic RTR in 1x byte-mode
{{ device.rtr('rtr', 'Heating', 'bath.rtr.act', 'bath.rtr.set', 'bath.rtr.mode', 'bath.rtr.mode', 'bath.rtr.mode', 'bath.rtr.state', 'bath.rtr.text') }}
RTR slider in 1x byte-mode
{{ device.rtrslider('sl', 'bath.rtr.act', 'bath.rtr.set', 'bath.rtr.mode', 'bath.rtr.mode', 'bath.rtr.mode', 'bath.rtr.state') }}

New in v3.1: for MDT and similar devices, manual temperature adjustment can be sent to item_offset. The supplements have also been implemented. See device.rtr documentation for more info. {% endblock %}