Understanding data flow and entity synchronization
In this step, you will learn how telemetry flows from Edge to your ThingsBoard account, how entities created on Edge are synchronized to the server, and how to assign server-side entities to an Edge instance.
Push data from Edge to server
Section titled “Push data from Edge to server”The Edge Root Rule Chain controls how Edge processes and forwards data locally. It includes a push to cloud node that sends telemetry and attributes to your ThingsBoard account after they are saved in the local Edge database.
To see it:
-
In the Edge UI, go to Rule chains.
-
Open the Edge Root Rule Chain. The Post telemetry and Post attributes messages go first to the nodes that save the data locally, and then to the push to cloud node, which forwards them to the server.
If the Edge is offline, the messages wait in a local queue and are pushed when the connection is restored.
Provision entities from Edge to server
Section titled “Provision entities from Edge to server”Entities created on an Edge instance, like devices, assets, and dashboards, are synchronized to your ThingsBoard account automatically.
To verify:
-
In your ThingsBoard account, go to Entities → Devices. The devices you created on Edge appear here.
-
Click the device to open its details and go to the Relations tab. Switch the direction from From to To. The list shows the ManagedByEdge relation from your Edge instance.
Provision entities from server to Edge
Section titled “Provision entities from server to Edge”You can assign entities created in your ThingsBoard account, like dashboards, device profiles, or rule chains, to an Edge instance. Once assigned, they synchronize to Edge automatically. The steps below use a dashboard as an example.
-
In your ThingsBoard account, go to Dashboards and create a new dashboard. Once configured and saved, go to Edge Management → Instances.
-
In the row of your Edge instance, click the Manage dashboards icon. The Dashboards page of this Edge opens.
-
Click +. In the Assign Dashboard(s) To Edge dialog, select the dashboard and click Assign.
-
Open the Edge UI (http://localhost:8080) and go to Dashboards. The assigned dashboard is available on Edge with the same widgets and configuration.
Checklist
Section titled “Checklist”Was this helpful?