-
-
Save kakopappa/56d7196e4a346dd1b3e1edba0548662d to your computer and use it in GitHub Desktop.
ContactSensor-AlexaJSON
This file contains hidden or 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
{ | |
"context": {}, | |
"event": { | |
"header": { | |
"messageId": "cedd4af3-a6ce-4e13-9c72-6bed87261eb6", | |
"namespace": "Alexa", | |
"name": "ChangeReport", | |
"payloadVersion": "3" | |
}, | |
"endpoint": { | |
"scope": { | |
"type": "BearerToken", | |
"token": "Atza|IwEBIHNDXRiNOo8fhrP-GTQ-W_sJM_oQ0JAvD_-vX925S_VwnvLCSxKIOJ8qYaBFPoDuA_i73ELjvwKkOkeYuwgXccwhQrLhJJN5VK34NKJb4uAhd5GGNk0q4JLD9BTUdnyirOlc6lrVrfYkr7saxG_tceg3TCzOMRh09uBmIcRbafn_Xr3lPRwmokPySCkoScjltPDbqrA2ae8rdu8P1izQoOGTQL_TYTYiYbeYXWk7jT8szbJ33hI7774ikgr8ySDLx1cAWSdrPkAzqhxQOUCgAOhZ-iTgt38d96rm_HVESM23hg" | |
}, | |
"endpointId": "605df91a850907071cfc81d6" | |
}, | |
"payload": { | |
"change": { | |
"cause": { | |
"type": "PHYSICAL_INTERACTION" | |
}, | |
"properties": [ | |
{ | |
"namespace": "Alexa.ContactSensor", | |
"name": "detectionState", | |
"value": "DETECTED", | |
"timeOfSample": "2021-03-29T09:28:31.567Z", | |
"uncertaintyInMilliseconds": 0 | |
} | |
] | |
} | |
} | |
} | |
} |
This file contains hidden or 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
{ | |
"event": { | |
"header": { | |
"namespace": "Alexa.Discovery", | |
"name": "Discover.Response", | |
"payloadVersion": "3", | |
"messageId": "c099bfe8-9070-4db0-83d9-b901179736ae" | |
}, | |
"payload": { | |
"endpoints": [ | |
{ | |
"endpointId": "605df91a850907071cfc81d6", | |
"friendlyName": "Contact", | |
"description": "Contact", | |
"manufacturerName": "SinricPro", | |
"displayCategories": [ | |
"CONTACT_SENSOR" | |
], | |
"cookie": { | |
"deviceId": "605df91a850907071cfc81d6" | |
}, | |
"capabilities": [ | |
{ | |
"type": "AlexaInterface", | |
"interface": "Alexa.PowerController", | |
"version": "3", | |
"properties": { | |
"supported": [ | |
{ | |
"name": "powerState" | |
} | |
], | |
"proactivelyReported": true, | |
"retrievable": true | |
} | |
}, | |
{ | |
"type": "AlexaInterface", | |
"interface": "Alexa.ContactSensor", | |
"version": "3", | |
"properties": { | |
"supported": [ | |
{ | |
"name": "detectionState" | |
} | |
], | |
"proactivelyReported": true, | |
"retrievable": true | |
} | |
}, | |
{ | |
"type": "AlexaInterface", | |
"interface": "Alexa.EndpointHealth", | |
"version": "3", | |
"properties": { | |
"supported": [ | |
{ | |
"name": "connectivity" | |
} | |
], | |
"proactivelyReported": true, | |
"retrievable": true | |
} | |
} | |
], | |
"additionalAttributes": { | |
"customIdentifier": "605df91a850907071cfc81d6" | |
} | |
} | |
] | |
} | |
} | |
} |
This file contains hidden or 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
{ | |
"context": { | |
"properties": [ | |
{ | |
"namespace": "Alexa.EndpointHealth", | |
"name": "connectivity", | |
"value": { | |
"value": "OK" | |
}, | |
"timeOfSample": "2021-03-29T09:13:00.071Z", | |
"uncertaintyInMilliseconds": 0 | |
}, | |
{ | |
"namespace": "Alexa.PowerController", | |
"name": "powerState", | |
"value": "ON", | |
"timeOfSample": "2021-03-29T09:13:00.071Z", | |
"uncertaintyInMilliseconds": 0 | |
}, | |
{ | |
"namespace": "Alexa.ContactSensor", | |
"name": "detectionState", | |
"value": "DETECTED", | |
"timeOfSample": "2021-03-29T09:09:20.000Z", | |
"uncertaintyInMilliseconds": 0 | |
} | |
] | |
}, | |
"event": { | |
"header": { | |
"namespace": "Alexa", | |
"name": "StateReport", | |
"payloadVersion": "3", | |
"correlationToken": "AAAAAAAAAQCJSzXIPtDOFTROK7x2rPtU/AEAAAAAAACldn9+x/QP4QevB/4VN87sehQNKezChAB9IPaelxyMQyxoySlp2PAQFTic/DZJ+pdpCwEHQO5im2ltybcoOCGACgFcXyTc35ZAbCkaFt6CU7XHpCBZL98kiCy0alvXZhlKlEvzItYxqPet6CdaMLzTYvLOGW/x3226TfKLJsBuSxQ422GSwp0UBIqx1fqikyf/3YlTFB0VsYCjXVrDwlb/vMELce3EJeG80SZ4Z8yhBdmkRdkf5yQ986oFFR+3+o2gLmyvJuSYpLDaMQpxRIQyyepL8k0vsNEzEBwRNfXy9haFqj3MBYYxvoSS3bEWo/XKrJWQnk2hDG0BVtzmofrZq8fhAH1XC65BF+alOj92CmgcGxWAM+Wgo65LRNc1/lGVXnT4sN0XMdXpirvXKa/dfn3IRjavOzayCZ8fIySUsxg999dJdH6/dL5tYaN/77hgsE5e7Na0/ue0NeKhwOfVJ/L2Q+Ab1gW0oUePp7+m6BB7VVeTEUxGm/6dzoOuG2wLNAmBwY+9+0WD/KTTO1gxYPCp5/H2VppcRLfZ7dIKPnH2FT0vNPUwHVBIs04Ggp59BgN95FclJxDlGnF3k+0gBQ74jRV3J5mhHNX0c1ghFZTGY9LsWpC4oS2X689y6DbxV2PyaZqoW9YIwLZ/kJVwdUCl6Ze71DILnsnd", | |
"messageId": "49d1ca07-eff6-47ac-902e-577661b1e30e" | |
}, | |
"endpoint": { | |
"scope": { | |
"type": "BearerToken", | |
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjVkYjliY2U0NGFiMjc5Njc5MjFjZjNlNiIsImlhdCI6MTYxNDkzMTY4MywiZXhwIjoxNjQ2NDY3NjgzfQ.272yjr9Q5dWn7owH9z2c6bPanK2tKC4ZrmG3R48yXtc" | |
}, | |
"endpointId": "605df91a850907071cfc81d6", | |
"cookie": { | |
"path": "605df91a850907071cfc81d6" | |
} | |
}, | |
"payload": {} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment