[RELEASE] Airfoil Speaker Control

This driver allows you to connect to your Airfoil installation and remote control volume, connection of an airfoil speaker etc.

I'm working on managing sources in an upcoming release.

This driver requires the use of Airfoil and Airfoil API. View the readme for links

AirfoilSpeaker Driver

3 Likes

Nice. I was working on something like this a while back but the requirement for a mac and applescript for the API killed it for me. I couldn't find any way to do it easily on windows.

I ended up doing something similar with tuneaero and tunerelay on windows. That has a direct api you can poll on tunerelay. No need for a 3rd party api or anything.

@gavincampbell the whole Mac requirement is a bummer but if you have this eco system it’s great, I’ll have to check out the tune relay thing, sounds interesting. Eventually I want to leverage vlcthing and source switching for announcements etc.

I'm having a hard time running this. See attached pic. Obviously not inputing url:port properly but I've tried everything.
Help for a noob?

Not 100% sure the Airfoil API is loaded properly btw. Very much would appreciate any help.

It seems like you replaced the code? You should use the code without alteration then create a new device and assign this driver to it. In the new device you can specify the ip and port

Ah gotcha-very new to this. Thanks for replying.

We all were noobies at one point :slight_smile: enjoy!

So I created the device using the ip of the machine running airfoil and the port 8080.
This is what I see.
Not sure the airfoil API is installed properly.
This is what I see in terminal when I dbl click "install" in the SCRIPTS folder.
Last login: Fri Dec 11 14:57:43 on ttys000

/Users/Fred\ 1/Downloads/airfoil-api-master-4/script/install ; exit;

Freds-new-laptop:~ Fred2$ /Users/Fred\ 1/Downloads/airfoil-api-master-4/script/install ; exit;

Installing airfoil-api...

cp: config/org.airfoil-api.plist: No such file or directory

logout

Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.

[Process completed]

Thoughts? TIA advance. I bought a hubitat just to be able to control my airplay speakers via voice. Your help is very much appreciated.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.