Skip to content

Button Command Template

Brendon Telman edited this page Dec 16, 2019 · 2 revisions

On your channel on the site, there is an edit buttons button at the bottom. Clicking it will open a text field with a JSON structure in it. Paste this in there, then modify it how you want. This contains a bunch of utility commands for the Android bot as well that only the owner can use. Wakeup has been made a public command, to allow others to wake up the robot if you put it into lower power mode using Sleep

[
  {
    "label": "Template Description",
    "break": "line"
  },
  {
    "label": "forward",
    "command": "f",
    "hot_key": "w"
  },
  {
    "break": "line",
    "label": ""
  },
  {
    "label": "left",
    "command": "l",
    "hot_key": "a"
  },
  {
    "label": "back",
    "command": "b",
    "hot_key": "s"
  },
  {
    "label": "right",
    "command": "r",
    "hot_key": "d"
  },
  {
    "label": "",
    "break": "line"
  },
  {
    "break": "line",
    "label": ""
  },
  {
    "label": "E Stop",
    "access": "owner",
    "command": ".estop"
  },
  {
    "label": "Sleep",
    "access": "owner",
    "command": ".stream sleep"
  },
  {
    "label": "Wakeup",
    "command": ".stream wakeup"
  },
  {
    "label": "Reset Stream",
    "access": "owner",
    "command": ".stream reset"
  },
  {
    "label": "Stationary Mode",
    "access": "owner",
    "command": ".stationary"
  },
  {
    "label": "Flush TTS",
    "access": "owner",
    "command": ".flush tts"
  },
  {
    "label": "xcontrol ",
    "access": "owner",
    "command": ".xcontrol ~ 60"
  }
]
Clone this wiki locally