Use these descriptions and procedures to add a model to a project:
Before you can add a Device to a Project in LoopCloud, Device Models must be created. Models are specific to a project.
A device model must be created to initiate a communication channel for the device to connect to LoopCloud with specific protocol parameter settings. Standard protocols include: HTTP, HTTPS, MQTT, MQTTS, LWM2M, LWM2M with DTLS. In addition, custom data blocks can be configured. Additional protocol descriptions can be found in:
When you configure a model, choose from a predefined set. A JSON file with configuration parameters can be downloaded and this file can be used to set up your device. You can also supply parameters, if your device requires additional key-value pairs.
A model cannot be deleted if it is being used by a device. The device must be deleted before the model can be removed.
The following types are supported in LoopCloud.
Several options can be chosen when creating a model. For the purpose of this example, the steps cover a basic configuration.
To create a model:
This example shows the JSON code for the MQTT TLS/SSL connection parameters selection.
To easily identify a device's model, a specific graphics file, such as a vendor's image, can be uploaded and inserted into the project's model. Standard image formats, such as jpg and gif, are supported.
Generic Model Image
To change a model's image:
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.