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 = ;var box1 = shef;box1;
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