Git Product home page Git Product logo

alexa-pubnub-heroku's Introduction

Amazon Alexa and PubNub with the skill adapter code as a web service

This repository has the source code for my blog post about Voice controlled home automation with Amazon Alexa and Pubnub This repository hosts the code for an alexa adapter running as a web service on cloud hosting platform such as heroku (as opposed to AWS Lambda function in the other repository https://github.com/gopal-amlekar/alexa-pubnub-aws).

Steps to follow:

  heroku login
	Enter your Heroku credentials:
	Email: [email protected]
	Password:
	Logged in as [email protected]
  • Create a web app with following commands:
	heroku create
	Creating app... done, demo-app-96357 (Heroku will assign a random name to your app)
	https://demo-app-96357.herokuapp.com/ | https://git.heroku.com/demo-app-96357.git
  • Add following details as environment variables on heroku. (Refer https://devcenter.heroku.com/articles/config-vars)

  • Go back to https://developer.amazon.com and navigate to your alexa skill's configuration. Add this endpoint to the configuration section as an HTTPS endpoint (not AWS ARN). You can put this endpoint for North america and Europe both.

  • Make sure to select the SSL certificate option there as "My development endpoint is a sub-domain of a domain that has a wildcard certificate from a certificate authority".

  • Save the configuration and go ahead to test your endpoint. You should get a valid response back. Also, you should get a message on the pubnub channel alexa_world as well.

  • For more details read my blog post https://abszeroblog.wordpress.com/

alexa-pubnub-heroku's People

Contributors

gopal-amlekar avatar

Stargazers

Yash Desai avatar Aleksei Kuznetcov avatar Jorge Rios avatar Pankaj Gaikar avatar

Watchers

 avatar

Forkers

vquynh jotarios

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.