Iotsa Devices

{% set module = "capabilities" %} {% if set %} {% set modCapabilities = {} %} {% set _ = modCapabilities.update(issuerKey=issuerKey) if issuerKey else None %} {% set _ = modCapabilities.update(trustedIssuer=trustedIssuer) if trustedIssuer else None %} {% set deviceStatus = pluginObject._getorset(device, module=module, protocol=protocol, credentials=credentials, port=port, noverify=noverify, includeConfig=True, token=token, **modCapabilities) %} {% endif %} {% set deviceStatus = pluginObject._getorset(device, module=module, protocol=protocol, credentials=credentials, port=port, noverify=noverify, includeConfig=True, token=token) %} {% set device = deviceStatus.device %} {% set module = deviceStatus.module %} {% set status = deviceStatus.get(module, {}) %} {% set message = deviceStatus.message %} {% if message %}

User Intervention Required

Message: {{message}}

{% if message[:4] == '502 ' %}

If the SSL certificate of iotsa device "{{device}}" is not trusted by this Igor please try to connect using the form at the bottom of the iotsa device list page and select the Do not check SSL certificates option.

{% elif message[:4] == '401 ' %}

To allow access to module "{{module}}" iotsa device "{{device}}" requires either a trusted capability (which Igor does not have yet) or username/passord credentials. You can use the latter by selecting this device on the form at the bottom of iotsa device list and providing them in the credentials field.

{% endif %} {% endif %}

Status for device {{device}}, module {{module}}

{% for k, v in status.items() %} {% endfor %}
KeyValue
{{k}}{{v}}

Install shared secret key for capabilities

{% if deviceStatus.config.currentMode == 1 %} {% set aud = device %} {% set keylist = igor.access.getSecretKeysForAudience(aud=aud, token=token) %} {% if keylist %}

You can select the correct secret key shared between Igor and iotsa device "{{device}}":

{% for iss, kkk in keylist %}
Key issued by:

{% endfor %} {% else %}

This Igor does not know of any shared secret keys issued for iotsa device "{{device}}". You can create one on the capabilities page.

{% endif %}

Alternatively, you can set the shared secret key and the URL of the issuer of that key manually:

Issuer URL:
Key data:
{% elif deviceStatus.config.requestedMode == 1 %}

You have requested configuration mode, but not rebooted {{device}} yet. Please do so within {{deviceStatus.config.requestedModeTimeout}} seconds and select refresh to reload this page.

{% else %}

To change capability support {{device}} must be in configuration mode. You can request the device to go to configuration mode on the device status page.

{% endif %}
Return to {{device}} device status page.
{% if returnTo %} Return to {{returnTo}}.
{% endif %} Return to iotsa device setup page.
Return to Igor homepage