question

newuser-d47c73e4-bc31-46d4-9f53-d2e516f2c78e avatar image

"Device is unresponsive" after set Temperature, adjust temperature or set thermostat mode command

If I request one of the above types of command, eg setThermosatMode

{ "directive": { "header": { "namespace": "Alexa.ThermostatController" ,
 "name": "SetThermostatMode" ,
 "payloadVersion": "3" ,
 "messageId": "bd9e5116-700f-4b96-8b0c-26f8426a610f" ,
 "correlationToken": "XXXX" } ,
 "endpoint": { "scope": { "type": "BearerToken" ,
 "token": "XXXXX" } ,
 "endpointId": "H6" ,
 "cookie": { "TemperatureDeviceID": "Holliesd2ed1c" ,
 "currentTemperature": "18.18" ,
 "TemperatureMin": "12" ,
 "targetTemp": "19" ,
 "ControlDeviceID": "Holliesd2ed1c" ,
 "HeatGainConstant": "1.64993" ,
 "overrideName": null ,
 "MasterZone": "8" ,
 "isChangeable": "true" ,
 "TemperatureSensorID": "28ff1fbdc1160488" ,
 "TemperatureMax": "23" ,
 "demand": "true" ,
 "Name": "Office" ,
 "HeatLossConstant": "0.306194" ,
 "ControlSensorID": "4" ,
 "overrideOn": "false" ,
 "HeatGainRate": "-0.066007" ,
 "IsMaster": "0" ,
 "overrideID": "5" ,
 "ID": "6" ,
 "HeatLossRate": "-0.054351" } } ,
 "payload": { "thermostatMode": { "value": "HEAT" } } }}

and respond with

{ "context": { "properties": [ { "namespace": "Alexa.ThermostatController" ,
 "name": "targetSetpoint" ,
 "value": 19 ,
 "scale": "CELSIUS" ,
 "timeOfSample": "2019-02-22T16:26:06.704Z" ,
 "uncertaintyInMilliseconds": 500 } ] } ,
 "event": { "header": { "namespace": "Alexa" ,
 "name": "Response" ,
 "payloadVersion": "3" ,
 "messageId": "bd9e5116-700f-4b96-8b0c-26f8426a610f" ,
 "correlationToken": "XXXX" } ,
 "endpoint": { "scope": { "type": "BearerToken" ,
 "token": "XXXX" } ,
 "endpointId": "H6" ,
 "cookie": { "TemperatureDeviceID": "Holliesd2ed1c" ,
 "currentTemperature": "18.18" ,
 "TemperatureMin": "12" ,
 "targetTemp": "19" ,
 "ControlDeviceID": "Holliesd2ed1c" ,
 "HeatGainConstant": "1.64993" ,
 "overrideName": null ,
 "MasterZone": "8" ,
 "isChangeable": "true" ,
 "TemperatureSensorID": "28ff1fbdc1160488" ,
 "TemperatureMax": "23" ,
 "demand": "true" ,
 "Name": "Office" ,
 "HeatLossConstant": "0.306194" ,
 "ControlSensorID": "4" ,
 "overrideOn": "false" ,
 "HeatGainRate": "-0.066007" ,
 "IsMaster": "0" ,
 "overrideID": "5" ,
 "ID": "6" ,
 "HeatLossRate": "-0.054351" } } ,
 "payload": { "targetSetpoint": { "value": 19 ,
 "scale": "CELSIUS" } } }}

I always get device is unresponsive or voice equivalent.

I would be grateful for any ideas if what I have got wrong.

NB a follow up status request (which has the same format of the response above) works.

devicessmart home
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Gaetano@Amazon avatar image
Gaetano@Amazon answered

Hi,

In order to troubleshoot the issue, we need the activity keys of the utterances that are failing:

https://github.com/alexa/alexa-smarthome/wiki/How-to-get-utterance-activity-keys

Thanks,
Gaetano

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.