Connect a device and check connectivity
In this step, you will create a device on Edge and activate it.
Add a device on Edge
Section titled “Add a device on Edge”Devices created on Edge are synchronized to your ThingsBoard account automatically.
-
In the Edge UI (http://localhost:8080), go to Entities → Devices and click Add device (+).
-
Enter a name and click Add.
Activate the device
Section titled “Activate the device”After you create the device, the Device created. Let’s check connectivity! dialog opens. It contains a ready-to-use command that sends a test telemetry value (temperature = 25) to Edge. The command already includes the access token of the device.
-
In the dialog, select your protocol (HTTP, MQTT, or CoAP) and operating system (Windows, MacOS, or Linux). If the dialog lists client tools to install first, such as
curl, install them. -
Copy the command and run it in your terminal. Edge has received the data when the HTTP command shows the
HTTP/1.1 200response, the MQTT command printsreceived PUBACK, or the CoAP command prints a2.01response. -
In the dialog, State changes from Inactive to Active, and Latest telemetry shows the
temperaturevalue. Close the dialog. -
Optional: In your ThingsBoard account, go to Entities → Devices to confirm the device appears there.
Checklist for moving on
Section titled “Checklist for moving on”Was this helpful?