Adafruit IO Basics: Feeds

Similar documents
Adafruit IO Basics: Analog Input

Adafruit IO Basics: Digital Input

Adafruit IO Basics: Temperature & Humidity

Adafruit IO Basics: Digital Output

Datalogging Hat with FLORA BLE

Adafruit IO Basics: Color

Desktop MQTT Client for Adafruit.io

Adafruit IO Basics: Servo

Using IFTTT with Adafruit IO to Make an IoT Door Detector

Android GBoard Morse Code Control with Circuit Playground Express

Using Zapier with Adafruit IO

Adafruit Capacitive Touch Sensor Breakouts

Adafruit IO Basics: ESP Arduino

Adafruit AM2320 Sensor

Make a Google Glass remote with Bluefruit

Feather Weather Lamp. Created by Ruiz Brothers. Last updated on :54:26 PM UTC

'Sup Brows. Created by Kate Hartman. Last updated on :52:04 PM UTC

Adafruit VL53L0X Time of Flight Micro-LIDAR Distance Sensor Breakout

Superwallet User Manual

Bill Redirect Send BluePrint fingerprint Symcod reader numbers directly in your existing application software

Adafruit MCP9808 Precision I2C Temperature Sensor Guide

Snake Charmer Box. Created by Dano Wall. Last updated on :07:25 PM UTC

Adobe InDesign. Figure 1 Apply fill and stroke color to text by using the Swatches panel

Joy Featherwing. Created by Dean Miller. Last updated on :03:07 PM UTC

Sino:bit with Arduino

Adafruit DRV2605 Haptic Controller Breakout

Adafruit Color Sensors

Monochrome OLED Breakouts

Alarm.com Wi-Fi Doorbell Camera and Slim Line - Installation Guide

Con Badge with Circuit Playground Express

Non-SAC Member Facility Higg Index Guide: Overview

Naughty or Nice Machine

Arduino Lesson 6. Digital Inputs

The KWallet Handbook. George Staikos Lauri Watts Developer: George Staikos

Adafruit GPIO Expander Bonnet for Raspberry Pi Created by Kattni Rembor. Last updated on :12:47 PM UTC

Adafruit I2C FRAM Breakout

Adafruit Mini TFT with Joystick Featherwing

Alarm.com Wi-Fi Doorbell Camera and Slim Line

Color Swatch Add-on User Guide

Adafruit Si7021 Temperature + Humidity Sensor

