Skip to content

richmansfield/homebridge-tuneblade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

homebridge-tuneblade

Intro

This homebridge plugin enables enabling, disabling and volume control of AirPlay speakers as part of a multi-room setup powered by TuneBlade.

Since both the iOS 10 & iOS 11 home application does not support 'speaker' accessories, this plugin shows each speaker as a lightbulb in the Home app with brightness level representing volume.

Pre-requisites

  1. A working Homebridge installation on your local network
  2. A working TuneBlade installaton on your local network

Setup

  1. Ensure TuneBlade remote port is set to a fixed port. Go to TuneBlade settings, 'Remote Control' then select 'Manual' port and enter a free port
  2. Visit http://<yourtunebladeserver>:<port>/devices in a web browser, this will list configured devices that you will need the ID's for the configuration of this plugin
  3. Install this plugin into your homebridge setup
  4. Update your config file to include your speakers (see examples below)

Config

Add each speaker you want to control to your config.json file, e.g.:

{
"accessory": "tuneblade",
"name": "My Speaker",
"pollTime": "60",
"api": "http://192.168.0.2:8000",
"speakerid": "yourspeakerid"
}

name is shown in the Home app, and each speaker block you add needs to have a unique name

pollTime queries the API every x seconds to update homekit in case you controlled the speaker via the iOS app or Windows app.

api is your tuneblade internal network server ip and the remote control port configured in step 1

speakerid is obtained from step 2 above

About

Homebridge Plugin to control a TuneBlade server

Resources

Stars

Watchers

Forks

Packages

No packages published