Giter Club home page Giter Club logo

alexa-chromecast-skill-2.0's Introduction

Alexa Chromecast Skill 2.0

Allows Amazon Alexa to control Google Chromecast

Now with 100% less PHP!

#Current Features: ###Play Youtube Videos (Based on Sample Utterances) By saying "Alexa, ask ChromeCast play Jontron Home Improvement", Alexa will send the video URL to your Chromecast Python Script.

###Pause Videos By saying "Alexa, ask ChromeCast to Pause", Alexa will pause the Chromecast.

###Resume Videos By saying "Alexa ask ChromeCast to resume", Alexa will resume playback.

###Changing the Volume By saying "Alexa ask ChromeCast to change the volume to 50", Alexa will change the volume to the specified volume

#Requirements

  • youtube-dl
  • pymysql (pip install pymysql)
  • pychromecast (pip install pychromecast)
  • Youtube API Key
  • Port Forwarded LAMP server (or WAMP on Windows)

#Installation

  • In the index.py, replace all the connection strings with your information.

  • Zip up all the files EXCEPT raspberry.py and the speechAssets folder

  • On AWS Lambda, Create A new Skill with Basic Execution and The Alexa Skills Kit Event Source with Python 2.7 as the interpreter.

  • IMPORTANT: Make sure that index is the event, lambda_handler is the handler, and Python is the Interpreter

  • Upload the ZIP to AWS Lambda

  • Use intentSchema.json and sample-utterances.txt to set your Intents and Sample Utterances.

  • In raspberry.py, replace:

    • the connection string with the same connection string from index.py.
    • YOUTUBE_API_KEY with your Youtube API Key
    • CHROMECAST_NAME with your default chromecast name.
  • Upload raspberry.py to your Raspberry Pi

  • Run raspberry.py

alexa-chromecast-skill-2.0's People

Contributors

pizzaface avatar jamborta avatar

Watchers

James Cloos avatar

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.