Skip to content

NodeJS module to send remote control commands to a Sky TV box

Notifications You must be signed in to change notification settings

neiloakley/sky-remote

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#sky-remote

A NodeJS module for sending remote control commands to a Sky TV box. Works with Sky+HD and SkyQ.

Usage

Installation

npm install sky-remote

Simple example

var SkyRemote = require('sky-remote');

var remoteControl = new SkyRemote('192.168.0.40');

// Simple - just send a command
remoteControl.press('power');

// Cool - send sequences of commands
remoteControl.press(['channelup', 'record', 'select']);

// Nice - send commands with a callback
remoteControl.press('channelup', function(err) {
	if (err) {
		console.log("Woah! Something went wrong. Cry time.");
	} else {
		console.log("I just pressed the Channel Up command.");
	};
});

Sky Q

var remoteControl = new SkyRemote('192.168.0.40', SkyRemote.SKY_Q);

Remote control commands

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

See also

About

NodeJS module to send remote control commands to a Sky TV box

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%