GithubHelp home page GithubHelp logo

nathancashmore / sonosassistant Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 4.82 MB

Intermediate service to receive Google Home request and interpret to play tunes on Sonos

License: MIT License

JavaScript 92.14% Shell 7.86%

sonosassistant's Introduction

SonosAssistant

Intermediate service to receive Google Home request and interpret to play tunes on your local Sonos.

Uses the fine work of jishi/node-sonos-http-api to talk to your local services.

Prerequisites

Setup

Sonos Assistant

  • npm install

Api.Ai

  • Goto Api.Ai

  • Create new agent

  • Goto Settings > Export and Import

  • Restore from zip

  • Drop in the file SonosAssistant-ApiAi.zip at base of project.

  • Goto Integrations > Actions on Google (Follow the steps to push out to google cloud)

Running

  • npm start

Fires up:

  • node-sonos-http-api by default on port 5005
  • Sonos-Assistant by default on port 3000

Serving over https

Copy output https url and enter in Api.Ai as the Fulfillment Webhook URL with /sonos/ on the end. e.g. https://7e68c7b6.ngrok.io/sonos

Logging

All output goes to the file output.log, tail that if nothing is working.

Testing

npm test

sonosassistant's People

Contributors

nathan-cashmore avatar

Stargazers

Daniel B avatar

Watchers

Nate avatar Daniel B 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.