Remarks

AdafruitIO
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.DataLoggers.AdafruitIO

Examples

Single value to a feed in the default group POST http://io.adafruit.com/api/v2/{UserName}/feeds/{FeedKey}/data where FeedKey is the AdafruitIO key for the feed the data is to be added to.

Single value to a feed in a named group POST http://io.adafruit.com/api/v2/{UserName}/feeds/{Group}.{FeedKey}/data where Group is an AdafruitIO group key and FeedKey is the key for the feed in that group.

Characteristic Locus
Inheritance object > AdafruitIO
Inherited Members object.Equals(object) object.Equals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object, object) object.ToString()
Namespace Meadow.Foundation.DataLoggers
Assembly AdafruitIO.dll

Syntax

public class AdafruitIO

Constructors

AdafruitIO(string, string, string)

Create a new AdafruitIO object

Declaration
public AdafruitIO(string userName, string iokey, string group = "")

Parameters

Type Name Description
string userName

Adafruit username

string iokey

Write key

string group

group

Remarks

AdafruitIO
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.DataLoggers.AdafruitIO

Properties

Group

Adafruit feed group This identifies the Adafruit feed group that will accessed

Declaration
public string Group { get; set; }

Property Value

Type Description
string

Remarks

AdafruitIO
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.DataLoggers.AdafruitIO

IOKey

Get or set the AdafruitIO AIO key. This key allows this class to identify itself with AdafruitIO and log data with the service.

Declaration
public string IOKey { get; set; }

Property Value

Type Description
string

Remarks

AdafruitIO
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.DataLoggers.AdafruitIO

URI

URI of the AdafruitIO api

Declaration
public string URI { get; set; }

Property Value

Type Description
string

Remarks

AdafruitIO
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.DataLoggers.AdafruitIO

UserName

Adafruit account profile username This name identifies the Adafruit IO user account that the feed belongs to

Declaration
public string UserName { get; set; }

Property Value

Type Description
string

Remarks

AdafruitIO
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.DataLoggers.AdafruitIO

Methods

PostValue(SensorReading)

Send a single value to AdafruitIO

Declaration
public void PostValue(SensorReading Value)

Parameters

Type Name Description
SensorReading Value

Value to send to AdafruitIO.

Remarks

AdafruitIO
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.DataLoggers.AdafruitIO

PostValues(SensorReading[])

Post a series of values to AdafruitIO.

Declaration
public void PostValues(SensorReading[] Values)

Parameters

Type Name Description
SensorReading[] Values

Array of values to send to AdafruitIO.

Remarks

AdafruitIO
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.DataLoggers.AdafruitIO