{% extends "layout.html" %} {% set active_page = "function" %} {% set help_page = ["function", _('Function')] %} {% block title %} - {{_('Function')}}{% endblock %} {% block head %} {% endblock %} {% block body %}
{% include 'flash_messages.html' %}

{{_('Functions')}}

{{_('Functions conduct complex tasks, often coupling one or more Data sources with Outputs. For example, this could be using a PID Controller to create a feedback loop with a temperature sensor and heater in order to regulate temperature.')}}

{{form_mod_pid_base.csrf_token}}
{{form_add_function.func_add(class_='form-control btn btn-default')}}
{% if pid %}

{{_('PID Controllers')}}

{{_('PID controllers couple an input with a device connected to an output to regulate an environmental condition. For example, this could be a heater and a temperature sensor, allowing the regulation of temperature.')}}

{% include 'pages/function_options/pid.html' %} {% endif %} {% if conditional %}

{{_('Conditional')}}

{{_('Conditionals allow certain actions to be carried out when a certain set of conditions are met.')}} See the manual for more information.

{% include 'pages/function_options/conditional.html' %} {% endif %}
{% endblock %}