Comments (7)
Hey, I kind of have the same issue. Even when I try to return the sample of the discovery response as it is (https://github.com/alexa/alexa-smarthome/blob/master/sample_messages/Discovery/Discovery.response.json). The validator says its valid and also the validator says, that mine is valid too. But Alexa simply says she was not able to find any new devices.
I also submited this to Alexa support but i just got kind of an automated message, nothing informative that could help to solve the issue.
This is my post: https://forums.developer.amazon.com/questions/109213/devices-not-discovered.html
from alexa-smarthome.
Hi @DotNetPat,
Initially I was using custom Lambda Handler "RequestHandler", The I switch over to Stream Request Handler, "RequestStreamHandler", with this change my problem get solved.
Hope this may help you. All the best!
from alexa-smarthome.
Unfortunately it did not fix the problem, Im not using Java anyway. I have no clue why a valid response and also the sample response is not working when returned on discovery. perhaps its because its hosted in Ireland xD But im forced to host it in Ireland, because my Alexa is speaking German. Anyway, without information about the processing of the response in Alexa it seems to be impossible ...
from alexa-smarthome.
You have to select that language which is supported in the region of your Lambda function. Check your Lambda function Region and language of Skill.
from alexa-smarthome.
Found it out, god such a silly mistake. I built up the response as an anonymous obejct graph. But I serialized it before returning, so it got serialized twice because returning an object graph triggers serialization xD
from alexa-smarthome.
I have had something like this happen to me when using Python and returning not just a dict, but a dict dumped as a JSON string. Usually a quick look at the logs and the oddly serialized response contents sets me back on track.
from alexa-smarthome.
Great Job. It is working. Congratulations!
from alexa-smarthome.
Related Issues (20)
- About RTCSessionController API
- Is this repo maintained ?? HOT 16
- Alexa HOT 1
- Unable to get Access token using authorization code for a skill in lambda function HOT 3
- when testing smart home ample device it shows error HOT 2
- Validation schema fails to parse in Node.js HOT 7
- Add validation for Camera PTZ controllers HOT 1
- Getting Domain not whitelisted for using LWA javaScript SDK HOT 1
- Capability Evaluations & Test plans HOT 1
- "errorMessage": "2021-05-11T08:48:54.169Z d01782c6-b615-4b06-96b2-ac313bae6d72 Task timed out after 3.06 seconds"
- Adding Alexa.Cooking interfaces into the Validation Schemas? HOT 1
- Documentation misses an important gotcha HOT 1
- How to get utterance activity keys HOT 3
- Schema validation for endpointId using (.) periods HOT 1
- Alexa.PercentageController empty value in payload HOT 1
- Fixes for schema broken by commit 276150255d1843021dcd8b47809c0f79a6660517 HOT 4
- Hm, I'm having trouble reaching null. [Alexa] PowerController TurnOff 0E:38:82:9E:54:6B undefined null HOT 3
- How to report bugs? HOT 1
- Can Alexa Smart Home Lambda skill response with custom so far? HOT 1
- Json schema draft-03 is given instead of draft-04 in validation_schemas/alexa_smart_home_message_schema.json in this link - https://github.com/alexa-samples/alexa-smarthome/wiki/Validation-Schemas HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alexa-smarthome.