capabilities.work

Provision Feed and Seed Data

A 3-step recipe with Adafruit IO. We can help you get access.

Recipe · 3 steps

Provision Feed and Seed Data

Create a feed, write its first data point, and read the latest value back.

  1. Create a new feed for the user with the supplied name, optional key, and optional description.
  2. Write the initial data point to the newly created feed using its returned feed key.
  3. Read the most recent data point from the feed to confirm the seed value was stored and the feed is live.
What you'll need to have ready
  • username: A valid Adafruit IO username (the account that owns the feed).
  • aioKey: The Adafruit IO API key, sent in the X-AIO-Key header.
  • name: Human readable name for the new feed (e.g. "Living Room Temp").
  • key: Optional machine key for the feed; generated from the name if omitted.
  • description: Optional description for the new feed.
  • value: The initial data point value to write to the new feed.
For your developer

Arazzo workflow adafruit-io:provision-feed-and-seed-data, 3 operations: createFeed → createData → lastData. Specs on APIs.io.