Skip to content

Instantly share code, notes, and snippets.

@qqyycom
Created October 8, 2021 01:24
Show Gist options
  • Save qqyycom/bf3fa481fed27ec962193d108aaac916 to your computer and use it in GitHub Desktop.
Save qqyycom/bf3fa481fed27ec962193d108aaac916 to your computer and use it in GitHub Desktop.
Alexa Discovery Response
{
"event": {
"header": {
"namespace": "Alexa.Discovery",
"name": "Discover.Response",
"messageId": "c2e421b5-a277-4f2f-a4e4-dfaa91eb5391",
"payloadVersion": "3"
},
"payload": {
"endpoints": [
{
"capabilities": [
{
"type": "AlexaInterface",
"interface": "Alexa",
"version": "3"
},
{
"type": "AlexaInterface",
"interface": "Alexa.RTCSessionController",
"version": "3",
"configuration": {
"isFullDuplexAudioSupported": false
}
},
{
"type": "AlexaInterface",
"interface": "Alexa.ModeController",
"version": "3",
"instance": "Camera.Mode",
"properties": {
"supported": [
{
"name": "mode"
}
],
"proactivelyReported": false,
"retrievable": true,
"nonControllable": false
},
"configuration": {
"ordered": false,
"supportedModes": [
{
"value": "Camera.FunMode",
"modeResources": {
"friendlyNames": [
{
"@type": "text",
"value": {
"text": "fun mode",
"locale": "en-US"
}
}
]
}
},
{
"value": "Camera.SecurityMode",
"modeResources": {
"friendlyNames": [
{
"@type": "text",
"value": {
"text": "security mode",
"locale": "en-US"
}
}
]
}
},
{
"value": "Camera.PrivacyMode",
"modeResources": {
"friendlyNames": [
{
"@type": "text",
"value": {
"text": "privacy mode",
"locale": "en-US"
}
}
]
}
}
]
},
"capabilityResources": {
"friendlyNames": [
{
"@type": "asset",
"value": {
"assetId": "Alexa.Setting.Mode"
}
}
]
}
},
{
"type": "AlexaInterface",
"interface": "Alexa.EndpointHealth",
"version": "3",
"properties": {
"supported": [
{
"name": "connectivity"
}
],
"proactivelyReported": true,
"retrievable": true
}
}
],
"description": "Appliance with Video supported",
"displayCategories": [
"CAMERA"
],
"endpointId": "C316CF924FB13BE9E38343D8B2AFF059282BD65A",
"friendlyName": "Garage Camera",
"manufacturerName": "Kamia"
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment