Bolt IoT

Developer toolsAPI key

Control and read Bolt WiFi modules through the Bolt Cloud: GPIO pins, PWM, servo and UART, device status, collected data and account details.

15 actions

ActionEffectData handledScope
bolt_iot_list_devicesLists the Bolt devices the account can access, with their ids (BOLTxxxxxxx) and namesreadGeneral
bolt_iot_get_device_statusReturns whether a device is online or offline and since when (UTC)readGeneral
bolt_iot_digital_writeSets a GPIO pin (0 to 4) HIGH (3.3V) or LOW (0V), e.gwriteGeneral
bolt_iot_digital_readReads whether a GPIO pin (0 to 4) is HIGH (1) or LOW (0)readGeneral
bolt_iot_analog_readReads the analog pin A0 as a value from 0 to 1023, e.greadGeneral
bolt_iot_analog_writeDrives a GPIO pin (0 to 4) with PWM from 0 (0V) to 255 (3.3V), e.gwriteGeneral
bolt_iot_servo_writeTurns a servo on a GPIO pin (0 to 4) to an angle from 0 to 180 degreeswriteGeneral
bolt_iot_serial_beginStarts UART communication on the device at 9600 baud, before serial_write or serial_readwriteGeneral
bolt_iot_serial_writeSends a string over the device's UART TX line, optionally reading the reply until a character (serialWR)writeGeneral
bolt_iot_serial_readReads the data received on the device's UART RX line, optionally up to a characterreadGeneral
bolt_iot_restart_deviceRestarts a Bolt devicewriteGeneral
bolt_iot_get_device_versionReturns the hardware and firmware version of a devicereadGeneral
bolt_iot_fetch_device_dataReturns the data points a device collected for its product's hardware configuration, oldest first by defaultreadGeneral
bolt_iot_get_account_planReturns the account's plan, Bolt Cloud (free) or Bolt Cloud Pro, which decides whether Pro commands workreadGeneral
bolt_iot_get_alert_quota_usageReturns the quota and usage of email, SMS, WhatsApp and phone alerts for the accountreadGeneral