Skip to content

Instantly share code, notes, and snippets.

@fangdingjun
Created July 11, 2025 07:06
Show Gist options
  • Save fangdingjun/33fe42270266ab99503e55be86d121b2 to your computer and use it in GitHub Desktop.
Save fangdingjun/33fe42270266ab99503e55be86d121b2 to your computer and use it in GitHub Desktop.
{
"event": {
"header": {
"namespace": "Alexa.Discovery",
"name": "AddOrUpdateReport",
"messageId": "dfda2d71-2d8a-4dc5-8396-b9d1469edb3e",
"payloadVersion": "3"
},
"payload": {
"endpoints": [
{
"endpointId": "dbe4964d44282ef865ace395491b5a04_5_I4SEASON",
"manufacturerName": "ZAFRO",
"description": "Air Conditioner connected via ZAFRO",
"friendlyName": "Cooler ",
"displayCategories": [
"OTHER"
],
"additionalAttributes": {
"manufacturer": "ZAFRO",
"model": "A9046D-10K",
"serialNumber": "001cc2973509",
"firmwareVersion": "1.0.20",
"softwareVersion": "1.0.20",
"customIdentifier": "dbe4964d44282ef865ace395491b5a04_5"
},
"capabilities": [
{
"type": "AlexaInterface",
"interface": "Alexa.ThermostatController",
"version": "3.1",
"properties": {
"supported": [
{
"name": "targetSetpoint"
},
{
"name": "thermostatMode"
}
],
"proactivelyReported": true,
"retrievable": false
},
"configuration": {
"supportedModes": [
"OFF",
"COOL"
],
"supportsScheduling": false
}
},
{
"type": "AlexaInterface",
"interface": "Alexa.PowerController",
"version": "3",
"properties": {
"supported": [
{
"name": "powerState"
}
],
"proactivelyReported": true,
"retrievable": false
}
},
{
"type": "AlexaInterface",
"interface": "Alexa.EndpointHealth",
"version": "3",
"properties": {
"supported": [
{
"name": "connectivity"
}
],
"proactivelyReported": true,
"retrievable": false
}
},
{
"type": "AlexaInterface",
"interface": "Alexa",
"version": "3"
}
],
"cookie": {}
}
],
"scope": {
"type": "BearerToken",
"token": "token from alexa"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment