Add Device
Device is a cloud endpoint for a physical device. Each device follows the device template created. The device pushes data to cloud using this endpoint through MQTT protocol
- Click menu to select device management.
- Click on add button to add a fresh device
- Provide an unique name for the device in the project
- Select the device template that this device must adhere to
- Set location to identify the base location of the device being added.
- Once the specified device template is selected the related fields will appear in the device form in view mode.
- Please note the mqtt connection details will be generated once the device is created.
- Create the device by pressing submit button.
- Once created it will show the connection parameters and how the device should connect using MQTT
- Mqtt connection details are printed with specific details
- MQTT Server Host – The MQTT server endpoint
- MQTT Server port – The MQTT port secured and unsecured
- MQTT Usernname and password – Credentials used to connect
- Topic Device should publish to – The device must publish the payloads on this MQTT topic for cloud to accept and process them
- Topic Device should listen to – The device must listen to this MQTT topic to get any command from the cloud system
- Sample JSON message will show a sample JSON payload the device must send and receive based on fields configured in the device teamplate