question

mbuster avatar image
mbuster asked

More discovery problems

Until today, my skill has been successfully discovering scenes and devices. Suddenly, during testing discovery stopped working. I can follow the discovered devices all the way through the Lambda function, where it supplies them to the callback as expected, but Alexa always reports that no devices were discovered. Keep in mind, this has been working for days, and it stopped working without any related code changes. I have tried disabling the skill in the alexa app, turning test mode off then on again, re-enabling the skill in the app, re-linking my account, and finally attempting discovery again. No dice.

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

mbuster avatar image
mbuster answered

Turns out if the 'modelName' property of any of your discovered appliances is null, the entire discovered payload will be ignored. May be true with other properties as well.

10 |5000

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