{% set result = pluginObject._add(name=name, deviceType=deviceType, hostname=hostname, plugin=plugin, obj=obj, secured=not not secured, callerToken=callerToken) %} {% set hasCapabilitySupport = igor.internal.accessControl('hasCapabilitySupport') %}

New Device

{% if result.message %}

Note: {{result.message}}

{% endif %} {% for k, v in result.items() %} {% endfor %}
Key Value
{{k}}{{v}}
{% if deviceTokenId %}

If the device is accessed over https://{{hostname}} you may still need to create a certificate using the CA plugin.

{% endif %} {% if deviceType in ("activeSensor", "activeSensorDevice") %}

You probably want to add actions triggered by this sensor. Unfortunately there is no GUI for that yet.

{% if hasCapabilitySupport %} {% if isDevice %} {% set representing = 'devices/' + name %} {% else %} {% set representing = 'sensors/' + name %} {% endif %}

You probably want to add an action capability if this sensors triggers actions that are already in the database.

{% endif %} {% endif %}
{% if returnTo %} Return to {{returnTo}}.
{% endif %} Return to device listing page.
Return to Igor homepage