{% if not (protocol or credentials or port or noverify) %} {% set protocol, credentials, port, noverify = pluginObject._getpersist(device) %} {% endif %} {% set deviceStatus = pluginObject._getorset(device, module="config", protocol=protocol, credentials=credentials, port=port, noverify=noverify, token=token) %} {% set device = deviceStatus.device %} {% set module = deviceStatus.module %} {% set status = deviceStatus.get(module, {}) %} {% set modules = status.get('modules', []) %} {% set message = deviceStatus.message %}

Iotsa Device status for {{device}}

{% 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 %} {% if noverify %}

Unverified SSL signature

You are accessing {{device}} with SSL (https) certificate verification disabled.

If this is a new iotsa device that is still using the factory-installed default certificate you can install an Igor-signed certificate.

{% if status.currentMode == 1 %}

Install Igor-signed certificate to {{device}}

Alternatively, you can install a private key and certificate obtained through other means by visiting the device directly (without Igor intervention) by visiting {{protocol}}://{{device}}:{{port}}/config.

Or you can paste the private key and certificate (as base64-encoded DER files) in the fields below:

Key (base64 DER):

Certificate (base64 DER):

{% else %}

To do this you must first set the iotsa device in configuration mode, below.

{% endif %} {% endif %}

Operating Mode

{% if not status.currentMode %}

Device {{device}} is operating in normal mode (in other words, you cannot change important settings or reprogram it).

{% endif %} {% if status.requestedMode %}

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

{% endif %} {% if not status.currentMode %}

To change device settings you have to request configuration mode here, and then power-cycle the device to demonstrate you have physical access (in other words: to show that you actually own the device and it is somewhere in your home, and that you are not a hacker who managed to get access to the local wifi network).

After power-cycling the device will be configurable for a few minutes (otherwise it will revert to normal operating mode). After submitting the request you may have to refresh this page after the device has rebooted.


{% elif status.currentMode == 1 %}

The device is in configuration mode (it will revert to normal mode in {{status.currentModeTimeout}} seconds). Use the following form to set values.

Key:
Value:
Reboot after updating:
{% elif status.currentMode == 2 %}

The device is in OTA mode and can be reprogrammed over the air. The Igor iotsaDiscovery plugin has no support for this yet, use the iotsaControl command-line tool to reprogram the device.

{% else %}

Unknown device mode {{status.currentMode}}

{% endif %}

Device Configuration for {{device}}

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

Supported Modules

Select the following links to get status information for specific modules on {{device}} and possibly modify it:

Retrieve Complete Device Status to Igor database

After retrieving the status it will be stored in /data/devices/{{pluginName}}/{{device}} where you can inspect it.

You can also modify the data for a module there, in the Igor database, and then upload it to the device with the following form:


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