Skip to content

Instantly share code, notes, and snippets.

@alexcasalboni
Created March 7, 2019 11:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexcasalboni/2cc54808b9d225f66529949ce2016e71 to your computer and use it in GitHub Desktop.
Save alexcasalboni/2cc54808b9d225f66529949ce2016e71 to your computer and use it in GitHub Desktop.
AWS Iot 1-Click Event (JSON)
{
"deviceEvent": {
"buttonClicked": {
"clickType": "SINGLE",
"reportedTime": "2018-05-04T23:26:33.747Z"
}
},
"deviceInfo": {
"attributes": {
"key3": "value3",
"key1": "value1",
"key4": "value4"
},
"type": "button",
"deviceId": " G030PMXXXXXXXXXX ",
"remainingLife": 5.00
},
"placementInfo": {
"projectName": "test",
"placementName": "myPlacement",
"attributes": {
"location": "Seattle",
"equipment": "printer"
},
"devices": {
"myButton": " G030PMXXXXXXXXXX "
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment