homebridge-tuneblade

0.0.2 • Public • Published

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 iOS 10 does not support speakers, they are emulating lightbulbs in the Home app with brightness level representing volume.

Once iOS 11 with speaker support is released, I will swap this over.

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

Readme

Keywords

Package Sidebar

Install

npm i homebridge-tuneblade

Weekly Downloads

1

Version

0.0.2

License

ISC

Last publish

Collaborators

  • richard.mansfield