• ACTUATION
  • MONITORING
  • LOGGING
  • MANUAL

How to trigger remote hardware with your AI

Connect your AI to the Particle cloud to turn digital commands into physical movement. Once linked, your agent controls hardware directly.

Ask AI about this page

Short answer

How can I use my AI to control physical devices?

Your AI uses the call_function tool to trigger specific cloud functions on your Particle devices. This lets you actuate hardware like valves or motors by telling your agent what to do. You'll see how the AI translates your intent into hardware execution below.

Hardware outcomes

Physical results

What happens when your AI executes a command.

ACTUATION

Physical movement

The AI triggers a cloud function that flips a switch or opens a valve. Your hardware responds to the digital signal immediately.

MONITORING

Status updates

The AI checks the state of your device via the cloud. You get real-time feedback on whether a pump is running or a sensor is active.

LOGGING

Event history

Every command sent by your agent is recorded in the Particle cloud. You can track when hardware was triggered and why.

MANUAL

Human intervention

If a command fails or a device is offline, the AI tells you. You decide whether to retry the command or check the hardware manually.

The workflow

What your AI does when you send a command.

The AI acts as the bridge between your chat interface and the Particle cloud.

  1. Interpret intent

    Your agent analyzes your request to determine which specific cloud function needs to run. It maps your natural language to the correct function name.

    call_function
  2. Execute function

    The AI sends the instruction to the Particle cloud. This triggers the logic you've already uploaded to your physical device.

    call_function
  3. Verify action

    The AI waits for the cloud to confirm the function was called. It then reports back to you that the hardware instruction was sent.

    call_function
  4. Report results

    The agent tells you exactly what happened. If the function succeeded, it confirms the hardware should be moving.

    call_function

Try it

Copy these to start.

Use these prompts to begin controlling your hardware.

Starting points

Replace the bracketed text with your specific function names and device IDs.

Particle IoT Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_zTx0nahujrUauTbKdarepNaMvX0JpQ2wvkNgeiVa/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Particle IoT capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "particle-iot-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_zTx0nahujrUauTbKdarepNaMvX0JpQ2wvkNgeiVa/mcp"
    }
  }
}
Copy into chat04
  • Trigger the 'open_valve' function on my Particle device.

  • Run the 'start_pump' cloud function now.

  • Turn off the lights using the 'toggle_relay' function.

  • Execute the 'reset_sensor' function on my IoT hardware.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Particle IoT once, then ask.

One connection links your AI to the Particle cloud. Your credentials stay encrypted and secure on our side.

Connect Particle IoT to your AI

FAQ

How this task behaves

  • 01

    Can my AI write new code to my Particle device?

    No. The AI can only trigger existing cloud functions that you have already uploaded to your device.

  • 02

    Does the AI control the hardware directly?

    No. The AI calls a function in the Particle cloud, and the device responds to that cloud signal.

  • 03

    What happens if my device is offline?

    The AI will attempt to call the function, but if the device cannot reach the cloud, the command will fail and the AI will notify you.

  • 04

    Can the AI change my hardware wiring?

    No. The AI is limited to the software functions you have defined in your Particle firmware.

  • 05

    Can I use this to read sensor data?

    Yes, provided you have a cloud function set up to return that data or a way to read the device state.

  • More questions about Particle IoT? The Connector page answers them. See everything the Particle IoT Connector can do

Connect Particle IoT to Claude, Cursor, ChatGPT & more