SmartEdge Industrial IoT Gateway
User Guide
http://www.element14.com/gateway Page 30
5. IOTCONNECT DETAILS
5.1. USAGE
After first enrolling your Gateway using the mobile App (see section 3.4), you can view and control your device(s)
through the web portal (avnet.iotconnect.io). Once logged in to the web portal, you are presented with a "Dashboard".
IoTConnect documentation is available under the Resource tab. Below are some of the capabilities. Note that some
features require admin level access.
VIEW SENSORS
Once logged in, your device(s) can be found on Device tab on the left side. Clicking on the device tab will show a list of
the devices that are configured for the logged in user.
More advanced options like OTA updates and Command Setup require Administrator rights. For many users, the device
may need to transition from the 30-day trial period to your own paid account before Administrator rights are available.
OTA UPDATES
An update package can be delivered to the Gateway(s) from the IoTConnect Cloud. The update package is a specially
formatted tarball, consisting of a script that gets executed on the Gateway.
To create an update:
Using a Linux PC, create a directory named "updates"
Create a file in that directory called install.sh with instructions to perform the update
Include any other supporting files in that directory
Compress the "updates" directory contents into a .tar.gz file
Rename the .tar.gz file to .txt
Setup the web portal for the OTA firmware update and point the file for OTA to your .txt file
Test the update thoroughly before sending to production systems
Issue the OTA update to your device(s)
5.2. CONFIGURING THE IOTCONNECT SDK
As an initial step, you should configure your Gateway using the mobile App "Avnet IoTConnect" for iOS and Android.
See section 3.4 for configuration steps. One sensor, CpuTemperature, is enabled by default and reported to the cloud.
DEFAULT WIFI ACCESS POINT CREDENTIALS
WiFi AP SSID: IotGateway_xxxxxxxx”
WiFi AP Passkey: IoTConnect
MODIFY LOCAL CONFIGURATION
Connect a HDMI monitor and USB keyboard to the Gateway, then power on. Login with the default credentials--
user login: avnet, Password: avnet
The IoTConnect SDK is located at "/opt/avnet-iot/IoTConnect/sample" or
"/usr/bin/IoTConnectSDK_Py2.7/Testing/sample"
You can modify the IoTConnectSDK.conf and user_functions.py files in the SDK for your sensors
Verify or add your IoTConnect mobile App created username and password to the IoTConnectSDK.conf file
The IoTConnect.conf file contains sections for CloudSDKConfiguration, CloudSystemControl, and
CloudSDKDefaultObject<xxx> entries