# Bolt Iot

Bolt IoT is an integrated platform that enables users to build IoT projects by connecting sensors and actuators to the internet, offering cloud-based control and monitoring capabilities.

- **Category:** internet of things
- **Auth:** API_KEY
- **Composio Managed App Available?** N/A
- **Tools:** 6
- **Triggers:** 0
- **Slug:** `BOLT_IOT`
- **Version:** 20260211_00

## Tools

### Analog Read

**Slug:** `BOLT_IOT_ANALOG_READ`

Tool to read the analog value from a specified pin on a Bolt device. Use when you need sensor readings (0–1023) after confirming the device is online.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `pin` | string ("A0" | "A1" | "A2" | "A3") | Yes | Analog input pin to read. Valid values: 'A0', 'A1', 'A2', 'A3'. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Check Bolt device online status

**Slug:** `BOLT_IOT_CHECK_DEVICE_STATUS`

Tool to check whether a specified Bolt device is online. Use when you need to verify device connectivity before sending commands (e.g., control signals). Example: 'Check if device BOLT1234567 is online.'

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `deviceID` | string | Yes | Unique identifier of the Bolt IoT device. Must be in the format 'BOLTXXXXXXX'. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Bolt IoT Digital Write

**Slug:** `BOLT_IOT_DIGITAL_WRITE`

Tool to set a digital pin HIGH or LOW on a specified Bolt device. Use when controlling actuators or LEDs via digital output.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `pin` | string | Yes | The digital pin number to set (e.g., '0', '1', etc.). |
| `state` | string ("HIGH" | "LOW") | Yes | Desired digital output state for the pin: 'HIGH' or 'LOW'. |
| `deviceName` | string | Yes | The name or ID of the Bolt device as shown in your Bolt IoT account. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Bolt IoT Serial Read

**Slug:** `BOLT_IOT_SERIAL_READ`

Tool to read incoming serial data from a Bolt device. Use when you've initialized UART with serialBegin and need to retrieve serial data.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `till` | integer | No | ASCII value of the character up to which data should be read. If omitted, reads until newline (ASCII 10). |
| `deviceName` | string | Yes | The name or ID of the Bolt device as shown in your Bolt IoT account. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Bolt IoT Serial Write

**Slug:** `BOLT_IOT_SERIAL_WRITE`

Tool to send serial data to a Bolt device. Use when you need to transmit ASCII data over UART after initializing UART with serialBegin.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data string to transmit as ASCII characters over UART. |
| `deviceName` | string | Yes | The name or ID of the Bolt device as shown in your Bolt IoT account. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Bolt IoT Serial Write & Read

**Slug:** `BOLT_IOT_SERIAL_WRITE_READ`

Tool to send serial data and read the response on a Bolt device. Use when you need to transmit ASCII data over UART and capture its reply immediately.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | ASCII string to transmit over UART. |
| `deviceName` | string | Yes | The name or ID of the Bolt device as shown in your Bolt IoT account. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
