Remarks

AdafruitIO
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.DataLoggers.AdafruitIO
Characteristic Locus
Inheritance System.Object > AdafruitIO
Namespace Meadow.Foundation.DataLoggers
Assembly AdafruitIO.dll

Syntax

public class AdafruitIO : object

Constructors

AdafruitIO(String, String, String)

Create a new AdafruitIO object.

Declaration
public AdafruitIO(string UserName, string IOkey, string Group = null)

Parameters

Type Name Description
System.String UserName

Adafruit username

System.String IOkey

Write key

System.String Group

Properties

Group

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

Declaration
public string Group { get; set; }

Property Value

Type Description
System.String

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
System.String

URI

URI of the AdafruitIO api.

Declaration
public string URI { get; set; }

Property Value

Type Description
System.String

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
System.String

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.

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.