MLDirecTV Plugin

From Cinemar Wiki
Jump to: navigation, search

About

MLDirecTV is a Mainlobby3 Server plugin to control many DirecTV satellite receivers via their serial port (which may be a USB port externally).

MLDirecTV plugin was released to production 6/27/2008


Software Requirements

MainLobby Server 3

MainLobby 3 Client

MLDirecTV Plugin


Supported Hardware

DirecTV STB Models (Requires NULL Modem Cable - not Straight Through):

D10100 Version 1040 (RJ22 Port Connector)

D10200 Version 1040 (RJ22 Port Connector)

D10300 Version 1043 (RJ22 Port Connector)

D11100 Version 1040 (USB Port Connector)

D11300 Version 1040 (USB Port Connector)

D11500 Version 1040 (USB Port Connector)

R15100 Version 1029 (USB Port Connector)

R15300 Version 104B (USB Port Connector)

R15500 Version 10FA (USB Port Connector)

H10 Version 0.4.33 (RJ22 Port Connector)

HR20700 Version 134 (USB Port Connector)

HR21 200 Version 134 (USB Port Connector)

HR21 700 Version 134 (USB Port Connector)


Installation

Shut down MLServer3 and run the MLDirectTV_Setup.exe application on the server that will physically be connected to the DirecTV receiver. Plug in the approved USB to serial connector. The USB end goes into the DirecTV receiver. The serial end connects to an available DB9 Serial port on the PC. Make sure no other software is connecting to this serial port but the MLDirecTV device driver.

To extend the serial connection, you can add a standard serial cable.

For example:

IOGEAR USB -> 35ft 1:1 Serial -> Null modem DB9 adapter -> Netgear Serial

IMPORTANT NOTE: Make sure to reset your DVR after plugging in the USB > Serial cable.

MLServeCmds

Power

{MLServeCmd}Script Usage

MLServeCmd.MLDirectv|Directv_ID~Power~State


(Literal)

MLServeCmd.MLDirectv|001~Power~On

MLServeCmd.MLDirectv|Tuner_One~Power~Off

MLServeCmd.MLDirectv|003~Power~Toggle


Parameters

Directv_ID = The id of the directv device to be turned on.
State = The new power state of the directv device. (On,Off,Toggle)


Description

This command sets the power state of the directv unit


Reboot

{MLServeCmd}Script Usage

MLServeCmd.MLDirectv|Directv_ID~Reboot


(Literal)

MLServeCmd.MLDirectv|001~Reboot

MLServeCmd.MLDirectv|Unit_One~Reboot


Parameters

Directv_ID = The id of the directv device to be turned on.


Description

This command will force the directv unit to reboot.


Remote

{MLServeCmd}Script Usage

MLServeCmd.MLDirectv|Directv_ID~Remote~<<State>>


(Literal)

MLServeCmd.MLDirectv|001~Remote~On

MLServeCmd.MLDirectv|Tuner_One~Remote~Off

MLServeCmd.MLDirectv|001~Remote~Toggle


Parameters

Directv_ID = The id of the directv device to be turned on.
State = The new state of the directv ir remote control receiver. (On,Off,Toggle)


Description

This command sets the new IR remote control receiver state.


Channel

{MLServeCmd}Script Usage

MLServeCmd.MLDirectv|Directv_ID~Channel~Command


(Literal)

MLServeCmd.MLDirectv|001~Channel~Up

MLServeCmd.MLDirectv|001~Channel~Down

MLServeCmd.MLDirectv|001~Channel~141


Parameters

Directv_ID = The id of the directv device to be turned on.
Command = The command to preform on the channel setting. (Up, Down, 000-999)


Description

This command will either increment or decrement the current channel by 1 or set the current channel to the specified channel.


Key

{MLServeCmd}Script Usage

MLServeCmd.MLDirectv|Directv_ID~Key~Name


(Literal)

MLServeCmd.MLDirectv|001~Key~1

MLServeCmd.MLDirectv|001~Key~Guide

MLServeCmd.MLDirectv|001~Key~Left


Parameters

Directv_ID = The id of the directv device to be turned on.
Name = The key press to send to the directv unit.


Description

This command will execute the specified key press command.

This is identical to pressing the same key on the remote control.

The following are valid key names:

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, Prev, Up, Down, Left, Right, Select, Play, Stop, Pause, Rec, RW, FF, Red, Green, Blue, Yellow, Menu, Info, Guide, List, Active, Back, Adv, Exit, Replay, Enter, Retire, Format, - (Dash/Neg)


MLServer Variables

MLDirectv_Channel_{{Directv_ID}}

Description: This is the current channel of the directv device.

Values:A number 000-999

MLDirectv_Tuner_{{Directv_Tuner_Number}}_Channel_{{Directv_ID}}

Description: This is the current channel of the specified tuner of the directv device. (only on multi-tuner units)

Values:A number 000-999

MLDirectv_Remote_{{Directv_ID}}

Description:The state of the remote IR receiver of the directv device.

Values:On, Off

MLDirectv_Power_{{Directv_ID}}

Description:The power state of the directv device.

Values:On, Off

MLDirectv_Device_Version_{{Directv_ID}}

Description:The device version of the directv device.

Values:

MLDirectv_Date_Time_{{Directv_ID}}

Description:The current Date/Time of the directv device.

Values:Time value

MLDirectv_Signal_{{Directv_ID}}

Description:The signal strength of the directv device.

Values:A number

Bugs

New Feature Requests