Lodol Docs

Arduino

API actions for the Arduino integration.

Arduino

Monitor and control Arduino IoT Cloud things and device events.


Get property

Retrieve a specific property from an Arduino thing.

Parameters

ParameterTypeRequiredDescription
thing_idstringYesThe ID of the thing the property belongs to.
property_idstringYesThe ID of the property to look up.

Response

{
  "property": {}
}

Get thing

Look up the details of a specific Arduino thing.

Parameters

ParameterTypeRequiredDescription
thing_idstringYesThe ID of the thing to look up.

Response

{
  "thing": {}
}

List device events

Retrieve recent device events from the Arduino IoT Cloud.

Parameters

ParameterTypeRequiredDescription
device_idstringYesThe ID of the device to get events for.
directionstringNoHow to sort events by time: asc for oldest first, or desc for newest first.
limitnumberNoMaximum number of events to return.

Response

{
  "events": {}
}

List thing properties

List all properties for a given Arduino thing.

Parameters

ParameterTypeRequiredDescription
thing_idstringYesThe ID of the thing to list properties for.

Response

{
  "properties": {}
}

List things

List all things in your Arduino IoT Cloud account.

Response

{
  "things": {}
}

Publish property value

Send a new value to an Arduino property to control connected hardware.

Parameters

ParameterTypeRequiredDescription
thing_idstringYesThe ID of the thing to update.
property_idstringYesThe ID of the property to update.
valueobjectYesThe new value to send to the property.

Response

{
  "result": {}
}

On this page