A node.js client for your DIRECTV boxes
A node.js client for your DIRECTV boxes. This is another module to further enable my ability to control my whole house with node.js.
$ npm install shef
Connect to one of your boxes and do some stuff...
var shef = require'../';var box1 = shefbox'192.168.0.114';box1tune234if!err console.log'Tuned to channel 234';;
Your DIRECTV boxes might need a bit of setup. Here are the steps...
Menu->System Setup->Whole-Home->External Device
Current Program, and
Create an instance of a box object to represent one of your DIRECTV boxes
Return the information about the current tuned channel on the box
Get information about a program
Tune your box to a certain channel
key up event on the remote
key down event on the remote
key press event on the remote. This is the equivalent of a key down + key up.
Get version information about the box
Get all of the command options for the box
Get the current mode of the box.
0 is standby and
1 is active
Get an array of the locations for the box