question

IoTMinds avatar image
IoTMinds asked

Alexa couldn't find a new devices to connect when add thermostat controller capability to device

Hi,

I am trying add my device with thermostat controller capability. Supprisingly it is failing without throughing any error in the logs. Could you please check the response json and tell me what mistake did i do

{
  "header": {
    "namespace": "Alexa.Discovery",
    "name": "Discover.Response",
    "payloadVersion": "3",
    "messageId": "4ada8467-14bc-49da-ad8c-a6eacac7afbf"
  },
  "payload": {
    "endpoints": [
      {
        "endpointId": "remote-DeFe70ktfLuuy76Noe1M@UPV1GfglhddecbJuwVpOhPNSAHl1-002588B8_1",
        "manufacturerName": "xxxxxxx",
        "friendlyName": "Toshiba tv",
        "description": "Remote connected via IoTCasa",
        "displayCategories": [
          "OTHER"
        ],
        "additionalAttributes": {
          "manufacturer": "Toshiba",
          "model": "default",
          "serialNumber": "002588B8_1",
          "firmwareVersion": "0",
          "softwareVersion": "0",
          "customIdentifier": "002588B8_1"
        },
        "cookie": {},
        "capabilities": [
          {
            "type": "AlexaInterface",
            "interface": "Alexa",
            "version": "3"
          },
          {
            "type": "AlexaInterface",
            "interface": "Alexa.PowerController",
            "version": "3",
            "properties": {
              "supported": [
                {
                  "name": "powerState"
                }
              ],
              "proactivelyReported": true,
              "retrievable": true
            }
          },
          {
            "type": "AlexaInterface",
            "interface": "Alexa.EndpointHealth",
            "version": "3.2",
            "properties": {
              "supported": [
                {
                  "name": "connectivity"
                }
              ],
              "proactivelyReported": true,
              "retrievable": true
            }
          }
        ]
      },
      {
        "endpointId": "remote-vvAhf6xpBhpclD044IqY@UPV1GfglhddecbJuwVpOhPNSAHl1-002588B8_1",
        "manufacturerName": "xxxxxxxx",
        "friendlyName": "Panasonic AC",
        "description": "Remote connected via xxxxx",
        "displayCategories": [
          "THERMOSTAT"
        ],
        "additionalAttributes": {
          "manufacturer": "Panasonic",
          "model": "default",
          "serialNumber": "002588B8_1",
          "firmwareVersion": "0",
          "softwareVersion": "0",
          "customIdentifier": "002588B8_1"
        },
        "cookie": {},
        "capabilities": [
          {
            "type": "AlexaInterface",
            "interface": "Alexa",
            "version": "3"
          },
          {
            "type": "AlexaInterface",
            "interface": "Alexa.PowerController",
            "version": "3",
            "properties": {
              "supported": [
                {
                  "name": "powerState"
                }
              ],
              "proactivelyReported": true,
              "retrievable": true
            }
          },
          {
            "type": "AlexaInterface",
            "interface": "Alexa.ThermostatController",
            "version": "3.2",
            "properties": {
              "supported": [
                {
                  "name": "targetSetpoint"
                },
                {
                  "name": "thermostatMode"
                }
              ],
              "retrievable": true,
              "proactivelyReported": true
            },
            "capabilityResources": {},
            "configuration": {
              "supportedModes": [
                "OFF",
                "COOL",
                "ECHO",
                "HEAT"
              ]
            }
          },
          {
            "type": "AlexaInterface",
            "interface": "Alexa.EndpointHealth",
            "version": "3.2",
            "properties": {
              "supported": [
                {
                  "name": "connectivity"
                }
              ],
              "proactivelyReported": true,
              "retrievable": true
            }
          }
        ]
      },
      {
        "endpointId": "switch_ICPS_K1bzz93Ho1WPlHl4wfFI_gwId_UPV1GfglhddecbJuwVpOhPNSAHl1_007E3A74_1",
        "manufacturerName": "xxxxxxx",
        "friendlyName": "cloud light",
        "description": "Switch connected via xxxxx",
        "displayCategories": [
          "SWITCH"
        ],
        "additionalAttributes": {
          "manufacturer": "xxxxxx",
          "model": "xxxxx",
          "serialNumber": "007E3A74_1",
          "firmwareVersion": "0",
          "softwareVersion": "0",
          "customIdentifier": "007E3A74_1"
        },
        "cookie": {},
        "capabilities": [
          {
            "type": "AlexaInterface",
            "interface": "Alexa",
            "version": "3"
          },
          {
            "type": "AlexaInterface",
            "interface": "Alexa.PowerController",
            "version": "3",
            "properties": {
              "supported": [
                {
                  "name": "powerState"
                }
              ],
              "proactivelyReported": true,
              "retrievable": true
            }
          },
          {
            "type": "AlexaInterface",
            "interface": "Alexa.EndpointHealth",
            "version": "3.2",
            "properties": {
              "supported": [
                {
                  "name": "connectivity"
                }
              ],
              "proactivelyReported": true,
              "retrievable": true
            }
          }
        ]
      }
    ]
  }
}


alexa smart homethermostat
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

IoTMinds avatar image
IoTMinds answered

Hi,

Please check the modes list.

"supportedModes": [
                "OFF",
                "COOL",
                "ECHO",
                "HEAT"
              ]
"supportedModes": [
                "OFF",
                "COOL",
                "ECO",
                "HEAT"
              ]
10 |5000

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