npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

homebridge-bose-switchboard

v0.0.5

Published

Homebridge plugin for the bose switchboard platform

Downloads

18

Readme

Installation

  1. Install homebridge using: npm install -g homebridge
  2. Install this plugin using: npm install -g homebridge-bose-switchboard
  3. Add the platform to your configuration file.
{
	"platforms": [
		{
			"platform": "BoseSwitchboard"
		}
	]
}
  1. Then open http://[the ip of homebridge]:8000 in your browser and follow the instructions. They will guide you through setting up a bose connection.

Configuration

| Key | Required | Description | |-------------------|-----------|----------------------------------------------------------------------| | platform | required | Must be BoseSwitchboard | | clientId | optional* | The client id from the connection created on developer.bose.com. | | clientSecret | optional* | The client secret from the connection created on developer.bose.com. | | port | optional | The port that the web portal binds to. (Default is 8000) | | exposeVolumeLight | optional | Set this to true to create a Light accessory to control the volume. |

How it works

This plugin creates an accessory for every devices that is linked to your bose account. The accessory shows up as television, this is currently the only way to support input selection and turning the device on or off.

The input selection lists the available presets in your Bose Music app. The Switchboard api doesn't have support for getting the currently selected preset, so this plugin tries to make a best guess and shows that as the currently selected input.

There's also no way for the api to switch to Bluetooth, AirPlay or TV input source. But these inputs have been listed anyway. When you select them it turns your device off and on again. This switches the input to the most recent state except for AirPlay it seems. So this could be useful to switch the input of a SoundBar from AirPlay to TV at least.

Roadmap

  • [x] controlling devices power state
  • [x] support controlling devices input source and presets
  • [x] support renaming devices and input sources
  • [x] setting clientId and clientSecret config from the web portal
  • [x] support for controlling the volume of a device
  • [ ] setting for playing sound when turning device on or off