Wednesday, April 25, 2018

Alexa Smart Home set URL to my website for discovery - development

Alexa Smart Home set URL to my website for discovery

​I am following the: Steps to Build a Smart Home Skill
https://developer.amazon.com/docs/smarthome/steps-to-build-a-smart-home-skill.html

I have followed the steps but I can’t figure out where to set the url to my website.
What I need is how to point the discovery to my website. https://mywebsite/api/alexa/discovery.
In the lambda code I don’t see where to set this url.

I have set the urls for oauth2 in the skill :
https://mywebsite/oauth/authorize
https://mywebsite/oauth/token

When I created the Alexa ASK skill to test my website it provides a endpoint default region.
My ask skill works great with the oauth to my website.

Also I would like to point the handlePowerControl to the https://mywebsite/api/alexa/control

NOTE: My website is done with laravel and the oauth is done with passport.

What am I missing?



from Laravel Questions and Answers https://laravelquestions.com/laravel/alexa-smart-home-set-url-to-my-website-for-discovery/
via Lzo Media

No comments:

Post a Comment