Skip to content

Instantly share code, notes, and snippets.

@fangdingjun
Last active April 24, 2025 14:21
Show Gist options
  • Save fangdingjun/f85c360a083eb9709c820576d5190a8d to your computer and use it in GitHub Desktop.
Save fangdingjun/f85c360a083eb9709c820576d5190a8d to your computer and use it in GitHub Desktop.
{
"event": {
"header": {
"namespace": "Alexa",
"name": "StateReport",
"messageId": "043f7331-c80c-4725-a3a4-6ca336e5c682",
"correlationToken": "token",
"payloadVersion": "3"
},
"endpoint": {
"endpointId": "dbe4964d44282ef865ace395491b5a04_5_I4SEASON"
},
"payload": {}
},
"context": {
"properties": [
{
"namespace": "Alexa.TemperatureSensor",
"name": "temperature",
"value": {
"value": 85,
"scale": "FAHRENHEIT"
},
"timeOfSample": "2025-04-24T14:15:00.683Z",
"uncertaintyInMilliseconds": 1000
},
{
"namespace": "Alexa.ThermostatController",
"name": "thermostatMode",
"value": "COOL",
"timeOfSample": "2025-04-24T14:15:01.078Z",
"uncertaintyInMilliseconds": 500
},
{
"namespace": "Alexa.ThermostatController",
"name": "targetSetpoint",
"value": {
"value": 71,
"scale": "FAHRENHEIT"
},
"timeOfSample": "2025-04-24T14:15:01.175Z",
"uncertaintyInMilliseconds": 500
},
{
"instance": "Cooler.Humidity",
"namespace": "Alexa.RangeController",
"name": "rangeValue",
"value": 30,
"timeOfSample": "2025-04-24T14:15:00.752Z",
"uncertaintyInMilliseconds": 500
},
{
"instance": "Cooler.Display",
"namespace": "Alexa.ToggleController",
"name": "toggleState",
"value": "OFF",
"timeOfSample": "2025-04-24T14:15:00.883Z",
"uncertaintyInMilliseconds": 500
},
{
"instance": "Cooler.Sleep",
"namespace": "Alexa.ToggleController",
"name": "toggleState",
"value": "OFF",
"timeOfSample": "2025-04-24T14:15:00.343Z",
"uncertaintyInMilliseconds": 500
},
{
"instance": "Cooler.Oscillation",
"namespace": "Alexa.ToggleController",
"name": "toggleState",
"value": "OFF",
"timeOfSample": "2025-04-24T14:15:00.505Z",
"uncertaintyInMilliseconds": 500
},
{
"instance": "Fan.Speed",
"namespace": "Alexa.RangeController",
"name": "rangeValue",
"value": 2,
"timeOfSample": "2025-04-24T14:15:00.395Z",
"uncertaintyInMilliseconds": 500
},
{
"namespace": "Alexa.PowerController",
"name": "powerState",
"value": "ON",
"timeOfSample": "2025-04-24T14:15:00.681Z",
"uncertaintyInMilliseconds": 500
},
{
"namespace": "Alexa.EndpointHealth",
"name": "connectivity",
"value": {
"value": "OK"
},
"timeOfSample": "2025-04-24T14:15:00.938Z",
"uncertaintyInMilliseconds": 0
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment