Created
November 5, 2025 06:27
-
-
Save fangdingjun/3e19b6e5a6fb1f9d20df05fb7e8505c6 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": "AddOrUpdateReport", | |
| "messageId": "92d02599-312f-4a03-9840-4b01927e4934", | |
| "payloadVersion": "3" | |
| }, | |
| "payload": { | |
| "endpoints": [ | |
| { | |
| "endpointId": "dbe4964d44282ef865ace395491b5a04_5_I4SEASON", | |
| "manufacturerName": "ZAFRO", | |
| "description": "Air Conditioner connected via ZAFRO", | |
| "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": "targetSetpoint" | |
| }, | |
| { | |
| "name": "thermostatMode" | |
| } | |
| ], | |
| "proactivelyReported": true, | |
| "retrievable": false | |
| }, | |
| "configuration": { | |
| "supportedModes": [ | |
| "OFF", | |
| "COOL" | |
| ] | |
| } | |
| }, | |
| { | |
| "type": "AlexaInterface", | |
| "interface": "Alexa.TemperatureSensor", | |
| "version": "3", | |
| "properties": { | |
| "supported": [ | |
| { | |
| "name": "temperature" | |
| } | |
| ], | |
| "proactivelyReported": true, | |
| "retrievable": false | |
| } | |
| }, | |
| { | |
| "type": "AlexaInterface", | |
| "interface": "Alexa.RangeController", | |
| "instance": "Cooler.Humidity", | |
| "version": "3", | |
| "properties": { | |
| "supported": [ | |
| { | |
| "name": "rangeValue" | |
| } | |
| ], | |
| "proactivelyReported": true, | |
| "retrievable": false | |
| }, | |
| "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": false | |
| }, | |
| "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": false | |
| }, | |
| "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": false | |
| }, | |
| "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": false | |
| }, | |
| "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": false | |
| } | |
| }, | |
| { | |
| "type": "AlexaInterface", | |
| "interface": "Alexa.EndpointHealth", | |
| "version": "3.1", | |
| "properties": { | |
| "supported": [ | |
| { | |
| "name": "connectivity" | |
| } | |
| ], | |
| "proactivelyReported": true, | |
| "retrievable": false | |
| } | |
| }, | |
| { | |
| "type": "AlexaInterface", | |
| "interface": "Alexa", | |
| "version": "3" | |
| } | |
| ], | |
| "connections": [ | |
| { | |
| "type": "TCP_IP", | |
| "macAddress": "00:1c:c2:97:35:09", | |
| "macNetworkInterface": "WIFI" | |
| } | |
| ], | |
| "cookie": {} | |
| } | |
| ], | |
| "scope": { | |
| "type": "BearerToken", | |
| "token": "token from alex" | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment