Code Monkey home page Code Monkey logo

ham-bridge-smartthings-media-control's Introduction

HAM-Bridge-Smartthings-Media-Control

Contains the Smartapps and Device Types for Smartthings Media Control via HAM Bridge

Install HAM Bridge http://solutionsetcetera.com/about-ham-bridge.html

Write the applescripts for Play iTunes, Pause iTunes, Skip Track iTunes, Back Track iTunes, Play Spotify, Pause Spotify, Skip Track Spotify, Back Track Spotify. For Spotify I used the commands I gained from installing Airfoil-API.

Point HAM Bridge to each script and name it (no spaces).

Add the device types for each of the buttons (add device handler as code).

Add the devices (just name them and tick the drop down boxes), they will be under Alexa Switch for Play/Pause and Simulated Alexa Switch for Skip and Prev.

Add the button smartapp (from code), it will be under Marketplace > My Apps > HAM and Switch 2

Put your HAM Bridge commands into the smartapp, use on for play, off for pause, both for skip and prev. You will need several instances of the smartapp configured (3 for each of iTunes and Spotify).

Add the Media Controller device type and add it as a device.

Add the Media Controller Config smartapp and configure it, it will be under Marketplace > My Apps > Media Set Up.

You will have a Smartthings Media Remote and can call on Alexa to turn on/off/skip/back for iTunes/Spotify, the buttons can also be added to Harmony Remotes.

ham-bridge-smartthings-media-control's People

Contributors

ijaspley 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.