question

clark avatar image
clark asked

Finding devices using Discovery is not shown by 3.0

Use the Discover Device directive, then look at the Lamba log, there is a return message, but there is no Deivce display on the application. I really can't find any errors, but I just don't show them. Can someone tell me why?

The message is:

{ "event": { "header": { "messageId":"3190e1a7-6247-4209-9bc0-667456257929", "name":"Discover.Response", "namespace":"Alexa.Discovery", "payloadVersion":"3" }, "payload": { "endpoints": [ { "endpointId":"0845d450d5d8", "friendlyName":"Home", "description":"Home", "manufacturerName":"vine", "displayCategories": [ "THERMOSTAT" ], "cookie": {}, "capabilities": [ { "type":"AlexaInterface", "interface":"Alexa.PowerController", "version":"3", "properties": { "supported": [ { "name":"TurnOn" }, { "name":"TurnOff" } ], "proactivelyReported":true, "retrievable":true } }, { "type":"AlexaInterface", "interface":"Alexa.ThermostatController", "version":"3", "properties": { "supported": [ { "name":"targetSetpoint" }, { "name":"thermostatMode" } ], "proactivelyReported":true, "retrievable":true } }, { "type":"AlexaInterface", "interface":"Alexa.TemperatureSensor", "version":"3", "properties": { "supported": [ { "name":"temperature" } ], "proactivelyReported":false, "retrievable":true } } ] } ] } } }

alexa skills kitalexa smart 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.

clark avatar image
clark answered

@Brian@Amazon help please.

10 |5000

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

Picpol2 avatar image
Picpol2 answered

Hi @clark,

I am not sure if this is a big help for you, but here is a short discovery response that works for me (but without "Alexa.PowerController"). Maybe you could first provide this to Alexa to troubleshoot the error. If this response works, you could gradually return to your response until the error occurs.

In my brief comparison, except for the "Alexa.PowerController" and "Alexa" interface, I could not find any major differences or errors.

{
  "event": {
    "header": {
      "namespace": "Alexa.Discovery",
      "name": "Discover.Response",
      "payloadVersion": "3",
      "messageId": "b689453e-db35-46b2-bac2-24466b8b58e0"
    },
    "payload": {
      "endpoints": [{
          "endpointId": "1",
          "friendlyName": "Home",
          "manufacturerName": "n.a.",
          "description": "KNX GiraHS",
          "displayCategories": ["THERMOSTAT",
            "TEMPERATURE_SENSOR"],
          "capabilities": [{
              "type": "AlexaInterface",
              "interface": "Alexa.ThermostatController",
              "version": "3",
              "properties": {
                "proactivelyReported": false,
                "retrievable": true,
                "supported": [{
                    "name": "temperature"
                  }
                ]
              }
            }, {
              "type": "AlexaInterface",
              "interface": "Alexa.TemperatureSensor",
              "version": "3",
              "properties": {
                "proactivelyReported": false,
                "retrievable": true,
                "supported": [{
                    "name": "temperature"
                  }
                ]
              }
            }, {
              "type": "AlexaInterface",
              "interface": "Alexa",
              "version": "3"
            }
          ]
        }
      ]
    }
  }
}
1 comment
10 |5000

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

clark avatar image clark commented ·

Thanks for your advice, I'll try it.

This skill was written six months ago and has been running for half a year without problems. I have recently made some updates and then it has become like this. I later reverted to the original, using "Device Discover" still has no results. This makes me very depressed.

0 Likes 0 ·
apeksha avatar image
apeksha answered

Hello Clark,

Did Alexa replied how many devices found after Discovery?

Please provide the skill Id of the skill to debugg this issue.

2 comments
10 |5000

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

clark avatar image clark commented ·

She said: "I couldn't find any new smart home devices......". But there is no Deivce display on the Amazon Alexa APP, including old devices.

My skill ID is: amzn1.ask.skill.bda834da-dabc-474f-8976-4dba0ac7a61d

0 Likes 0 ·
apeksha avatar image apeksha clark commented ·

Hello Clark,

Looks like Discovery is not successful. As this issue is specific to your account, please file a contact us here where we will be able to assist further. While rising this case please provide us Account linking credentials for debugging.

0 Likes 0 ·