Skip to main content

Arduino

This Integration is part of the Arduino Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.0.0 and later.

Connects to and controls an Arduino pin system using the network.

Configure Arduino on Cortex XSOAR#

  1. Navigate to Settings > Integrations > Servers & Services.

  2. Search for Arduino.

  3. Click Add instance to create and configure a new integration instance.

    ParameterDescriptionRequired
    Hostname or IPHostname or IPTrue
    Port numberPort numberTrue
  4. Click Test to validate the URLs, token, and connection.

Commands#

You can execute these commands from the Cortex XSOAR CLI, as part of an automation, or in a playbook. After you successfully execute a command, a DBot message appears in the War Room with the command details.

arduino-set-pin#


Requests that a pin be set

Base Command#

arduino-set-pin

Input#

Argument NameDescriptionRequired
pin_typeThe type of pin. Possible values are: digital, analog. Default is digital.Required
pin_numberThe pin number to set.Required
valueThe value to set the pin to.Required
hostHost name / IP address (optional - overrides parameters).Optional
portPort number (optional - overrides parameters).Optional

Context Output#

PathTypeDescription
Arduino.DigitalPinsunknownDigital Pins
Arduino.DigitalPins.PinNumbernumberPinNumber
Arduino.DigitalPins.PinTypestringPin Type
Arduino.DigitalPins.PinValuenumberPin Value
Arduino.AnalogPinsunknownAnalog Pins
Arduino.AnalogPins.PinNumbernumberPinNumber
Arduino.AnalogPins.PinTypestringPin Type
Arduino.AnalogPins.PinValuenumberPin Value

arduino-get-pin#


Requests the value of a pin

Base Command#

arduino-get-pin

Input#

Argument NameDescriptionRequired
pin_typePin type. Possible values are: digital, analog. Default is digital.Required
pin_numberThe pin to read the value from.Required
hostHost name / IP address (optional - overrides parameters).Optional
portPort number (optional - overrides parameters).Optional

Context Output#

PathTypeDescription
Arduino.DigitalPinsunknownDigital Pins
Arduino.DigitalPins.PinNumbernumberPinNumber
Arduino.DigitalPins.PinTypestringPin Type
Arduino.DigitalPins.PinValuenumberPin Value
Arduino.AnalogPinsunknownAnalog Pins
Arduino.AnalogPins.PinNumbernumberPinNumber
Arduino.AnalogPins.PinTypestringPin Type
Arduino.AnalogPins.PinValuenumberPin Value

arduino-send-data#


Send arbitrary data to the Arduino

Base Command#

arduino-send-data

Input#

Argument NameDescriptionRequired
dataThe data to send.Required
hostHost name / IP address (optional - overrides parameters).Optional
portPort number (optional - overrides parameters).Optional

Context Output#

PathTypeDescription
Arduino.DataSendunknownData Send
Arduino.DataSend.SentstringThe data sent
Arduino.DataSend.ReceivedstringThe data received