Created
December 10, 2018 10:27
-
-
Save michaelfung/02c536829a3090a8a327c3bc64c28047 to your computer and use it in GitHub Desktop.
sample AOG sync response
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"requestId": "15946482113084176451", | |
"payload": { | |
"agentUserId": "160170", | |
"devices": [ | |
{ | |
"customData": { | |
"version": "_UNDEFINED_", | |
"model": "HU2", | |
"key": "sample_key_ext" | |
}, | |
"willReportState": false, | |
"name": { | |
"defaultNames": [ | |
"LIGHT" | |
], | |
"name": "lamp" | |
}, | |
"type": "action.devices.types.LIGHT", | |
"id": "em-001:00FF0001", | |
"traits": [ | |
"action.devices.traits.OnOff" | |
] | |
}, | |
{ | |
"customData": { | |
"version": "_UNDEFINED_", | |
"model": "HU2", | |
"key": "sample_key_ext" | |
}, | |
"willReportState": false, | |
"name": { | |
"defaultNames": [ | |
"LIGHT" | |
], | |
"name": "Bedroom" | |
}, | |
"type": "action.devices.types.LIGHT", | |
"id": "em-001:00FF0012", | |
"traits": [ | |
"action.devices.traits.OnOff" | |
] | |
}, | |
{ | |
"customData": { | |
"version": "_UNDEFINED_", | |
"model": "HU2", | |
"key": "sample_key_ext" | |
}, | |
"willReportState": false, | |
"name": { | |
"defaultNames": [ | |
"GARAGE" | |
], | |
"name": "Garage Door" | |
}, | |
"type": "action.devices.types.GARAGE", | |
"id": "em-001:00FF0013", | |
"traits": [ | |
"action.devices.traits.OpenClose" | |
] | |
}, | |
{ | |
"customData": { | |
"version": "_UNDEFINED_", | |
"model": "HU2", | |
"key": "sample_key_ext" | |
}, | |
"willReportState": false, | |
"name": { | |
"defaultNames": [ | |
"LIGHT" | |
], | |
"name": "Toaster" | |
}, | |
"type": "action.devices.types.LIGHT", | |
"id": "em-002:00FF0001", | |
"traits": [ | |
"action.devices.traits.OnOff" | |
] | |
}, | |
{ | |
"customData": { | |
"version": "_UNDEFINED_", | |
"model": "HU2", | |
"key": "sample_key_ext" | |
}, | |
"willReportState": false, | |
"name": { | |
"defaultNames": [ | |
"LIGHT" | |
], | |
"name": "radio" | |
}, | |
"type": "action.devices.types.LIGHT", | |
"id": "em-002:00FF0012", | |
"traits": [ | |
"action.devices.traits.OnOff" | |
] | |
}, | |
{ | |
"customData": { | |
"version": "_UNDEFINED_", | |
"model": "HU2", | |
"key": "sample_key_ext" | |
}, | |
"willReportState": false, | |
"name": { | |
"defaultNames": [ | |
"GARAGE" | |
], | |
"name": "Back Door" | |
}, | |
"type": "action.devices.types.GARAGE", | |
"id": "em-002:00FF0013", | |
"traits": [ | |
"action.devices.traits.OpenClose" | |
] | |
}, | |
{ | |
"customData": { | |
"version": "_UNDEFINED_", | |
"model": "HU2", | |
"key": "sample_key_ext" | |
}, | |
"willReportState": false, | |
"name": { | |
"defaultNames": [ | |
"LIGHT" | |
], | |
"name": "Toilet Lamp" | |
}, | |
"type": "action.devices.types.LIGHT", | |
"id": "em-003:00FF0001", | |
"traits": [ | |
"action.devices.traits.OnOff" | |
] | |
}, | |
{ | |
"customData": { | |
"version": "_UNDEFINED_", | |
"model": "HU2", | |
"key": "sample_key_ext" | |
}, | |
"willReportState": false, | |
"name": { | |
"defaultNames": [ | |
"LIGHT" | |
], | |
"name": "Hall Lamp" | |
}, | |
"type": "action.devices.types.LIGHT", | |
"id": "em-003:00FF0012", | |
"traits": [ | |
"action.devices.traits.OnOff" | |
] | |
}, | |
{ | |
"customData": { | |
"version": "_UNDEFINED_", | |
"model": "HU2", | |
"key": "sample_key_ext" | |
}, | |
"willReportState": false, | |
"name": { | |
"defaultNames": [ | |
"GARAGE" | |
], | |
"name": "Garage Opener" | |
}, | |
"type": "action.devices.types.GARAGE", | |
"id": "em-003:00FF0013", | |
"traits": [ | |
"action.devices.traits.OpenClose" | |
] | |
}, | |
{ | |
"customData": { | |
"version": "_UNDEFINED_", | |
"model": "HU2", | |
"key": "sample_key_ext" | |
}, | |
"willReportState": false, | |
"name": { | |
"defaultNames": [ | |
"LIGHT" | |
], | |
"name": "Lights" | |
}, | |
"type": "action.devices.types.LIGHT", | |
"id": "em-009:00FF0001", | |
"traits": [ | |
"action.devices.traits.OnOff" | |
] | |
}, | |
{ | |
"customData": { | |
"version": "_UNDEFINED_", | |
"model": "HU2", | |
"key": "sample_key_ext" | |
}, | |
"willReportState": false, | |
"name": { | |
"defaultNames": [ | |
"LIGHT" | |
], | |
"name": "Toilet Lamp" | |
}, | |
"type": "action.devices.types.LIGHT", | |
"id": "em-008:00FF0001", | |
"traits": [ | |
"action.devices.traits.OnOff" | |
] | |
}, | |
{ | |
"customData": { | |
"version": "_UNDEFINED_", | |
"model": "HU2", | |
"key": "sample_key_ext" | |
}, | |
"willReportState": false, | |
"name": { | |
"defaultNames": [ | |
"LIGHT" | |
], | |
"name": "Hall Lamp" | |
}, | |
"type": "action.devices.types.LIGHT", | |
"id": "em-008:00FF0012", | |
"traits": [ | |
"action.devices.traits.OnOff" | |
] | |
}, | |
{ | |
"customData": { | |
"version": "_UNDEFINED_", | |
"model": "HU2", | |
"key": "sample_key_ext" | |
}, | |
"willReportState": false, | |
"name": { | |
"defaultNames": [ | |
"GARAGE" | |
], | |
"name": "Garage Opener" | |
}, | |
"type": "action.devices.types.GARAGE", | |
"id": "em-008:00FF0013", | |
"traits": [ | |
"action.devices.traits.OpenClose" | |
] | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment