Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Before you can add a Device to a Project in LoopCloud, Device Models must be created. Models are specific to a project. A model represents a device’s method of communicating with LoopCloud. Standard protocols include: HTTP, HTTPS, MQTT, MQTTS, LWM2M, LWM2M with DTLS. In addition, custom data blocks can be configured. See also, Loop and IoT Standards Compliance.

When you configure a model, choose from a predefined set (JSON code is displayed). You can also supply parameters, if your device requires additional key-value pairs.

To create a model:

  1. Click the company name at the top of the LoopCloud window.
  2. Click a Project.
  3. In the navigation panel, select Configuration > Models.
  4. Select the EMBEDDED tab. The other tabs, LOOPEDGE and POLL, will be covered in a more advanced topics section.
  5. Click New Model.
  6. In the Device Model Editor, select the CONFIG tab.
  7. Enter a Model Name.
  8. Click a checkbox from the Predefined Sets list to select a model and view its JSON code.
  9. Click Save.


This example shows the JSON code for the MQTT TLS/SSL connection parameters selection.

  "mqttHostName": "%MQTT_HOST%",
  "mqttSslPort": "%MQTT_SSL_PORT%",
  "mqttServerCA": "%MQTT_CA_CERT%",
  "mqttUserName": "%MQTT_USERNAME%",
  "mqttPassword": "%MQTT_PASSWORD%",
  "mqttClientId": "%MQTT_CLIENT_ID%",
  "mqttReqTopicName": "%MQTT_REQ_TOPIC%",
  "mqttRespTopicName": "%MQTT_RESP_TOPIC%",
  "mqttDataTopicName": "%MQTT_DATA_TOPIC%"

  • No labels