Answers for "turn on and turn off different device at the same time in rainmaker"

C
0

turn on and turn off different device at the same time in rainmaker

{
  "requestId": "6894439706274654516",
  "inputs": [
    {
      "intent": "action.devices.EXECUTE",
      "payload": {
        "commands": [
          {
            "devices": [
              {
                "id": "123",
                "customData": {
                  "deviceName": "action.devices.types.OUTLET"
                }
              },
              {
                "id": "456",
                "customData": {
                  "deviceName": "action.devices.types.OUTLET"
                }
              },
              {
                "id": "789",
                "customData": {
                  "deviceName": "action.devices.types.SWITCH"
                }
              }
            ],
            "execution": [
              {
                "command": "action.devices.commands.OnOff",
                "params": {
                  "on": true
                }
              },
              {
                "command": "action.devices.commands.OnOff",
                "params": {
                  "on": false
                }
              }
            ]
          }
        ]
      }
    }
  ]
}
Posted by: Guest on September-22-2021

Code answers related to "turn on and turn off different device at the same time in rainmaker"

Code answers related to "C"

Browse Popular Code Answers by Language