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
| Parameter | Type | Required | Description |
|---|---|---|---|
thing_id | string | Yes | The ID of the thing the property belongs to. |
property_id | string | Yes | The ID of the property to look up. |
Response
{
"property": {}
}Get thing
Look up the details of a specific Arduino thing.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
thing_id | string | Yes | The ID of the thing to look up. |
Response
{
"thing": {}
}List device events
Retrieve recent device events from the Arduino IoT Cloud.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
device_id | string | Yes | The ID of the device to get events for. |
direction | string | No | How to sort events by time: asc for oldest first, or desc for newest first. |
limit | number | No | Maximum number of events to return. |
Response
{
"events": {}
}List thing properties
List all properties for a given Arduino thing.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
thing_id | string | Yes | The 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
| Parameter | Type | Required | Description |
|---|---|---|---|
thing_id | string | Yes | The ID of the thing to update. |
property_id | string | Yes | The ID of the property to update. |
value | object | Yes | The new value to send to the property. |
Response
{
"result": {}
}