/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Martin Gleiß * @copyright 2012 - 2015 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ {% extends "widget_clock.html" %} {% block example %}
Example
{% filter trim|escape|nl2br %}{% verbatim %} {{ clock.countup('', 'bath.light.timestamp', 'bath.light.switch', '5s') }} {% endverbatim %}{% endfilter %}

The timer shows the time elapsed after loading this page in the actual browser session. Click "Trigger" to re-start.
{{ lib.timestamp('tr1', 'bath.light.timestamp') }}

Timer:   {{ clock.countup('', 'bath.light.timestamp', 'bath.light.switch', '5s') }}

{% endblock %}