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_idstringYesIdentifier of the thing that owns the property.
property_idstringYesIdentifier of the property to retrieve.

Response

{
  "property": {}
}

Get thing

Fetch metadata for a specific Arduino thing.

Parameters

ParameterTypeRequiredDescription
thing_idstringYesIdentifier of the thing to retrieve.

Response

{
  "thing": {}
}

List device events

Retrieve recent device events from the Arduino IoT Cloud.

Parameters

ParameterTypeRequiredDescription
device_idstringYesIdentifier of the device to query.
directionstringNoSort direction for events (asc or desc).
limitnumberNoMaximum number of events to return.

Response

{
  "events": {}
}

List thing properties

List all properties for a given Arduino thing.

Parameters

ParameterTypeRequiredDescription
thing_idstringYesIdentifier of the thing to inspect.

Response

{
  "properties": {}
}

List things

Retrieve all Arduino IoT Cloud things accessible to the token.

Response

{
  "things": {}
}

Publish property value

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

Parameters

ParameterTypeRequiredDescription
thing_idstringYesIdentifier of the target thing.
property_idstringYesIdentifier of the property to update.
valueobjectYesValue to publish to the property.

Response

{
  "result": {}
}

On this page