/airfoil-api-smartthings

[unmaintained] A SmartThings App & Device Handler to pair with airfoil-api

Primary LanguageGroovyMIT LicenseMIT

Control Airfoil with SmartThings

No Maintenance Intended

Uses airfoil-api to control Rogue Amoeba's Airfoil with SmartThings.

This project essentially duplicates the functionality of Airfoil Remote in a way that you can integrate with the rest of your SmartThings automation.

Crazy things you could do with this

  • Mount an iPad on the wall for easy volume control
  • Control Airfoil speaker volume with a Z-Wave dimmer
  • Turn on and off Airfoil speakers with HomeKit and Siri

Setup

Airfoil & API

  • Start Airfoil
  • Setup airfoil-api on the computer running Airfoil

SmartThings web setup

SmartThings phone setup

  • Tap the + icon in your SmartThings iOS app.
  • Navigate from the "Things" tab to the "My Apps" tab
  • Tap "Airfoil API Connect"
  • Enter the IP, port (default 8080) and name of the computer running Airfoil
    • TODO: get dns-sd working to remove this step
  • Select the speakers you'd like to control
  • Tap "Done" and navigate back to the SmartThings home screen.
  • Tap the + icon in your SmartThings iOS app and add the detected speakers to your device list.

Disclaimer

SmartThings, Airfoil, and Z-Wave are all trademarks of their respective owners.