All Projects → thorpelawrence → alexa-spotify-connect

thorpelawrence / alexa-spotify-connect

Licence: MIT license
Control Spotify Connect devices with Alexa

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to alexa-spotify-connect

Amazon Alexa Php
Php library for amazon echo (alexa) skill development.
Stars: ✭ 93 (+1.09%)
Mutual labels:  alexa, amazon, echo
Chatskills
Run and debug Alexa skills on the command-line. Create bots. Run them in Slack. Run them anywhere!
Stars: ✭ 171 (+85.87%)
Mutual labels:  alexa, amazon, echo
mapbox-assistant-example
Examples of Amazon Echo, Google Home, and other bots interacting with Mapbox services.
Stars: ✭ 15 (-83.7%)
Mutual labels:  alexa, amazon, echo
Alexa Voice Service.js
Library for interacting with Alexa Voice Service (AVS) in the browser.
Stars: ✭ 123 (+33.7%)
Mutual labels:  alexa, amazon
Home Assistantconfig
🏠 Home Assistant configuration & Documentation for my Smart House. Write-ups, videos, part lists, and links throughout. Be sure to ⭐ it. Updated FREQUENTLY!
Stars: ✭ 3,687 (+3907.61%)
Mutual labels:  alexa, amazon
Alexa Skills Kit Sdk For Java
The Alexa Skills Kit SDK for Java helps you get a skill up and running quickly, letting you focus on skill logic instead of boilerplate code.
Stars: ✭ 758 (+723.91%)
Mutual labels:  alexa, amazon
ioBroker.cloud
Enable access to ioBroker from internet
Stars: ✭ 36 (-60.87%)
Mutual labels:  alexa, amazon
Flask Ask
Alexa Skills Kit for Python
Stars: ✭ 1,877 (+1940.22%)
Mutual labels:  alexa, echo
Voicewp
Create Alexa Skills through WordPress
Stars: ✭ 132 (+43.48%)
Mutual labels:  alexa, amazon
go-avs
A simple package for communicating with Amazon’s HTTP/2 API for AVS.
Stars: ✭ 25 (-72.83%)
Mutual labels:  alexa, amazon
Homeassistant Config
Stars: ✭ 211 (+129.35%)
Mutual labels:  alexa, amazon
Alexa Skill Kit
Library for effortless Alexa Skill development with AWS Lambda
Stars: ✭ 278 (+202.17%)
Mutual labels:  alexa, amazon
AlexaAndroid
No description or website provided.
Stars: ✭ 15 (-83.7%)
Mutual labels:  alexa, amazon
Bst
🔧 Bespoken Tools - Tools for making voice apps faster and better
Stars: ✭ 193 (+109.78%)
Mutual labels:  alexa, echo
Go Alexa
A collection of Amazon Echo / Alexa tools for Go development.
Stars: ✭ 245 (+166.3%)
Mutual labels:  alexa, amazon
jarvis
Jarvis Home Automation
Stars: ✭ 81 (-11.96%)
Mutual labels:  alexa, amazon
aleksa
Aleksa is a small framework for writing Alexa Skills in Kotlin
Stars: ✭ 37 (-59.78%)
Mutual labels:  alexa, echo
Home-Assistant
Home-Assistant-Config
Stars: ✭ 186 (+102.17%)
Mutual labels:  alexa, amazon
Home Assistant
Home-Assistant-Config
Stars: ✭ 182 (+97.83%)
Mutual labels:  alexa, amazon
alexa template
A template and tutorial for building an Alexa Skill written in Python focused on readability.
Stars: ✭ 44 (-52.17%)
Mutual labels:  alexa, echo

alexa-spotify-connect (Connect Control for Spotify)

Greenkeeper badge

Build Status Maintainability Test Coverage Coverage Status

Control Spotify Connect devices with Alexa

Alexa Skill Store

UK: https://www.amazon.co.uk/Lawrence-Thorpe-Connect-Control-Spotify/dp/B074KFNWFD
US: https://www.amazon.com/Lawrence-Thorpe-Connect-Control-Spotify/dp/B074KFNWFD

Contribution and development

To get started, fork this repository to make changes. If those changes would be useful in the project, feel free to make a pull request.

Deploy the skill

  1. Create a Spotify developer app at developer.spotify.com, get a client ID and client secret
  2. Create an Amazon Alexa skill, choosing custom. When you get to the part in the Alexa developer console where you can upload/paste in JSON, run skill/skill.js to generate the JSON required
$ node skill/skill.js
  1. Enter the application ID from the developer console into package.json, under the key alexa.applicationId.
  2. Turn on Account linking, choosing "Auth Code Grant". Set "Authorization URI" to https://accounts.spotify.com/authorize, "Access Token URI" to https://accounts.spotify.com/api/token, set client ID and secret, add scopes user-read-playback-state and user-modify-playback-state, and the three redirect URLs from the account linking details in your developer console for the skill
  3. Deploy this webapp to somewhere that supports HTTPS (required for Alexa skills), for example Render
  4. Configure the skill to use an HTTPS endpoint of https://<your-url>/<app-name> where app-name is the name specified in alexa.app('app-name'), connect by default

Adding a language

  1. Check that the locale is supported by Amazon (see list of supported locale codes) and get your locale code (e.g. en-GB)
  2. Create a locale file in locales/{LOCALE-CODE}.json (see existing locales for formatting), please do not change the placeholder value names (in double curly brackets e.g. {{name}})
  3. Create a localised interaction model used by Skill Builder in skill/locales/{LOCALE-CODE}.json (please only change the values for the samples for each intent and not the intent names or slots). The formatting should be similar to the other locales, but if more (or fewer) samples are required for the language add as many as possible (more samples mean better accuracy) (formatting done by alexa-utterances)
  4. Add the locale to the list of locales in skill/skill-i18n.js (follow the format used by other locales)
  5. Please also provide publishing information as a comment in your pull request so that it can be localised and published to Amazon in the new language
  6. (Optional: for deployment) To create the JSON data required by Skill Builder run
$ node skill/skill-i18n.js

Deploy to Render

License

MIT

Disclaimer

This product is not endorsed, certified or otherwise approved in any way by Spotify. Spotify is the registered trade mark of the Spotify Group.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].