Command

API Send Command Calls

Send broadcast command

POST/api/v1/mobius/command/{cid}
Path parameters
cid*string

MobiusFlow Command ID

Body
object

Payload of command

Response

Ok response

Body
ts*string

Timestamp of the response

uri*string

URI of the response

data*object

Acknowledgement data

Request
const response = await fetch('/api/v1/mobius/command/{cid}', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "rorg": "F6",
      "db_0": 100,
      "db_1": 80,
      "db_2": 60,
      "db_3": 40,
      "uid": "12345678",
      "status": 23,
      "subTelNum": 1,
      "dBm": -5
    }),
});
const data = await response.json();
Response
{
  "ts": "2022-12-21T10:25:54.585Z",
  "uri": "ENOCEAN_RADIO_ERP1",
  "data": {
    "result": "OK"
  }
}

Last updated

© 2023 MobiusFlow® - All Rights Reserved - MobiusFlow® is a registered trademark of Infrastructure Software Solutions Limited trading as MobiusFlow® - All other brand names, product names, or trademarks belong to their respective owners