Iotsa Devices

{% set module = "users" %} {% if set %} {% set modUser = {} %} {% set _ = modUser.update(username=new_username) if change_username else None %} {% set _ = modUser.update(password=new_password) if change_password else None %} {% set _ = modUser.update(rights=new_rights) if change_rights else None %} {% set error = pluginObject._setIndexed(device, module, index, modUser, protocol=protocol, credentials=credentials, port=port, noverify=noverify, token=token) %} {% if error %}

Error while changing user {{index}} settings: {{error}}

{% endif %} {% 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 config = deviceStatus.get('config', {}) %} {% set userStatus = deviceStatus.get(module, {}) %} {% set users = userStatus.users %} {% 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 "users" iotsa device "{{device}}" requires 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.

Note that for the users module capability-based access does not work, you must specify username/password credentials.

{% endif %} {% endif %}

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

{% for user in users %} {% for k, v in user.items() %} {% if loop.first %} {% endif %} {% endfor %} {% endfor %}
# Key Value
{{loop.index0}}{{k}} {{v}}

Changing users and passwords

{% if config.currentMode == 1 %}

Device {{device}} is in configuration mode, you have {{config.modeTimeout}} seconds to change user settings.

{% elif config.requestedMode == 1 %}

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

{% else %}

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

{% endif %} {% for user in users %}

Modify user {{loop.index0}}

{% if userStatus.multi %} {% endif %}
Key Change? Value Help
username
password
token Slash-delimited list or *, for example /users/config/
{% endfor %} {% if userStatus.multi %}

Add new user

Key Set? Value Help
username
password
token Slash-delimited list or *, for example /users/config/
{% endif %}
Return to {{device}} device status page.
{% if returnTo %} Return to {{returnTo}}.
{% endif %} Return to iotsa device setup page.
Return to Igor homepage