Line 109: |
Line 109: |
| | | |
| ===Create bulk devices=== | | ===Create bulk devices=== |
| + | ---- |
| | | |
| Steps for adding bulk devices | | Steps for adding bulk devices |
Line 152: |
Line 153: |
| [[File:Networking_rutos_configuration_examples_template_attributes_1.png|border|class=tlt-border]] | | [[File:Networking_rutos_configuration_examples_template_attributes_1.png|border|class=tlt-border]] |
| | | |
− | <ul>
| + | Steps for adding bulk device from the template |
− | <li>Steps for adding bulk device from the template</li>
| + | <ol> |
− | <li>1. Click on “New Device”</li> | + | <li> Click on “New Device”</li> |
− | <li>2. Click on “Choose Template”</li> | + | <li>Click on “Choose Template”</li> |
− | </ul> | + | </ol> |
| | | |
| [[File:Networking_rutos_configuration_examples_bulk_device_template_1.png|border|class=tlt-border]] | | [[File:Networking_rutos_configuration_examples_bulk_device_template_1.png|border|class=tlt-border]] |
| | | |
− | <ul> | + | <ol> |
| <li>Configure Template</li> | | <li>Configure Template</li> |
| <li>1. Select the number of devices to be added.</li> | | <li>1. Select the number of devices to be added.</li> |
| <li>2. Choose the template from the listed templates.</li> | | <li>2. Choose the template from the listed templates.</li> |
| <li>3. Click on “Confirm”.</li> | | <li>3. Click on “Confirm”.</li> |
− | </ul> | + | </ol> |
| | | |
| [[File:Networking_rutos_configuration_examples_bulk_device_template_confirm_1.png|border|class=tlt-border]] | | [[File:Networking_rutos_configuration_examples_bulk_device_template_confirm_1.png|border|class=tlt-border]] |
Line 174: |
Line 175: |
| | | |
| ===Send telemetry for a device=== | | ===Send telemetry for a device=== |
− | | + | ---- |
− | Step 1: Generate Device Credentials | + | <ul> |
| + | <li>Step 1: Generate Device Credentials</li> |
| [[File:Networking_rutos_configuration_examples_generate_device_credentials_1.png|border|class=tlt-border]] | | [[File:Networking_rutos_configuration_examples_generate_device_credentials_1.png|border|class=tlt-border]] |
| | | |
− | Step 2: Copy All Credentials | + | <li>Step 2: Copy All Credentials</li> |
| hint: access token will not be visual after closing this screen, so you need to save it securely. | | hint: access token will not be visual after closing this screen, so you need to save it securely. |
| [[File:Networking_rutos_configuration_examples_copy_device_credentials_1.png|border|class=tlt-border]] | | [[File:Networking_rutos_configuration_examples_copy_device_credentials_1.png|border|class=tlt-border]] |
| | | |
− | <ul>
| + | |
| <li>Step 3: Test MQTT connection with created Device using MQTTBoxMQTT Client tool</li> | | <li>Step 3: Test MQTT connection with created Device using MQTTBoxMQTT Client tool</li> |
− | <li>1. Click on “Create MQTT Client”</li> | + | <ol> |
− | <li>2. Configure MQTT Client:</li>
| + | <li>Click on “Create MQTT Client”</li> |
| + | <li>Configure MQTT Client:</li> |
| + | </ol> |
| </ul> | | </ul> |
| + | [[File:Networking_rutos_configuration_examples_create_MQTT_client_1.png|border|class=tlt-border]] |
| + | <ol> |
| + | <li> Any Client Name</li> |
| + | <li> Device “Client ID”</li> |
| + | <li> Device “Access Key”</li> |
| + | <li> Device “Access Token”</li> |
| + | <li> Set Protocol to “Mqtt/tcp”</li> |
| + | <li> Add Cervello Broker : connect.cervello.io:1883</li> |
| + | <li> Uncheck “Appernt Timestamp”</li> |
| + | </ol> |
| + | |
| + | hint: sub numbering presents circled numbers on the below figure |
| + | |
| + | [[File:Networking_rutos_configuration_examples_MQTT_client_conf_1.png|border|class=tlt-border]] |
| + | |
| + | 3.After saving MQTTBox Client, your device should appear as “Connected” on Cervello as the below figure. |
| + | |
| + | [[File:Networking_rutos_configuration_examples_MQTT_client_status_1.png|border|class=tlt-border]] |
| + | |
| + | <ol> |
| + | <li>Step 4: Publish your first Telemetry</li> |
| + | <li>Copy Needed Data from Device details</li> |
| + | <li> Navigate to Device Topics after opening the Device</li> |
| + | <li> Copy the “Broker”</li> |
| + | <li> Copy “Telemetry Topic”</li> |
| + | </ol> |
| + | |
| + | [[File:Networking_rutos_configuration_examples_MQTT_telemetry_1.png|border|class=tlt-border]] |
| + | |
| + | 2.Paste Copied Device data from Point 1 to MQTTBox |
| + | <ol> |
| + | <li>Device should be appeared as “Connected” at “MQTTBox”</li> |
| + | <li>Paste Device Topic at “Topic to publish” field</li> |
| + | <li>Paste the “Payload” at “Payload” with format “{"data": {"key": value}}”</li> |
| + | |
| + | |
| + | [[File:Networking_rutos_configuration_examples_MQTT_Box_1.png|border|class=tlt-border]] |
| + | |
| + | <li>Click on “Publish” to sendtelemetry</li> |
| + | </ol> |
| + | |
| + | 3.Once you publish, you should find your received Telemetry on “Device Details” telemetry Tab. |
| + | |
| + | [[File:Networking_rutos_configuration_examples_Telemetries_1.png|border|class=tlt-border]] |
| + | |
| + | ===Dealing with gateway peripherals=== |
| + | |
| + | Step 1: Create Peripheral Device |
| + | |
| + | [[File:Networking_rutos_configuration_examples_peripheral_device_1.png|border|class=tlt-border]] |
| + | |
| + | Step 2: View created Peripherals from “Device Details” periphrals Tab |
| + | |
| + | [[File:Networking_rutos_configuration_examples_peripheral_device_details_1.png|border|class=tlt-border]] |
| + | |
| + | Step 3: Copy Peripheral Topics |
| + | |
| + | [[File:Networking_rutos_configuration_examples_peripheral_topics_1.png|border|class=tlt-border]] |
| + | |
| + | Step 4: Publish Peripheral Telemetries from MQTTBox with Payload Format |
| + | |
| + | [[File:Networking_rutos_configuration_examples_peripheral_payload_1.png|border|class=tlt-border]] |
| + | |
| + | ===Dealing with GPIOs=== |
| + | |
| + | Step 1: Navigate to GPIOs of device and click “Create”. |
| + | |
| + | [[File:Networking_rutos_configuration_examples_gpio_create_1.png|border|class=tlt-border]] |
| + | |
| + | Step 2: Insert GPIO details |
| + | |
| + | [[File:Networking_rutos_configuration_examples_gpio_insert_1.png|border|class=tlt-border]] |
| + | |
| + | Step 3: Copy GPIO Topics |
| + | |
| + | [[File:Networking_rutos_configuration_examples_gpio_copy_1.png|border|class=tlt-border]] |
| + | |
| + | Step 4: Publish “GPIO” Telemetries from MQTTBox with Payload Format |
| + | |
| + | [[File:Networking_rutos_configuration_examples_gpio_insert_1.png|border|class=tlt-border]] |
| + | |
| + | >{" GP IO-N a me " :{" d a ta " : {" k e y" : v a lu e }}} |