Last active
April 24, 2025 14:24
-
-
Save fangdingjun/91c993c80154449ccd0d0d0cd3a855d0 to your computer and use it in GitHub Desktop.
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", | |
"messageId": "b2ebb94e-e699-4f21-b5c3-4d60f22cd6a0", | |
"payloadVersion": "3" | |
}, | |
"payload": { | |
"endpoints": [ | |
{ | |
"endpointId": "dbe4964d44282ef865ace395491b5a04_5_I4SEASON", | |
"manufacturerName": "ZAFRO", | |
"description": "ZAFRO powered Air Conditioner", | |
"friendlyName": "Cooler ", | |
"displayCategories": [ | |
"AIR_CONDITIONER", | |
"THERMOSTAT" | |
], | |
"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.2", | |
"properties": { | |
"supported": [ | |
{ | |
"name": "thermostatMode" | |
}, | |
{ | |
"name": "targetSetpoint" | |
} | |
], | |
"proactivelyReported": true, | |
"retrievable": true | |
}, | |
"configuration": { | |
"supportedModes": [ | |
"OFF", | |
"COOL" | |
] | |
} | |
}, | |
{ | |
"type": "AlexaInterface", | |
"interface": "Alexa.TemperatureSensor", | |
"version": "3", | |
"properties": { | |
"supported": [ | |
{ | |
"name": "temperature" | |
} | |
], | |
"proactivelyReported": true, | |
"retrievable": true | |
} | |
}, | |
{ | |
"type": "AlexaInterface", | |
"interface": "Alexa.RangeController", | |
"instance": "Cooler.Humidity", | |
"version": "3", | |
"properties": { | |
"supported": [ | |
{ | |
"name": "rangeValue" | |
} | |
], | |
"proactivelyReported": true, | |
"retrievable": true | |
}, | |
"capabilityResources": { | |
"friendlyNames": [ | |
{ | |
"@type": "text", | |
"value": { | |
"text": "Humidity", | |
"locale": "en-US" | |
} | |
} | |
] | |
}, | |
"configuration": { | |
"supportedRange": { | |
"minimumValue": 30, | |
"maximumValue": 70, | |
"precision": 1 | |
}, | |
"presets": [ | |
{ | |
"rangeValue": 30, | |
"presetResources": { | |
"friendlyNames": [ | |
{ | |
"@type": "asset", | |
"value": { | |
"assetId": "Alexa.Value.Minimum" | |
} | |
}, | |
{ | |
"@type": "text", | |
"value": { | |
"text": "Minimum", | |
"locale": "en-US" | |
} | |
} | |
] | |
} | |
}, | |
{ | |
"rangeValue": 70, | |
"presetResources": { | |
"friendlyNames": [ | |
{ | |
"@type": "asset", | |
"value": { | |
"assetId": "Alexa.Value.Maximum" | |
} | |
}, | |
{ | |
"@type": "text", | |
"value": { | |
"text": "Maximum", | |
"locale": "en-US" | |
} | |
} | |
] | |
} | |
} | |
] | |
} | |
}, | |
{ | |
"type": "AlexaInterface", | |
"interface": "Alexa.ToggleController", | |
"instance": "Cooler.Display", | |
"version": "3", | |
"properties": { | |
"supported": [ | |
{ | |
"name": "toggleState" | |
} | |
], | |
"proactivelyReported": true, | |
"retrievable": true | |
}, | |
"capabilityResources": { | |
"friendlyNames": [ | |
{ | |
"@type": "text", | |
"value": { | |
"text": "Display", | |
"locale": "en-US" | |
} | |
} | |
] | |
} | |
}, | |
{ | |
"type": "AlexaInterface", | |
"interface": "Alexa.ToggleController", | |
"instance": "Cooler.Sleep", | |
"version": "3", | |
"properties": { | |
"supported": [ | |
{ | |
"name": "toggleState" | |
} | |
], | |
"proactivelyReported": true, | |
"retrievable": true | |
}, | |
"capabilityResources": { | |
"friendlyNames": [ | |
{ | |
"@type": "text", | |
"value": { | |
"text": "Sleep", | |
"locale": "en-US" | |
} | |
} | |
] | |
} | |
}, | |
{ | |
"type": "AlexaInterface", | |
"interface": "Alexa.ToggleController", | |
"instance": "Cooler.Oscillation", | |
"version": "3", | |
"properties": { | |
"supported": [ | |
{ | |
"name": "toggleState" | |
} | |
], | |
"proactivelyReported": true, | |
"retrievable": true | |
}, | |
"capabilityResources": { | |
"friendlyNames": [ | |
{ | |
"@type": "text", | |
"value": { | |
"text": "Oscillation", | |
"locale": "en-US" | |
} | |
} | |
] | |
} | |
}, | |
{ | |
"type": "AlexaInterface", | |
"interface": "Alexa.RangeController", | |
"instance": "Fan.Speed", | |
"version": "3", | |
"properties": { | |
"supported": [ | |
{ | |
"name": "rangeValue" | |
} | |
], | |
"proactivelyReported": true, | |
"retrievable": true | |
}, | |
"capabilityResources": { | |
"friendlyNames": [ | |
{ | |
"@type": "asset", | |
"value": { | |
"assetId": "Alexa.Setting.FanSpeed" | |
} | |
}, | |
{ | |
"@type": "text", | |
"value": { | |
"text": "Fan Speed", | |
"locale": "en-US" | |
} | |
} | |
] | |
}, | |
"configuration": { | |
"supportedRange": { | |
"minimumValue": 1, | |
"maximumValue": 4, | |
"precision": 1 | |
}, | |
"presets": [ | |
{ | |
"rangeValue": 4, | |
"presetResources": { | |
"friendlyNames": [ | |
{ | |
"@type": "asset", | |
"value": { | |
"assetId": "Alexa.Setting.Auto" | |
} | |
}, | |
{ | |
"@type": "text", | |
"value": { | |
"text": "Auto", | |
"locale": "en-US" | |
} | |
} | |
] | |
} | |
} | |
] | |
} | |
}, | |
{ | |
"type": "AlexaInterface", | |
"interface": "Alexa.PowerController", | |
"version": "3", | |
"properties": { | |
"supported": [ | |
{ | |
"name": "powerState" | |
} | |
], | |
"proactivelyReported": true, | |
"retrievable": true | |
} | |
}, | |
{ | |
"type": "AlexaInterface", | |
"interface": "Alexa.EndpointHealth", | |
"version": "3.1", | |
"properties": { | |
"supported": [ | |
{ | |
"name": "connectivity" | |
} | |
], | |
"proactivelyReported": true, | |
"retrievable": true | |
} | |
}, | |
{ | |
"type": "AlexaInterface", | |
"interface": "Alexa", | |
"version": "3" | |
} | |
], | |
"connections": [ | |
{ | |
"type": "TCP_IP", | |
"macAddress": "00:1c:c2:97:35:09", | |
"macNetworkInterface": "WIFI" | |
} | |
], | |
"cookie": {} | |
} | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment