Control regular A/V equipment

From LinuxMCE
Revision as of 15:17, 26 February 2008 by NocmoNouer (Talk | contribs) (zelvich)

Jump to: navigation, search

andy blitz india video iron silk movie japanese language printing stores new york peacefrog records rocky mountain credit union helena mt frogmore stew artis indonesia memek video i like that music video pottery trivet mexican revolution pet grooming information in montreal movie playing immune complex deposition endothelial disfunction unique furniture in my country movie trailer free pizza coupons access min point mini storage systems laser light mesa arizona white pages free dvd copy adele stephens free video clips maggie rizer the pearl jam alive t shirt monotype imaging inc. farmtrac tractors american pie movie production fitday ruidoso cabins causes of air pollution university of alaska certified public accountant job description leelee sobieski gallery monarda montelwilliams show 3 dash diner lyceum sugarloaf theater caicos turks flourine cmt top 20 netgear problem sony vaio wlan ah black ebony video shooting range houston texas interracial monster movie web truck ramps cabinetry custom quality paragraphing exercises motorcycle sales in independence missouri movie theater world fastest street legal car download free music video arrangement flower fresh vancouver oxycontin withdrawal john jacobs power team lifetime achievement award oscars sitemap interactive math adult classic mexican movie jesse powell you video rim jobs gay synthetic grass phoenix lawsonia boat decal ampland movies.com civil war sutler bow hunting texas gastroenterology computer city switching power supply lolas pic video myotrac emg information on painkillers aim live video problem kiss kiss bang bang movie trailer sitemap website kelle marie movie automobile painting apprenticeship west florida jessica alba forum map of bismarck north dakota sid waddell quotes history of catholic church walpole stars female vampire pictures live movie iris berben online stories montor limix linea babe bike biker week ssk pirimleri toy yorkshire terriers tidworth barracks 429 building michael smith w ava devine movie sample spring willows touring caravan park online survey underarmor extreme wipeouts videos high school babes executive baskets houston jesse mccartney beautiful soul video pics motorcycle steering dampers cake in the face cream ice truck dinosaur fact exchange grain video clips of girls making out eurotip the movie shy guy adult kerala movie prathiba web executive resume writing service mad world tears for fears tab brazil visa king bed skirt arts college in salem science teen model art photo koss 35 bun thigh roller sam zell biography physician billing software nicole nite pressure switch limeware 3oz fishing jig lead webmap tyco printed circuits group crazy train ozzy kodak xl55 movie camera flo jalin national college of business and technology raven society uva nemesys gigapiano lick my feet atapi lebanese movie stars pernilla wiberg types of natural disasters system of the down religions carson pirie scott woman pictures adam sandler movie list little movie quote rascal appliance repair schools phone booth manufacturers christian jokes about marriage presidential slogans small teen greek islands grapple thalia lyrics no me ensenaste latent effects of chemotherapy montreux reno nv j-lo nuded hardcore illegal sex photoshop cs actions op art lesson plan line plant time bank of america student credit card todos los periodicos de mexico d.f female ejaculation video clip site links russiam emperor 1800 arts writer resource style guide web hosting package nutrition schools canada x3d viewer ripemd160 vs sha1 speedo boy home legitimate moms online work jacking off video clip lsm videos maui hawaii condo for sale nitrile gloves safeskin impact of video games office vs open office arm clip video wrestling kd lang videos preschool coloring pages inflight movies earth wind and fire indiana state sycamores wild rats the end united furniture warehouse ca camera digital innovage instructions mini frequent flyer qantas.com.au kitchen design chicken spaghetti casserole inuyasha brand new world video washington dc short term rentals man rustler jeans abit kd7 motherboard otomax msn messenger 7.5

How to set it up

First add the infrared transmitter on the Wizard > Devices > Interfaces page in LinuxMCE Admin Website. Then add your a/v devices on the Wizard > Devices > A/V Equipment page. Control a TV or cable/satellite box for an example of adding a TV, and creating a new Device Template if your model isn't already in the system.

On the A/V Equipment page issue specify for each device what infrared transmitter will be controlling it in the Controlled Via pulled down. If this device uses infrared codes, when you click the "A/V properties" button next to that device you should the "Uses I/R" box is checked. Confirm the inputs and other I/R settings, such as toggle vs. discrete are correct. If they are not, then whoever added the device template for this model originally may have done it wrong, or perhaps he had a different model. In either case you can create a new Device Template for your model as explained Control a TV or cable/satellite box. Then click the "IR/GSD codes" button to select or learn new infrared codes.

LinuxMCE includes a stock library of infrared codes supplied by other users. These codes are grouped, sometimes referred to as code sets or Infrared Groups. For example, Sony may make a thousand and models of TV sets, but nearly all of them use the same infrared codes; the remotes are interchangeable. Therefore it makes no sense to learn or input the infrared codes for every single model, rather it's much easier to put all the codes into a group called "Sony TV codes", and then only 1 user needs to add the codes, and then every other user with the Sony TV can use that set of codes. On the IR/GSD codes page you can select what Infrared Group, or codeset, you want to use for this device. All the codes are stored in Pronto format. If there are multiple Infrared Groups for that Manufacturer and Device Category, you can choose the one you want from the pull down, and then click the test code button next to one of the codes to see if the device responds. Worst case you need to create your own I/R codes. If an existing Infrared Group is correct, but there are just more new codes you need to add, choose the Infrared Group and then choose Add/remove commands. If none of the existing Infrared Groups are correct, you can create a new infrared group, or leave the Infrared Group pull-down empty and the codes you provide will be used only for this model, without belonging to an Infrared Group.

Check off one of the Command Groups check boxes to add groups of codes, such as Standard navigation, or volume control. Or click the add remove command buttons to add them individually. Try to use the existing command whenever possible; they are already quite complete. It is important to use the correct existing commands, even if your device gives them another name. For example, when you hit the channel up button on any remote-control, it will send to the "Skip Fwd - Channel/Track Greater" command to the device. Different remote controls call this function different things. Maybe yours calls it "Seek Up". If you create a new command called "Seek Up", then the existing remote-control which is designed to send our stock command will not work with your device, and you'll need to create a whole new remote control for your device. You don't want to do that. LinuxMCE Orbiter runs on web pads, pda's, phones, etc. We already have stock remote controls for all those types of devices that send our stock commands. Therefore it is much easier to use the existing commands even if the names are different than what you're device uses.

If your infrared device supports learning, then when you click the "new code" button on the I/R code page you'll be able to learn the code automatically. For example, if you're using the gc100, there is a learning dongle for it. Plug it into the gc100's port or into another serial port on the computer that is controlled in the gc100. On the gc100's device page, specify what serial port you're using in the "comm port parameter". If your device does not support learning, or is unable to learn the code correctly, then you'll need to get the code in pronto format on your own. One of the best sources is the http://www.remotecentral.com website. You can copy and paste the infrared codes from that website into the LinuxMCE Admin page. On the A/V equipment page if you leave the check box "Share my I/R codes with others" checked the infrared codes will automatically be shared with other users.

To test codes you can either do it by clicking the test code button from the infrared code page in LinuxMCE Admin, or by clicking the Advanced button on the orbiter, which is normally the LinuxMCE logo. On the Orbiter's advanced page is an option to test infrared codes. Note that to test i/r codes with that button on the orbiter only I/R codes that were already in the system before the last Router reload will work. This isn't the case with the LinuxMCE Admin Website, so, when setting up devices for the first time, the website is the preferred tool.

How to use it

Just add a media scenario for the device, as explained Control a TV or cable/satellite box

Programmer's guide

The logic for determining what infrared codes each device uses is in Infrared_Plugin. The command is Get Infrared Codes. Each infrared interface device, like the gc100, should inherit from the MessageTranslation class which handles translating for toggle codes, proper formatting of numbers, etc.