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-television-universal-control

v1.2.0

Published

Control LIRC and/or Serial devices as a Television device in Homebridge

Downloads

126

Readme

Homebridge Television Universal Control

Build Status npm version

This Homebridge plugin enables control of one or more compatible devices using one combined "Television" (or alternative category) in HomeKit.

Setup

If you run into permission errors during the install, run sudo npm i -g homebridge-television-universal-control --unsafe-perm

Configuration

It is recommended that you use Homebridge Config UI X for GUI configuration. You can also view the configuration schema.

First, set the name of your television group. Then, define your devices. For each physical device you want to control in the group, add a configuration under the relevant protocol. See the protocols section below.

Now, you will want to define the commands to run for setting power, speaker (volume/mute), and remoteKeys. Each individual command endpoint will take an array of command objects to run for each supported protocol. Each command object must contain the name of the interface you want to use and the command to send to that interface.

Finally, you can define your inputs. Each input will allow you to specify commands in a similar format as the other command endpoints. You can also specify any query responses expected from supported protocols. The first input defined will be what the TV initializes to if the state can't be determined by querying a supported protocol.

Protocols

The plugin supports multiple protocols, and may have more added in the future. Pull requests are welcome!

Serial

Each serial device must have a unique name. The name will be used when describing the commands to run for each endpoint. You can specify options for how to initiate the connection. Since serial is bidirectional, you can also specify options on how to get information from this device, such as power, mute, or input status.

LIRC

Each LIRC device must have a unique name. The name will be used when describing the commands to run for each endpoint. You must set up and run LIRC on a host with an IR transmitter. You can specify the host, remote name, and delay to use in the configuration.