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-sky-q-no-logs

v1.3.2

Published

Homebridge plugin to turn on/off a Sky Q box.

Downloads

47

Readme

homebridge-sky-q-no-logs

npm npm

This is a fork wich stops unnecessarily logging the state of Sky Q clogging up log files.

Homebridge plugin to turn on/off a Sky Q box and send custom commands (such as channel shortcuts or record)

Installation

Install the plugin globally using npm.

npm install -g homebridge-sky-q-no-logs

Configuration

Add this to your ~/.homebridge/config.json as an accessory:

{
	"accessory": "SkyQ",
	"name": "Sky Q Power",
	"ipAddress": "<Sky Q Box IP Address>"
}

Advanced Configuration

cmd option

Can be used to send other commands to the Sky Q box also, for example a shortcut to channel 101 or to record what is currently being watched.

When using the "cmd" option (and when it is set to anything other than "power") the switch state in the Home app will always return to the off state (as it doesn't make sense for a shortuct switch to be on/off).

The full list of available commands is here:

sky power

tvguide or home boxoffice services or search interactive or sidebar

up down left right select

channelup channeldown i

backup or dismiss text help

play pause rewind fastforward stop record

red green yellow blue

0 1 2 3 4 5 6 7 8 9

delayed option

There is a special feature to work around a Samsung Soundbar HDMI CEC bug on startup (where it flips off of the HDMI channel ~30 seconds after turning on). With the "delayed" option set true, and when NOT using the "cmd" option, when the Sky Q box is instructed to switch on, after 20 seconds it will send the "sky" button command as well to re-send the HDMI CEC signal and force the Soundbar to stay on that channel.

autoOn option

When using the "cmd" option, if the box is off, when AutoOn is true it will switch the Sky Q box on before sending the cmd. Also works in conjunction with the "delayed" function if enabled.

{
	"accessory": "SkyQ",
	"name": "Sky Q Power",
	"ipAddress": "<Sky Q Box IP Address>"
	"cmd": "1,0,1",
	"delayed": true,
	"autoOn": true
}

Tips

When creating a 'go to channel' type command, it is recommended you put 'backup,backup,backup' before the channel to ensure any menu/playing programme is quit before entering the number;

"cmd": "backup,backup,backup,1,0,1"

To play a specific program the search function works best, similar to above, be sure to do a 'search,search' to clear any preivous search info. This example searches for "pep" (Peppa Pig), goes right 3 times to allow time for the search to complete, selects it and moves down to 'More Like This' and then up 1 to 'Recordings', select, up a few times to ensure Series 1, right twice to get to 'Watch From Start' (to avoid playing from a random previous point) and select to play;

"cmd": "search,search,7,3,3,7,right,right,right,select,down,down,down,down,down,down,down,up,select,up,up,up,up,up,right,right,select"

If typing a word which requires 2 letters from the same number, split them with a couple of 'dud' key presses to let it time out, for example, "abc" would be;

"cmd": "search,search,2,red,red,2,2,red,red,2,2,2"

Getting your Sky Q Box's IP address

On your Sky Q Box, go to Settings > Setup > Network > Advanced Settings > IP address. Note that it is advisable to assign your Sky Q box a reserved IP via the DHCP settings on your router. Without doing this your Sky Q box will likely get a different IP when your router is ever rebooted.