Search code examples
thingsboardtelemetry

Storing Data in Cassandra and Visualizing it in ThingsBoard Dashboard


I'm working on a project where I need to store data in Cassandra and visualize it in a dashboard using ThingsBoard. I have already set up a Cassandra cluster and designed the data schema. However, I'm unsure about the best approach to connect ThingsBoard to the Cassandra cluster and display the data in the dashboard.

Could you please advise if there is a more efficient way to store data and visualize it later in thingsboard?


Solution

  • ThingsBoard already has it's own Cassandra schema, therefore it would be more efficient to use it for visualizing the data in dashboards.

    You can use several APIs for sending the data to ThingsBoard e.g. via MQTT or HTTP: https://thingsboard.io/docs/pe/api/

    If you have the Professional Edition of ThingsBoard, you could also use Integrations & Data Converter: https://thingsboard.io/docs/user-guide/integrations/