Difference between revisions of "Control regular A/V equipment"

From LinuxMCE
Jump to: navigation, search
(monrelsi)
 
(8 intermediate revisions by 7 users not shown)
Line 1: Line 1:
[http://bouts.4dq.com/embedding-mpegs.html embedding mpegs in html] [http://animated-film.mioforum.com/ animated film gif reel] [http://seated.xxxy.info/wholesale-pocket.html wholesale pocket bike parts] [http://hear.zyns.com/html/cabinet-pulls.html cabinet discount pull] [http://strict.ddns.ms/lib/twoscore.html twoscore] [http://peruse.zyns.com/comments/testicular-cancer.html testicular cancer] [http://strict.ddns.ms/sitemap.html site] [http://civet.ddns.ms/description/abrial-hotel.html abrial hotel cannes] [http://bettre.got-game.org/sitemap.html url] [http://hear.zyns.com/html/free-reverse.html reverse toll free phone directory] [http://civet.ddns.ms/description/margarine.html margarine] [http://revolt.fadlan.com/pages/motorola-v3-usb.html driver motorola razr usb v3] [http://widow.fadlan.com/small/agota-kristof.html agota kristof le grand cahier] [http://taurus.fadlan.com/data/sugar-daddy-sex.html sugar daddy sex] [http://devil.4mydomain.com/articles/yamaha-xjr1300-reviews.html yamaha xjr1300 reviews] [http://sects.ftpserver.biz/new/rubber-stamps.html personalized rubber stamp] [http://muffl.ddns.ms/sitemap.html web] [http://freckl.freeddns.com/printable-wedding.html printable wedding invitations] [http://nicotine-withdrawal.voodoo-ref.com/ sign of nicotine withdrawal] [http://tricicles.mioforum.com/ tricicles] [http://biter.4dq.com/description/regency-park-elementary.html regency park elementary school] [http://device.ddns.ms/description/grafitti-art.html grafitti art] [http://sonnet.fadlan.com/dexonline.html dexonline] [http://southland-greyhound.uni-nail.com/ southland greyhound park] [http://chaud.my03.com/rockin-kats.html rockin kats] [http://chaud.my03.com/osama-bin-laden.html osama bin laden] [http://desist.ddns.us/directory/hot-blonde.html hot blonde in thong] [http://kinder.zyns.com/text/play-international.html play international chess] [http://rased.ddns.ms/new/cymbalta-antidepressant.html antidepressant anxiety cymbalta effects side] [http://fingre.freeddns.com/html/small-animal.html small animal intestinal pseudo-obstruction] [http://snatch.ddns.us/data/40-days-and-40.html 40 days and 40 nights] [http://industrial-refrigeration.mioforum.com/ industrial refrigeration jobs] [http://sponge.zyns.com/lib/miss-wet-tee.html miss wet tee] [http://nimble.4mydomain.com/sitemap.html sitemap] [http://wayne.mioforum.com/ wayne state university] [http://trunk.got-game.org/blog/belle-beauty-and.html belle beauty and the beast] [http://otter.got-game.org/vietcong.html nam viet vietcong war] [http://saving.ddns.ms/sitemap.html website] [http://rooky.ikwb.com/topic/airwest-airline.html airwest airline] [http://saving.ddns.ms/resources/new-york-state.html new york state booster seat law] [http://bowing.ddns.ms/the-ear.html ear] [http://empery.ddns.ms/data/aircraft.html 2 aircraft war world] [http://snatch.ddns.us/data/oriental-escorts.html escort in london oriental] [http://taste.ftpserver.biz/web/home-stereo.html home kenwood speaker stereo] [http://linens.4mydomain.com/resources/embedded-security.html device embedded java mobile security security] [http://bouts.4dq.com/luxury-rentals.html luxury rentals kauai] [http://sponge.zyns.com/lib/nude-celebrities.html nude celebrities male] [http://gekrauss.fadlan.com/article/ian-mcdiarmid.html ian mcdiarmid] [http://freckl.freeddns.com/slation.html slation] [http://paranoid-personality.mioforum.com/ disorder paranoid personality] [http://sunder.got-game.org/web/nascar-racing.html nascar racing] [http://biter.4dq.com/description/paralinkcom.html paralink.com] [http://troien.zyns.com/description/vials-and-crimpers.html vials and crimpers] [http://kinder.zyns.com/text/wesbanco.html wesbanco] [http://rolls.zyns.com/enemas.html fleet enema] [http://rolls.zyns.com/free-phone-chat.html free phone chat numbers] [http://residential-wine.sugaryblog.com/ residential wine cellar] [http://surse.justdied.com/content/kidney.html kidney pain] [http://digi-charat.mioforum.com/ digi charat] [http://breach.my03.com/resources/night-safari-singapore.html singapore zoo night safari] [http://rolls.zyns.com/you-make-a-woman.html how to make a woman have an orgasm] [http://sunder.got-game.org/web/used-cars-for.html cheap used car for sale] [http://jovem.zyns.com/topic/infant-formula.html infant formula] [http://biter.4dq.com/description/surplus-computer.html surplus computer hardware] [http://taste.ftpserver.biz/web/gameflycom.html gamefly.com mart wal] [http://sunder.got-game.org/web/ebony-free-porn.html free ebony porn web site] [http://trunk.got-game.org/blog/white-dog.html dog german shepherd white] [http://fathom.fadlan.com/view/avg-anti-virus.html avg anti virus free download] [http://ebony-magazine.voodoo-ref.com/ ebony magazine scholarship] [http://bitten.zyns.com/ez-pass.html ez pass] [http://sonnet.fadlan.com/army-patch-us-unit.html army patch u.s unit] [http://penned.4dq.com/content/arizona-hydrological.html arizona hydrological] [http://taste.ftpserver.biz/web/discount-pressure.html discount pressure washer] [http://otter.got-game.org/childrens-jewelry.html child religious jewelry] [http://hear.zyns.com/html/alex-movies.html alex movies] [http://gekrauss.fadlan.com/article/28-days.html 28 days] [http://freckl.freeddns.com/534-913-fax.html 534 913 fax] [http://bundle.fadlan.com/comments/removing-pubic.html removing pubic hair] [http://gekrauss.fadlan.com/article/receivables-factoring.html receivables factoring] [http://spital.ddns.us/q/tranquilizer.html tranquilizer] [http://penned.4dq.com/content/helen-keller-jokes.html helen keller jokes] [http://otter.got-game.org/linda-king-thomas.html linda king thomas] [http://millimeter.uni-nail.com/ how many millimeter in an inch] [http://snatch.ddns.us/data/child-incest-with.html child incest with his own mom] [http://dagger.mooo.com/directory/accellis.html accellis] [http://sects.ftpserver.biz/new/white-stockings.html mature white stocking] [http://diploma-covers.voodoo-ref.com/ diploma covers] [http://surse.justdied.com/content/latin-nations.html latin nations] [http://olkneen.fadlan.com/arlington-va-real.html arlington va real estate] [http://linens.4mydomain.com/resources/angel-city-lyrics.html angel city lyrics for sunrise] [http://bouts.4dq.com/who-has-blocked.html who has blocked me from msn] [http://absey.zyns.com/free-love-letters.html free love letters] [http://taste.ftpserver.biz/web/song-broken-dreams.html boulevard of broken dream song lyric] [http://gekrauss.fadlan.com/article/blow-big-ones.html blow big ones] [http://peruse.zyns.com/comments/health-and-safety.html health and safety signs] [http://device.ddns.ms/description/silica-water-treatment.html silica water treatment] [http://whate.freeddns.com/pages/airbrushed-novelty.html airbrushed novelty helmets] [http://absey.zyns.com/edwards-angell.html edwards angell palmer dodge] [http://welkin.4dq.com/new/self-improvement.html self improvement tape] [http://hearts.ddns.us/blog/map-of-the-world.html map of the world] [http://diseas.4mydomain.com/q/soccer-gear.html soccer gear] [http://peruse.zyns.com/comments/free-sex-porn.html free sex porn site] [http://muffl.ddns.ms/data/aoki-golfer.html golfer aoki] [http://dagger.mooo.com/directory/hertz.html hertz truck rental] [http://frankie-valli.sugaryblog.com/ frankie valli] [http://bundle.fadlan.com/comments/cheap-designer-handbags.html cheap designer handbags] [http://fathom.fadlan.com/view/florence-hotel.html florence hotel reservation à] [http://bitten.zyns.com/snazaroo.html snazaroo] [http://surse.justdied.com/content/humidity-control.html area aseptic control humidity temperature] [http://trunk.got-game.org/blog/siemens-sl45i.html siemens sl45i review] [http://taurus.fadlan.com/data/me-fuck-you.html me fuck you] [http://babes-cars.uni-nail.com/ babes cars] [http://fingre.freeddns.com/html/new-constructions.html new constructions in new jersey] [http://gallery-girl.uni-nail.com/ gallery girl sunbathing] [http://ethiop.got-game.org/tl-osborn.html t.l. osborn] [http://japanese-words.voodoo-ref.com/ japanese words] [http://absey.zyns.com/nada.html n.a.d.a] [http://whate.freeddns.com/pages/automatic-pool.html automatic pool covers] [http://breach.my03.com/resources/information.html information practice principle security security] [http://publishing-a-book.mioforum.com/ book publishing company] [http://bouts.4dq.com/2002-v40-volvo.html 2002 v40 volvo] [http://cheap-darvon.mioforum.com/ cheap darvon] [http://civet.ddns.ms/sitemap.html home] [http://whelp.zyns.com/lib/good-year-tire.html good year tire] [http://necks.mooo.com/text/mens-shoes.html man running shoes] [http://bundle.fadlan.com/comments/tall-muscular.html tall muscular woman] [http://rolls.zyns.com/lesbian-porno.html lesbian porn] [http://whate.freeddns.com/pages/astronaut-suit-picture.html astronaut suit picture] [http://comic.ddns.ms/small/ass-fucked-asian.html ass fucked asian] [http://peruse.zyns.com/comments/train-schedules.html schedule seattle train] [http://notify.ddns.us/new/conveyor-systems.html conveyor overhead system] [http://gekrauss.fadlan.com/article/picture-of-nectar.html picture of nectar lyrics] [http://saving.ddns.ms/resources/www-det-com.html www det com] [http://hearts.ddns.us/blog/piercing-jewelry.html piercing jewelry] [http://surse.justdied.com/content/islip-lady-lourdes.html islip lady lourdes our west] [http://devil.4mydomain.com/articles/photoshop-signatures.html photoshop signatures tutorials] [http://brisk.zyns.com/wiki/pharmaceutical.html pharmaceutical research michigan] [http://peruse.zyns.com/comments/sapphic-erotica.html sapphic erotica strap on movie] [http://minos.mooo.com/text/paper-piecing-quilts.html paper piecing quilts] [http://otter.got-game.org/yankees-logo.html yankees logo] [http://rolls.zyns.com/armour-thyroid.html armour thyroid no prescription] [http://widow.fadlan.com/small/journal-of-social.html journal of social work in disability rehabilitation] [http://bowing.ddns.ms/sas-shoes-online.html sas shoes online] [http://widow.fadlan.com/small/pervert-videos.html pervert videos] [http://liest.zyns.com/new/ketogenics.html ketogenics] [http://jovem.zyns.com/topic/robert-louis-stevenson.html louis robert school stevenson] [http://double-pen.voodoo-ref.com/ double pen] [http://sects.ftpserver.biz/new/sheer-top.html sheer tops] [http://jovem.zyns.com/sitemap.html http] [http://hospital-birth.sugaryblog.com/ announcement bay birth general hospital north] [http://revolt.fadlan.com/pages/seven-mary-three.html seven mary three] [http://taste.ftpserver.biz/web/danielle-steel.html danielle steel the ring] [http://autumn.freeddns.com/look-tv-receiver.html look tv receiver] [http://belly.zyns.com/gucci-sun-glasses.html cheap gucci sun glasses] [http://pasty.zyns.com/wiki/free-us-cellular.html free ringtone for motorola cellular phone] [http://bottle.4dq.com/pages/music-download.html music download softwares] [http://liest.zyns.com/new/moe.html moe] [http://bundle.fadlan.com/comments/add-book-design.html add book design guest guestbook.php inurl sign] [http://cabinet-maker.uni-nail.com/ becoming cabinet guide jim maker popular professional tolpins wood working] [http://bender.got-game.org/adventist-grove.html shady grove adventist hospital and maryland] [http://otter.got-game.org/escort-free-local.html escort free local] [http://rased.ddns.ms/new/youngteens.html youngteens] [http://biter.4dq.com/description/moscow-hotel.html moscow hotel] [http://sonnet.fadlan.com/tundra-dual-exhaust.html tundra dual exhaust] [http://brisk.zyns.com/wiki/honda-rebel.html used honda rebel] [http://bottle.4dq.com/pages/sarasota-county.html sarasota county government] [http://chaud.my03.com/windows-nt-terminal.html windows nt terminal server service pack] [http://sonnet.fadlan.com/sql-stored-procedure.html sql stored procedure variables] [http://waleed-jumblatt.mioforum.com/ waleed jumblatt] [http://taurus.fadlan.com/data/atlantaacupuncture.html atlantaacupuncture for menopause pms] [http://defuse.got-game.org/q/realtor-in-paragould.html realtor in paragould ar] [http://pasty.zyns.com/sitemap.html website] [http://devil.4mydomain.com/articles/please-girlfriend.html please girlfriend] [http://bouts.4dq.com/kabini-river-lodge.html kabini river lodge] [http://breach.my03.com/resources/free-single-chat.html free single chat] [http://armored-car-guard.uni-nail.com/ armored car guard] [http://jordan.zyns.com/content/wholesale-gift.html wholesale gift] [http://autumn.freeddns.com/grilled-salmon.html honey grilled salmon] [http://bundle.fadlan.com/comments/antiques-show.html antiques show armory] [http://muffl.ddns.ms/data/pregnant-whore.html pregnant whore movie] [http://necks.mooo.com/text/sexvideos.html sexvideos] [http://linens.4mydomain.com/resources/lesson-plan-to.html lesson plan to teach vowel pair to kindergarteners] [http://meagre.fadlan.com/html/short-hike-crack.html short hike crack] [http://chaud.my03.com/baltimore-md.html baltimore md] [http://spital.ddns.us/q/dirt-bike-parts.html dirt bike parts] [http://nimble.4mydomain.com/data/laser-engraved.html engraved laser plaque wood] [http://taurus.fadlan.com/data/infant-formula-feeding.html infant formula feeding] [http://revolt.fadlan.com/pages/1968-buick-gs-for.html 1968 buick gs for sale] [http://device.ddns.ms/description/x-linked-gene.html x linked gene definition] [http://taurus.fadlan.com/data/assos-cycling-gear.html assos cycling gear] [http://biter.4dq.com/description/14-chip-gram.html 14 chip gram poker set] [http://troien.zyns.com/description/xxx-live-cam.html xxx live cam] [http://rased.ddns.ms/sitemap.html www] [http://rolls.zyns.com/anna-kournicova.html anna kournicova nude] [http://bender.got-game.org/miyu.html miyu watanabe] [http://desist.ddns.us/directory/chrysler-300m.html chrysler 300m convertible] [http://otter.got-game.org/american-bud-hero.html american bud hero light present real] [http://taste.ftpserver.biz/web/staples-coupon.html staples coupon] [http://autumn.freeddns.com/steve-carbone.html steve carbone] [http://hearts.ddns.us/blog/pon-da-replay.html pon da replay]
+
{{versioninfo}}
{{Cleanup}}
+
[[Category:Input]]
 +
[[Category:Infrared]]
  
<p><h1>How to set it up</h1></p>
 
<p>First add the infrared transmitter on the Wizard, Devices, Interfaces page in LinuxMCE Admin.  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.</p>
 
<p>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.</p>
 
  
<p>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.</p>
+
==How to set it up==
  
<p>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 completeIt 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 deviceDifferent 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.</p>
+
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 > [[AV 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.
  
<p>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 automaticallyFor 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 gc100On 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 websiteYou 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.</p>
+
On the [[AV Devices| 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 checkedConfirm the inputs and other I/R settings, such as toggle vs. discrete are correctIf they are not, then whoever added the device template for this model originally may have done it wrong, or perhaps he had a different modelIn 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.
  
<p>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 workThis isn't the case with the [[LinuxMCE Admin Website[[, so, when setting up devices for the first time, the website is the preferred tool.</p>
+
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 one 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 formatIf 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 commandsIf 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.
  
<p><h1>How to use it</h1></p>
+
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.
<p>Just add a media scenario for the device, as explained [[Control a TV or cable/satellite box]]
+
  
<p><h1>Programmer's guide</h1></p>
+
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 itPlug it into the gc100's  port or into another serial port on the computer that is controlled in the gc100On 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.
<p>The logic for determining what infrared codes each device uses is in Infrared_PluginThe command is Get Infrared CodesEach infrared interface device, like the [[gc100]], should inherit from the MessageTranslation class which handles translating for toggle codes, proper formatting of numbers, etc.</p>
+
  
[[Category:Tutorials]]
+
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.
[[Category:Input]]
+
 
[[Category:Infrared]]
+
{{p}}
 +
 
 +
==How to use it==
 +
 
 +
Just add a media scenario for the device, as explained [[Control a TV or cable/satellite box]]
 +
{{p}}
 +
 
 +
==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.

Latest revision as of 22:37, 19 October 2012

Version Status Date Updated Updated By
710 Unknown N/A N/A
810 Unknown N/A N/A
1004 Unknown N/A N/A
1204 Unknown N/A N/A
1404 Unknown N/A N/A
Usage Information


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 one 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.