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 | Identifier of the thing that owns the property. |
property_id | string | Yes | Identifier of the property to retrieve. |
Response
{
"property": {}
}Get thing
Fetch metadata for a specific Arduino thing.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
thing_id | string | Yes | Identifier of the thing to retrieve. |
Response
{
"thing": {}
}List device events
Retrieve recent device events from the Arduino IoT Cloud.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
device_id | string | Yes | Identifier of the device to query. |
direction | string | No | Sort direction for events (asc or desc). |
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 | Identifier 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
| Parameter | Type | Required | Description |
|---|---|---|---|
thing_id | string | Yes | Identifier of the target thing. |
property_id | string | Yes | Identifier of the property to update. |
value | object | Yes | Value to publish to the property. |
Response
{
"result": {}
}