Search
 
SCRIPT & CODE EXAMPLE
 

C

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
                }
              }
            ]
          }
        ]
      }
    }
  ]
}  
Comment

PREVIOUS NEXT
Code Example
C :: como hacer para que una salida en linux aparezca de poco en poco 
C :: assembly lea instruction 
C :: suma de digitos 
C :: uri/beecrowd problem no - 1133 solution in C 
C :: gnuplot rectangle border color 
C :: if statement shortcut c 
C :: c ausgabe von variablen 
C :: passing an array to a function 
C :: Integer Input/Output 
C :: reverse string in c 
C :: C #define preprocessor 
C :: escaping characters in hibernate queries 
C :: why return 0 is written at the code end? 
C :: Trasmettere variabile float attraverso seriale 
C :: To get file info 
C :: can we use special characters in switch case in c 
C :: gcc comand for running hello.c 
C :: c variable 
C :: time random c 
C :: visual studio code 
Dart :: flutter elevated button radius 
Dart :: Waiting for another flutter command to release the startup lock... 
Dart :: round to decimal places dart 
Dart :: dart continue 
Dart :: target of uri doesn 
Dart :: mainBottomSheet dismiss flutte 
Dart :: flutter snackbar width 
Dart :: how to put tapping effect on card in flutter 
Dart :: flutter flotingactionbutton with text 
Dart :: dart codeunits 
ADD CONTENT
Topic
Content
Source link
Name
4+3 =