Skip to content

Instantly share code, notes, and snippets.

@fangdingjun
Created April 18, 2025 02:18
Show Gist options
  • Save fangdingjun/31843fae4050bfb57450c5d144c6a631 to your computer and use it in GitHub Desktop.
Save fangdingjun/31843fae4050bfb57450c5d144c6a631 to your computer and use it in GitHub Desktop.
{
"header": {
"namespace": "SkillDebugger",
"name": "CaptureDebuggingInfo",
"messageId": "298a5727-f7da-4071-bc71-88170941fcf5"
},
"payload": {
"skillId": "amzn1.ask.skill.15c50681-8734-483e-90a3-f817597768ac",
"timestamp": "2025-04-18T02:13:18.423Z",
"type": "SmartHomeChangeReportFailure",
"content": {
"errors": [
{
"code": "TIME_OF_SAMPLE_LARGER_THAN_THRESHOLD",
"message": "Time of sample was more than 3 seconds behind time received. Time difference in seconds for property Alexa.RangeController was 2016, for property Alexa.ToggleController was 2016, for property Alexa.EndpointHealth was 2016, for property Alexa.TemperatureSensor was 2016, for property Alexa.ThermostatController was 1823."
}
],
"changeReport": {
"event": {
"header": {
"namespace": "Alexa",
"name": "ChangeReport",
"messageId": "6e03a093-b7b2-459a-b355-5c7ac075b32b",
"payloadVersion": "3"
},
"endpoint": {
"scope": null,
"endpointId": "dbe4964d44282ef865ace395491b5a04_5_I4SEASON"
},
"payload": {
"change": {
"cause": {
"type": "APP_INTERACTION"
},
"properties": [
{
"namespace": "Alexa.ThermostatController",
"name": "thermostatMode",
"value": "OFF",
"timeOfSample": "2025-04-18T02:13:16.972Z",
"uncertaintyInMilliseconds": 500
},
{
"namespace": "Alexa.PowerController",
"name": "powerState",
"value": "OFF",
"timeOfSample": "2025-04-18T02:13:16.972Z",
"uncertaintyInMilliseconds": 500
}
]
}
}
},
"context": {
"properties": [
{
"namespace": "Alexa.TemperatureSensor",
"name": "temperature",
"value": {
"value": 66,
"scale": "FAHRENHEIT"
},
"timeOfSample": "2025-04-18T01:39:42.278Z",
"uncertaintyInMilliseconds": 1000
},
{
"namespace": "Alexa.ThermostatController",
"name": "targetSetpoint",
"value": {
"value": 73,
"scale": "FAHRENHEIT"
},
"timeOfSample": "2025-04-18T01:42:55.269Z",
"uncertaintyInMilliseconds": 500
},
{
"instance": "Cooler.Humidity",
"namespace": "Alexa.RangeController",
"name": "rangeValue",
"value": 30,
"timeOfSample": "2025-04-18T01:39:42.278Z",
"uncertaintyInMilliseconds": 500
},
{
"instance": "Cooler.Display",
"namespace": "Alexa.ToggleController",
"name": "toggleState",
"value": "ON",
"timeOfSample": "2025-04-18T01:39:42.279Z",
"uncertaintyInMilliseconds": 500
},
{
"instance": "Cooler.Sleep",
"namespace": "Alexa.ToggleController",
"name": "toggleState",
"value": "OFF",
"timeOfSample": "2025-04-18T01:39:42.279Z",
"uncertaintyInMilliseconds": 500
},
{
"instance": "Cooler.Oscilattion",
"namespace": "Alexa.ToggleController",
"name": "toggleState",
"value": "OFF",
"timeOfSample": "2025-04-18T01:39:42.279Z",
"uncertaintyInMilliseconds": 500
},
{
"instance": "Fan.Speed",
"namespace": "Alexa.RangeController",
"name": "rangeValue",
"value": 2,
"timeOfSample": "2025-04-18T01:39:42.279Z",
"uncertaintyInMilliseconds": 500
},
{
"namespace": "Alexa.EndpointHealth",
"name": "connectivity",
"value": {
"value": "OK"
},
"timeOfSample": "2025-04-18T01:39:42.012Z",
"uncertaintyInMilliseconds": 0
}
]
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment