A Device is a representation of a device or program that is connected to the cloud. Through a Hub, it exchanges messages with other Devices and cloud services.
Devices and their Hub use the MQTT protocol to send and receive messages.
The Hub provides per-device usage metrics, see this page for more information.
Each Device has a unique identifier that is used both for API calls and for MQTT connections (as the MQTT Client Identifier). Since the protocol doesn’t support multiple clients having the same identifier, it is necessary that each client is mapped to a different Device with a unique ID.
The Device ID therefore provides a very crude way of authenticating a device, which should not be considered secure. To establish a secure connection, a Device must connect using TLS with mutual authentication.
It is possible to restrict a Device and forbid it to connect insecurely using the “Allow/Deny Insecure” feature.
For an in-depth discussion see Security.
Once you have created a Hub, you can add a Device to it.
Click Add Devices in the Devices tab of your Hub.
Enter a name for your Device.
Choose a security setting for your Device.
Click Add a Device to your Hub.
The credentials of the Device are displayed. You must keep them safe for later as we do not store them ourselves.
Click Close or Add a new Device.
On the Device details page, click Delete Device.
It is also possible to delete multiple Devices at once by selecting them in the Device list.