Diode Drive Chat Commands

In a Diode Drive channel, messages that start with "/" are called chat commands. These chat commands can perform various functions and display helpful information.

Chat commands and the automated responses to them don't send any data to the Channel members, only the sender can see them, and they disappear after leaving the page.

Chat Commands

/sysconfig remote-api COMMAND

COMMAND

Description

version

display the current Diode Drive API version

enable

enable the Diode Drive API on this device

disable

disable the Diode Drive API on this device

status

display status of the Diode Drive API on this device

generate-token

generate a new bearer token (this replaces any previous token)

view-token

view the current bearer token (this is a secret)

template

display a curl template for the "send_message" API method

example

auto-populate a curl command for the "send_message" API method with the current "channel_id", "zone id", and "device_address" of the channel/zone/device this command was run on - the bearer token will still need manually filled in

/info

Outputs the following values:

  • ddrive_version
  • device_address
  • zone_domain
  • zone_id
  • channel_id


How did we do?


Powered by HelpDocs (opens in a new tab)

Powered by HelpDocs (opens in a new tab)