Announcement

Collapse
No announcement yet.

DirecTV Plug-in - User Guide

Collapse
This topic is closed.
X
This is a sticky topic.
X
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • DirecTV Plug-in - User Guide

    INSTALLATION / CONFIGURATION

    System Requirements:

    This plugin is for HS3 or HS3PRO. It works with both Windows and Linux versions.
    It supports DirecTV set top box models H21, HR20 and newer.

    DirecTV Configuration:

    .
    Click image for larger version

Name:	directvsettings.jpg
Views:	1
Size:	55.8 KB
ID:	1205828

    Plugin Installation:
    Download and install from the updater, or download package from the Beta Testing thread and follow instructions to install.

    To install on Linux
    You will probably have to install the System.Xml.Linq mono library.
    For instance on Ubuntu:
    Code:
    sudo apt-get install libmono-system-xml-linq4.0-cil

    Plugin Configuration
    Start the plugin from the "PLUG-INS > Manage" page and go to the config page "PLUG-INS > DirecTV > Config". Fill in the IP Address and port of your DirecTV set top box.

    Click image for larger version

Name:	config.jpg
Views:	1
Size:	30.3 KB
ID:	1205829
    Last edited by spud; March 26th, 2014, 10:30 AM.

  • #2
    FEATURES

    Devices
    On first run the plugin will automatically create DirecTV devices. The Mode, Call Sign, Channel, Title, Rating and Parental Control devices report the current status of the DirecTV box, and using the Remote Control device you can send virtual key pressed to the box. You can also use this Remote Control device to easily build your own remote control interface in HSTouch.

    Click image for larger version

Name:	devices.jpg
Views:	1
Size:	101.9 KB
ID:	1170462



    Remote Control
    From PLUG-INS > DirecTV > Remote Control, you have access to a more user friendly web remote control:

    Click image for larger version

Name:	remotecontrol.jpg
Views:	1
Size:	55.5 KB
ID:	1170362

    by adding some parameters to the remote web page url you can suppress the HS header and footer, and you can resize it so that it can easily integrated in HSTouch

    The format of the url and all the optional parameters are:

    Code:
    http://<your_hs_ip>/directvremote?nohsheader=1&nohsfooter=1&width=w&height=h
    To integrate it in HSTouch create a text element set the isHTML property to True and the Text property to the url of the remote page

    Click image for larger version

Name:	remoteindesigner.jpg
Views:	2
Size:	90.7 KB
ID:	1178250

    Actions

    The plugin creates a new Action category called "DirecTV Action" which allow HS to trigger some specific DirecTV actions in Events. Here is the current list:
    • Tune to a channel
    • Press Remote Key


    these actions are also available through scripting using the following functions:
    Code:
    void SendRemoteKeyCmd(string key)
    void SendTuneChannelCmd(int channel)
    the possible values for the key parameter of the SendRemoteKeyCmd function are:
    "power", "poweron", "poweroff", "format", "pause", "rew", "replay", "stop", "advance", "ffwd", "record", "play", "guide", "active", "list", "exit", "back", "menu", "info", "up", "down", "left", "right", "select", "red", "green", "yellow", "blue", "chanup", "chandown", "prev", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "dash", "enter"

    for example the script below tune the DirecTV instance Room1 to the channel number 33

    Code:
    Sub Main(ByVal parm as object)
    
        hs.PluginFunction("DirecTV", "Room1", "SendTuneChannelCmd", New Object() {33})
        
    End Sub

    Control multiple DirecTV boxes

    You can control as many boxes as you want by starting new instances of the plugin. To do so, click on the + button from the PLUG-INS > Manage page
    Click image for larger version

Name:	multipleinstances.jpg
Views:	1
Size:	55.5 KB
ID:	1170494

    Enter a name for your instance, submit, and then enable it.
    This will create some new links in the PLUG-INS > DirecTV menu, allowing you to configure and control a new DirecTV box:

    Click image for larger version

Name:	multipleinstancesmenu.jpg
Views:	1
Size:	69.2 KB
ID:	1170495

    You can also control your Genie clients. To do that create new instances of the plugin as explained above. Go to the config page and enter the ip of your main box, then a new dropdown list will appear that lets you select the Genie client you want to control.

    WARNING: you need to make sure your Genie client is turned on before you start the plugin instance, otherwise you won't see it in the dropdown list
    Last edited by spud; February 27th, 2017, 03:18 PM.

    Comment

    Working...
    X