Build Dashboard with Block
A 3-step recipe with Adafruit IO. We can help you get access.
Recipe · 3 steps
Build Dashboard with Block
with Adafruit IO
Create a dashboard, add a block to it, and read the block back.
- Create the dashboard that will hold the visualization block.
- Create a block on the dashboard, binding it to the supplied feed id and using the requested visualization type.
- Read the block back from the dashboard to confirm it was created and placed.
What you'll need to have ready
- username: A valid Adafruit IO username.
- aioKey: The Adafruit IO API key, sent in the X-AIO-Key header.
- dashboardName: Display name for the new dashboard.
- dashboardDescription: Optional description for the dashboard.
- blockName: Display name for the block added to the dashboard.
- visualType: The block visualization type (e.g. "line_chart", "gauge", "text").
- feedId: Optional feed id to bind the block to (used as block_feeds.feed_id).
For your developer
Arazzo workflow adafruit-io:build-dashboard-with-block, 3 operations: createDashboard → createBlock → getBlock. Specs on APIs.io.