Text Widget
A concise guide on using Datacake's Text Widget to create custom, sensor-integrated dashboard widgets with markdown support.
Last updated
A concise guide on using Datacake's Text Widget to create custom, sensor-integrated dashboard widgets with markdown support.
Last updated
Welcome to the Datacake Text Widget tutorial! This guide will walk you through the process of leveraging the Text Widget in Datacake to create custom widgets on your dashboard. The Text Widget supports markdown and the inclusion of sensor values like humidity, temperature, and more, allowing you to design widgets tailored to your needs.
Watch an interactive tutorial on using the text widget in this video.
To begin, navigate to your device dashboard on Datacake and enter edit mode by clicking on the "Edit Mode" button. The dashboard will switch to edit mode, enabling you to add new widgets.
Click on the "Add Widget" button, represented by a blue button.
A modal will appear, displaying the widget picker. Select the "Text Widget" to proceed.
You'll be directed to the Text Widget editor, where you can provide your text and see a preview. The editor supports basic markdown, allowing you to include headlines, bullet point lists, and various text styles.
Markdown Usage: Utilize markdown to structure your content with headlines, lists, and text formatting.
Saving: Once you've finished editing, click "Save" to add the widget to your dashboard. You can rearrange your widgets as needed. To save your changes and exit edit mode, click the now yellow "Exit Edit Mode" button.
Datacake allows you to integrate real-time sensor data into your Text Widget:
Re-enter edit mode and click on the pencil icon of the Text Widget to edit it.
To include sensor values, start by giving your section a title, like "Sensor Overview".
As you type a sensor name (e.g., "Temperature"), Datacake suggests fields matching your input. Select the desired field to include it.
You can also specify units for each sensor value to provide clear information (e.g., degrees Celsius for temperature, % for humidity).
Markdown for Styling: Enhance the presentation by using markdown to bold important figures or organize data efficiently.
Experimentation: The flexibility of the Text Widget and markdown allows for a range of visual customizations, encouraging experimentation.
Creating Text Widgets in a workspace dashboard involves an additional step:
Add a new dashboard via the sidebar and name it (e.g., "Text Widget Demo").
In the workspace dashboard, when adding a Text Widget, you must include the devices from which you want to access measurement values.
After specifying devices, you can proceed to write your content and include sensor values as described above.
If you encounter any issues or have questions while setting up your Text Widget, feel free to reach out to Datacake support. We value your feedback and are here to assist with any inquiries.
Thank you for following this tutorial on how to effectively use the Text Widget in Datacake. Stay tuned for more tips and updates!