capabilities.work

Inspect Channel and Aggregate Feed

A 2-step recipe with ThingSpeak. We can help you get access.

Recipe · 2 steps

Inspect Channel and Aggregate Feed

Read channel settings, then read an averaged feed over a day window.

  1. Read the channel metadata to confirm it exists and capture its last entry id.
  2. Read the channel feed over the recent window with averaging applied.
What you'll need to have ready
  • userApiKey: User API Key on the THINGSPEAKAPIKEY header to read channel settings.
  • channelId: Numeric id of the channel to inspect and aggregate.
  • readApiKey: Optional Channel Read API Key for reading a private feed.
  • days: Number of days of history to include.
  • average: Averaging interval in minutes (10, 15, 20, 30, 60, 240, 1440, daily).
For your developer

Arazzo workflow thingspeak:inspect-channel-and-aggregate-feed, 2 operations: readChannel → readChannelFeed. Specs on APIs.io.