imtokenwallet Manual If you have any question, please contact us via our telegram (

Adafruit CCS811 Air Quality Sensor

Adafruit APDS9960 breakout

Adafruit MPRLS Ported Pressure Sensor Breakout

IQ Image Quality Enhancement

Trellis 3D Printed Enclosure

i2c/spi LCD Backpack Created by lady ada Last updated on :11:04 PM UTC

Adafruit eink Display Breakouts

Pushrod Garage. Created by John Park. Last updated on :07:30 PM UTC

Adafruit AMG8833 8x8 Thermal Camera Sensor

Rx Snapchat Spectacles for DIY and STEM

Secret Hollow Book Intrusion Detector

Adafruit 1.27" and 1.5" Color OLED Breakout Board

PVC Documentation. Release Marin Atanasov Nikolov

Adafruit GPS Hat in Windows IoT Core

Adafruit TPL5111 Reset Enable Timer Breakout

Adafruit Si5351 Clock Generator Breakout

3D Printed Google Glass Adapter

Adafruit SGP30 TVOC/eCO2 Gas Sensor

Easy Sparkle Pocket T-Shirt

Adafruit Flora Bluefruit LE

Home Security Begins at the Front Door

MLX90393 Wide-Range 3-Axis Magnetometer

Webcam Cover-Up Lego brick with Adabot Mini Fig

TSL2561 Luminosity Sensor

BLE Light Switch with Feather nrf52840 and Crickit

MCP Bit DAC Tutorial

Adafruit AS channel Visible Light Sensor

Overview. Label Gallery SDK User Guide

Adafruit MMA8451 Accelerometer Breakout

Adafruit DRV2605 Haptic Controller Breakout

Adafruit TPL5110 Power Timer Breakout

Home Security Begins at the Front Door

PyPortal NeoPixel Color Picker Created by Kattni Rembor. Last updated on :42:41 PM UTC

Steam Heat Retrofit for Coover Hall

Adafruit ATWINC1500 WiFi Breakout

ISS Pin. Created by Leslie Birch. Last updated on :27:30 PM UTC

Clare Video Doorbell Version 2 User Manual

Using BodyPaint 3D with LightWave

Interior Purse Light. Created by Becky Stern. Last updated on :41:08 PM UTC

Adafruit MMA8451 Accelerometer Breakout

Adafruit PowerBoost 500 Shield

Video Doorbell Pro 1

Electra Desktop Wallet Set-Up Guide

Circuit Playground Express Laser Tag

Micro:bit with Arduino

Ring Doorbell is 4.98 x 2.43 x 0.87 inches, x 6.17 x 2.21 cm.

FeatherWing Proto, Doubler and Tripler

Adafruit 7-Segment LED FeatherWings

Properly Applying Loose Fitting Victoria 4 Clothing to Genesis or Genesis 2 Female in DAZ 3D

Adafruit LED Sequins. Created by Becky Stern. Last updated on :02:00 AM UTC

Adafruit HUZZAH32 - ESP32 Feather

3D Printed Camera Tripod Adapter for Telescope

Introducing Adafruit Trellis

Adafruit MMA8451 Accelerometer Breakout

Adafruit WINC1500 WiFi Shield for Arduino

Crickit Dancing Marionette Kit Created by Dano Wall. Last updated on :03:11 PM UTC

NeoPixie Dust Bag with Circuit Playground Express

Wind Blowing Emoji Prop

Smartchic. ios mobile app case study. Shanelle Roberts June 2016

Transcription:

Adafruit IO Basics: Feeds Created by Todd Treece Last updated on 2017-02-24 06:06:09 PM UTC

Guide Contents Guide Contents Overview Creating a Feed Editing a Feed License Settings Privacy Settings Notification Settings History Settings Deleting a Feed Downloading Feed Data Feed API 2 3 4 10 11 14 16 17 19 22 25 Adafruit Industries https://learn.adafruit.com/adafruit-io-basics-feeds Page 2 of 25

Overview Feeds are the core of the Adafruit IO system. The feed holds metadata about the data you push to Adafruit IO. This includes settings for whether the data is public or private, what license the stored sensor data falls under, and a general description of the data. The feed also contains the sensor data values that get pushed to Adafruit IO from your device. You will need to create one feed for each unique source of data you send to the system. For example, if you have a project with one temperature sensor and two humidity sensors, you would need to create three feeds. One feed for the temperature sensor, and one feed for each humidity sensor. First, let's take a look at how to create a new feed using Adafruit IO. Adafruit Industries https://learn.adafruit.com/adafruit-io-basics-feeds Page 3 of 25

Creating a Feed Creating a Feed on Adafruit IO is a very simple process. When you login to your io.adafruit.com (http://adafru.it/ez8) account, you will see a list of your current dashboards like the list shown below. Click the Feeds link on the left hand side of the screen to navigate to the Feeds list. Adafruit Industries https://learn.adafruit.com/adafruit-io-basics-feeds Page 4 of 25

Next, click on the Actions menu on the left hand side of the screen. Adafruit Industries https://learn.adafruit.com/adafruit-io-basics-feeds Page 5 of 25

Next, click on the Create a New Feed menu item. Adafruit Industries https://learn.adafruit.com/adafruit-io-basics-feeds Page 6 of 25

A form modal will launch, and you will be presented with two text inputs: Name - A short descriptive title of your data. Letters, numbers, and spaces are valid characters, and this field is required. The feed name must be unique for your account. Description - A long form description of your data. This field is not required, but it's useful to provide a detailed description if your feed will be public. Adafruit Industries https://learn.adafruit.com/adafruit-io-basics-feeds Page 7 of 25

Click the Create Feed button once you have finished entering your feed's name and description. You will then be redirected to your new feed. Adafruit Industries https://learn.adafruit.com/adafruit-io-basics-feeds Page 8 of 25

Next, we will look at how to edit a feed. Adafruit Industries https://learn.adafruit.com/adafruit-io-basics-feeds Page 9 of 25

Editing a Feed If you need to change the name, key, or description of your feed, you can do that by navigating to your feed and clicking the gear icon under the Feed Information menu on the right hand side of the screen. You will be presented with a form so you can edit the name, key, and description of the feed. The key for a feed can be used when accessing the feed programatically. By default, the key is a lowercase version of your feed name with any spaces replaced with dashes. You can modify the key to be any unique combination of lowercase letters, numbers, and dashes. Adafruit Industries https://learn.adafruit.com/adafruit-io-basics-feeds Page 10 of 25

Click Save once you have finished editing the values. License Settings If you are sharing data publicly, you should set the appropriate license for your data. You can choose to reserve all rights for the data, or license it under any of the Creative Commons licenses (http://adafru.it/ezc) in the list. Adafruit Industries https://learn.adafruit.com/adafruit-io-basics-feeds Page 11 of 25

To change the license for your feed, click on the gear icon under the License menu on the bottom right of the screen. You will be presented with a list of licenses to select from. Click on the license to save your selection. Adafruit Industries https://learn.adafruit.com/adafruit-io-basics-feeds Page 12 of 25

You will then be presented with a menu of licenses to select from. Adafruit Industries https://learn.adafruit.com/adafruit-io-basics-feeds Page 13 of 25

Click on the Save button to save your license selection. Privacy Settings If you would like to share your data publicly, you can change your feed's privacy settings to make the feed public. To do this, you will need to click on the gear icon under the Privacy menu on the right hand side of the screen. Adafruit Industries https://learn.adafruit.com/adafruit-io-basics-feeds Page 14 of 25

Select either Public or Private from the menu, and click the Save button to change feed visibility. Adafruit Industries https://learn.adafruit.com/adafruit-io-basics-feeds Page 15 of 25

Notification Settings When notifications are activated, Adafruit IO will send an email to alert you if no new data has been received for your feed within the given amount of time. To change the notification settings for your feed, click on the gear icon under the Notifications menu on the right hand side of the screen. Next, enable notifications by selecting ON from the status menu, and selecting a timeout. Click Save when finished. Adafruit Industries https://learn.adafruit.com/adafruit-io-basics-feeds Page 16 of 25

History Settings Turning history off for your feed will mean only the last value received is stored. History is on for all new feeds by default, but you can turn history off if you would like to push large values. By default you can push values up to 1KB in length, but with feed history off, you can publish values up to 100KB in length. To change the history settings for your feed, click on the gear icon under the Feed History menu on the right hand side of the screen. Adafruit Industries https://learn.adafruit.com/adafruit-io-basics-feeds Page 17 of 25

Next, enable or disable history by selecting ON or OFF from the menu, and click Save. Adafruit Industries https://learn.adafruit.com/adafruit-io-basics-feeds Page 18 of 25

Deleting a Feed If you would like to delete a feed, you will first need to navigate back to the list of feeds by clicking on the Feeds menu item on the left hand side of the screen. Once the list of feeds has loaded, you will need to click on the checkbox next to the feed you wish to delete. Adafruit Industries https://learn.adafruit.com/adafruit-io-basics-feeds Page 19 of 25

Next, click on the Actions menu and select Delete Selected Feeds from the list of options to delete your feed. Next, we will look at how you can download the data from your feed in various formats. Adafruit Industries https://learn.adafruit.com/adafruit-io-basics-feeds Page 20 of 25

Adafruit Industries https://learn.adafruit.com/adafruit-io-basics-feeds Page 21 of 25

Downloading Feed Data If you would like to download all of the stored data from your feed, you can do so by navigating to your feed from the Feeds list. Click on the name of your feed to load it. Next, click on the Actions menu below the feed chart. Adafruit Industries https://learn.adafruit.com/adafruit-io-basics-feeds Page 22 of 25

Select Download All Data from the actions menu. Adafruit Industries https://learn.adafruit.com/adafruit-io-basics-feeds Page 23 of 25

Finally, click on one of the available formats to download your feed data in that format. Next, we will look at the options for interacting with feeds using the REST API and client libraries Adafruit Industries https://learn.adafruit.com/adafruit-io-basics-feeds Page 24 of 25

Feed API If you would like to learn more information about accessing feeds via the Adafruit IO REST API, you can check out the official API documentation. Feed REST API Docs http://adafru.it/uff We also have a growing list of client libraries. Each library supports reading, creating, updating, and deleting feeds. Visit the links below to learn more about the library you wish to use. Ruby Client Feed Docs http://adafru.it/enb Python Client Feed Docs http://adafru.it/eli Node.js Client Feed Docs http://adafru.it/elj Adafruit Industries Last Updated: 2017-02-24 06:06:08 PM UTC Page 25 of 25