/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Martin Gleiß * @copyright 2012 - 2015 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ {% extends "widget_device.html" %} {% block example %} If you want to use knx dpt '20.102' use that gad/item 3 times for 'gad_mode', 'gad_night' and 'gad_frost'.
Examples
{% filter trim|escape|nl2br %}{% verbatim %} {{ device.rtr('rtr1', 'Heating', 'bath.rtr.act', 'bath.rtr.set', 'bath.rtr.comfort', 'bath.rtr.night', 'bath.rtr.frost', 'bath.rtr.state', 'bath.rtr.text') }} {{ 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.rtr('', '', 'bath.rtr.act', 'bath.rtr.set', 'bath.rtr.mode', 'bath.rtr.mode', 'bath.rtr.mode', '', '', 0.2, 'bath.rtr.offset', [ device.uzsuicon('','uzsuitem','Presence','','','list','Present:1,Absent:2,Night:3'), icon.heating('','','bath.rtr.set',0,90) ]) }} {{ device.rtr('', 'Heating', 'bath.rtr.act', 'bath.rtr.set') }} {% endverbatim %}{% endfilter %}
RTR in 3x bit-mode
{{ device.rtr('', 'Heating', 'bath.rtr.act', 'bath.rtr.set', 'bath.rtr.comfort', 'bath.rtr.night', 'bath.rtr.frost', 'bath.rtr.state', 'bath.rtr.text') }}
RTR in 1x byte-mode
{{ 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') }}
RTR in "MDT-mode" (as described in SmartHomeNG wiki)
{{ device.rtr('', '', 'bath.rtr.act', 'bath.rtr.set', 'bath.rtr.mode', 'bath.rtr.mode', 'bath.rtr.mode', '', '', 0.2, 'bath.rtr.offset', [ device.uzsuicon('','uzsuitem','Presence','','','list','Present:1,Absent:2,Night:3'), icon.heating('','','bath.rtr.set',0,90) ]) }}
Notice: The set temperature will not change in offline mode as changes are sent to 'bath.rtr.offset' and have to be reflected by backend.
Simple RTR w/o mode and state
{{ device.rtr('', 'Heating', 'bath.rtr.act', 'bath.rtr.set') }}
{% endblock %}