Datacake Docs
  • Welcome
  • Get Started
  • Changelog
  • Best practices
    • Best practices: Getting started
    • Best practices: Resolution (Timeframe)
    • Best practices: Dashboards
    • Best practices: Reports
    • Best practices: Grouping Devices
  • Datacake LNS
    • Getting Started
    • Gateways
      • Milesight LoRaWAN Gateway - UG6x
      • RAKwireless WisGate Edge Light 2
    • Devices
    • Add Devices without Gateway
  • Device
    • Product
    • Configuration
    • Claiming
    • Historical Data
    • Database
      • Configuration Fields
      • Fields
        • Manual input
        • Field Roles
        • Formulas
        • Mapping Fields
      • Data retention & Datapoints
      • Examples
        • Mapping 4-20mA Signals
        • Converting Units
  • Dashboards
    • Global Dashboards
      • Setting Homepage
    • Device Dashboards
    • Multi-Device Dashboards
    • Widgets
      • Value Widget
      • Chart Widget
      • Image Map
      • Map Widget
      • Text Widget
      • SOS Widget
      • Boolean Widget
      • iFrame Widget
      • Downlink Widget
      • Set Value Widget
      • Measurement List Widget
      • Heatmap Widget
      • Table Widget
      • Image Widget
  • Portal
    • Multi-Tenancy (Workspaces)
    • Reports
      • Energy Report
    • Administrators
    • Members
      • API Users
    • Security & Privacy
    • Billing
      • Support Packages
      • VAT Exemption / Tax ID
      • SMS Credits
      • Access Invoices
      • Unused time and Remaining time in Invoices (Prorations)
      • Codes
    • White Label
    • Rules
      • Legacy Rule Engine
        • Sending notifications via Telegram
      • New Rule Engine
        • Rule Engine Table Overview
        • Copy/Paste and Template Functionality
        • Advanced Rule Engine E-Mail and Webhook Templates
        • Time Restrictions
    • Zones
  • Cake Red
    • Get Started
    • Overview
  • LoRaWAN
    • Get Started
      • CSV Import
      • Custom LoRaWAN Device
    • Configuring LNS
      • The Things Stack (TTN / TTI) Automated Setup
      • The Things Stack (TTN / TTI) Manual Setup
      • Loriot
      • Kerlink Wanesy
      • Helium
      • ChirpStack
      • Tektelic
      • Actility ThingPark
      • Senet
      • Milesight Gateway
      • KPN
    • Downlinks (LoRaWAN)
      • Set Time Frame
    • Securing Webhooks
    • Payload Decoders
      • Location and GPS
      • Access Gateway Metadata
      • Access Measurements
      • Global Variables
    • Using Cayenne LPP
    • Converting Payload
  • Generic API Devices
    • HTTP Downlinks
  • Integrations
    • MQTT
    • Particle
      • Get Started
      • Adding Integrations
      • Decoding Payloads
      • Calling Functions
      • Templates
        • Particle Tracker One
    • Incoming Webhooks
    • Outgoing Webhooks
      • Securing Outgoing Webhooks in Datacake
    • Golioth
    • Blues Wireless Notecard
    • Sigfox
    • Swarm Asset Tracker
    • Grandcentrix Modbus Cloud Connect
    • YuDash LYNX IoT Gateway
    • Dragino NB-IoT
      • Changing NB-IoT Bands
    • Hardwario CHESTER
    • 1NCE OS
  • API
    • Exporting Data
    • Record Measurements via API
    • Node RED to Datacake
    • Generate Access Token
    • Internal MQTT
      • Get Started
      • MQTT Documentation
      • MQTT over WebSocket
      • Example Code
    • GraphQL API
      • Using GraphQL
      • Device Creation
      • Tutorials
        • Read Group via Tags
  • Guides
    • Python
    • Send Slack Notifications
    • Forward Data to Cake Red
    • Multiple Data Feeds
    • Automated Dynamic Downlinks
    • Ingesting JSON Data into Datacake API Devices
    • Working with Default HTTP Decoder on API Devices and Code Examples
    • Accessing Measurements in Decoders
    • Connecting Datacake to Notion Using Zapier
    • How to set up and use location on non-GPS devices
    • How to integrate with AWS IoT Core
    • How to Schedule Mass-Downlinks (Multicast) using Datacake Rule Engine
    • How to Map Sensor Values to Ranges or Booleans, Strings using Mapping Fields
    • Understanding Internal vs. External MQTT Brokers on Datacake
    • Sending UDP Messages between 1NCE OS and Datacake
    • Concepts of LoRaWAN Payload Decoders on Datacake
    • How to check if a value stays above or below limits for given time
Powered by GitBook
On this page
  • Datacake Text Widget
  • Video
  • Getting Started with the Text Widget
  • Adding a Text Widget
  • Configuring Your Text Widget
  • Including Sensor Values
  • Styling and Customization
  • Workspace Dashboard Widgets
  • Support and Feedback

Was this helpful?

  1. Dashboards
  2. Widgets

Text Widget

A concise guide on using Datacake's Text Widget to create custom, sensor-integrated dashboard widgets with markdown support.

Last updated 9 months ago

Was this helpful?

Datacake Text Widget

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.

Video

Watch an interactive tutorial on using the text widget in this video.

Getting Started with the Text Widget

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.

Adding a Text Widget

  1. Click on the "Add Widget" button, represented by a blue button.

  2. A modal will appear, displaying the widget picker. Select the "Text Widget" to proceed.

  3. 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.

Configuring Your Text Widget

  • 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.

Including Sensor Values

Datacake allows you to integrate real-time sensor data into your Text Widget:

  1. Re-enter edit mode and click on the pencil icon of the Text Widget to edit it.

  2. To include sensor values, start by giving your section a title, like "Sensor Overview".

  3. As you type a sensor name (e.g., "Temperature"), Datacake suggests fields matching your input. Select the desired field to include it.

  4. You can also specify units for each sensor value to provide clear information (e.g., degrees Celsius for temperature, % for humidity).

Styling and Customization

  • 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.

Workspace Dashboard Widgets

Creating Text Widgets in a workspace dashboard involves an additional step:

  1. Add a new dashboard via the sidebar and name it (e.g., "Text Widget Demo").

  2. In the workspace dashboard, when adding a Text Widget, you must include the devices from which you want to access measurement values.

  3. After specifying devices, you can proceed to write your content and include sensor values as described above.

Support and Feedback

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!