Device test server

Configure response

Choose the response used for each incoming event. Select a test case, then click Use. Each event has its own saved selection.

View Events
GET

/ontagenter: 响应示例

New Edit

Active case: 响应示例

ontagenter/响应示例/response.json

{
  "roleCode": "DIY_XXX_XXXXXX",
  "brightness": 80,
  "ring": {
    "standby": {
      "color": "#00FF00",
      "mode": "S"
    },
    "pairing": {
      "color": "#0000FF",
      "mode": "C"
    },
    "listen": {
      "color": "#FF0000",
      "mode": "S"
    },
    "waiting": {
      "color": "#FF0000",
      "mode": "C"
    },
    "error": {
      "color": "#FFA500",
      "mode": "S"
    }
  },
  "key": {
    "standby": {
      "A": "#00FF00",
      "B": "#00FF00",
      "C": "#00FF00",
      "D": "#00FF00"
    },
    "pairing": {
      "A": "#0000FF",
      "B": "#0000FF",
      "C": "#0000FF",
      "D": "#0000FF"
    },
    "listen": {
      "A": "#FF0000",
      "B": "#FF0000",
      "C": "#FF0000",
      "D": "#FF0000"
    },
    "waiting": {
      "A": "#FF0000",
      "B": "#FF0000",
      "C": "#FF0000",
      "D": "#FF0000"
    },
    "error": {
      "A": "#FFA500",
      "B": "#FFA500",
      "C": "#FFA500",
      "D": "#FFA500"
    }
  },
  "keyAction": {
    "a": {
      "single": 1,
      "double": 0,
      "long": 0
    },
    "b": {
      "single": 3,
      "double": 0,
      "long": 0
    },
    "c": {
      "single": 4,
      "double": 0,
      "long": 6
    },
    "d": {
      "single": 5,
      "double": 0,
      "long": 7
    }
  }
}
GET

/ontagexit: None

Active case: None

ontagexit/{test-case}/response.json

{}

Create your first test case to get started.