Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 652 Bytes

CMD_APO_START.md

File metadata and controls

25 lines (21 loc) · 652 Bytes

CMD_APO_START

Start a cooking process with multiple stages.

Syntax:

{
  "command": "CMD_APO_START",
  "payload": {
    "payload": {
      "cookId": "android-<uuid>",  # Or ios-<uuid>
      "stages": [
        <stage_list>
      ]
    },
    "type": "CMD_APO_START",
    "id": "<your_oven_id>"
  },
  "requestId": "<uuid>"
}  

Stage syntax

Full command example. Notice that a stage with a timer is actually represented by two stages in the JSON (pretty much similar to the way you build stages in the app), to allow for the "start timer after preheat" and the "start timer manually" options.