Iotsa Devices
{% if message %}
{{message}}
{% endif %}
{% if not action or action == "list" %}
Finding uninitialized iotsa devices
This will search for uninitialized iotsa devices that advertise their default network:
Finding initialized iotsa devices
This will search for all iotsa devices that advertise their availability on the current local network (WiFi as well as wired):
Finding iotsa device by name or IP address
Enter hostname or IP address:
Enter hostname or IP address and module name:
{% elif action == "showWifi" %}
Uninitialized iotsa devices
{% set networks = [] if not networks else networks if type(networks) == type([]) else networks.split('/') %}
{% if networks %}
{% for n in networks %}
- {{n}}
{% endfor %}
{% else %}
No networks found that appear to be created by uninitialized iotsa devices. Note that is tested using the
WiFi card of the computer on which Igor runs, so if a iotsa device is too far away from the Igor computer
it may not be seen.
{% endif %}
Initializing a Iotsa device
- Select the wifi network (from the list above, or by looking for network names starting with config_) on your laptop, smartphone or tablet.
- Use a browser to visit http://192.168.4.1.
- Use the config and wificonfig links to give your device a hostname and tell
it about your WiFi network name and password. You will have to power-cycle the device during this
process (to demonstrate you have physical access).
After this process the device is initialized enough to show up here in the Find Devices section
for further setup.
Return to iotsa device setup page.
Return to Igor homepage
{% elif action == "showList" %}
Iotsa devices discovered
{% set devices = devices if type(devices) == type([]) else devices.split('/') %}
{% for d in devices %}
- {{d}}
{% endfor %}
In some cases the links above may not work. Then please use the following form to get iotsa device information:
Return to iotsa device setup page.
Return to Igor homepage
{% elif action == "showDevice" %}
Status for device {{device}}
{% set _ = kwargs.pop("action") %}
{% set _ = kwargs.pop("pluginName") %}
{% set _ = kwargs.pop("pluginData") %}
{% set _ = kwargs.pop("user") %}
{% set _ = kwargs.pop("device") %}
{% set _ = kwargs.pop("module") %}
| Key | Value |
{% for k, v in kwargs.items() %}
| {{k}} | {{v}} |
{% endfor %}
Module Status
Select the following links to get status information for specific modules on {{device}}:
{% set modules = [] if not modules else modules if type(modules) == type([]) else modules.split('/') %}
{% for m in modules %}
-
{{m}}
{% endfor %}
Configure Device {{device}}
{% if requestedMode %}
You have requested a mode change, but not rebooted {{device}} yet. Please do so within {{requestedModeTimeout}} seconds and select
refresh
to reload this page.
{% endif %}
{% if not currentMode %}
To change device settings you have to request configuration mode here, and then power-cycle the device
(to demonstrate you have physical access). After power-cycling the device will be configurable for a few minutes.
After submitting the request you may have to
refresh
this page after the device has rebooted.
{% elif currentMode == "1" %}
The device is in configuration mode (it will revert to normal mode in {{currentModeTimeout}} seconds). Use the following form
to set values.
{% elif currentMode == "2" %}
The device is in OTA mode and can be reprogrammed over the air. The iotsaDiscovery plugin has no support for this yet.
{% else %}
Unknown device mode {{currentMode}}
{% endif %}
Return to iotsa device setup page.
Return to Igor homepage
{% elif action == "showModule" %}
Status for device {{device}}, module {{module}}
{% set _ = kwargs.pop("action") %}
{% set _ = kwargs.pop("pluginName") %}
{% set _ = kwargs.pop("pluginData") %}
{% set _ = kwargs.pop("user") %}
{% set _ = kwargs.pop("device") %}
{% set _ = kwargs.pop("module") %}
| Key | Value |
{% for k, v in kwargs.items() %}
| {{k}} | {{v}} |
{% endfor %}
Return to iotsa device setup page.
Return to Igor homepage
{% endif %}