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

From LinuxMCE
Jump to: navigation, search
m
 
(20 intermediate revisions by 11 users not shown)
Line 1: Line 1:
[http://jasenti.info/blog/prodotto.html Prodotto amniocentesi] [http://joekla.info/blog/rosarossaescort.html Rosa rossa escort] [http://lerofne.info/soniaeyesvideo/ Sonia eyes video] [http://lerofne.info/solosessocavallo/ Solo sesso cavallo] [http://isitale.info/articles/pallonedoro.html Pallone d oro] [http://kliorte.info/saunagaymilano/ Sauna gay milano] [http://laseris.info/scopateit.html Scopate it] [http://jisegyn.info/pezzali/ Pezzali] [http://moratet.info/tatooelfifolletti.html Tatoo elfi folletti] [http://laseris.info/screensaverragazza.html Screensaver ragazza bikini] [http://kevcan.info/prestitoudine.html Prestito udine] [http://isitale.info/articles/parigiintrattenimento.html Parigi intrattenimento] [http://moratet.info/tecnaenchantix.html Tecna enchantix] [http://melolis.info/sextvtv1/ Sextv tv1] [http://kliorte.info/scaricareprogramma/ Scaricare programma gratis] [http://lylovec.info/sverginare/ Sverginare] [http://kirtose.info/topic/quibpuit.html Quibpu it] [http://lyndjie.info/shopping.html Shopping svizzera] [http://jisegyn.info/parkinsons/ Parkinsons disease] [http://lyndjie.info/shemalefree.html Shemale free movies] [http://meximep.info/ternana.html Ternana] [http://kevcan.info/prestitomassa.html Prestito massa] [http://kwyndex.info/text/ricercaanima.html Ricerca anima gemella] [http://lerofne.info/societafinanziamento/ Societa finanziamento] [http://lyndjie.info/simpsoninporno.html Simpson in porno] [http://natesos.info/tiziana/ Tiziana] [http://moratet.info/telefilm.html Telefilm] [http://itliks.info/portacd/ Porta cd] [http://itliks.info/portaereigiuseppe/ Portaerei giuseppe garibaldi] [http://kwyndex.info/text/ricettaestive.html Ricetta estive] [http://kliorte.info/santamaria/ Santa maria di leuca] [http://jisegyn.info/pcpalmare/ Pc palmare] [http://laseris.info/segaioli.html Segaioli] [http://meximep.info/tesigratis.html Tesi gratis] [http://jirvoje.info/porchenegre.html Porche negre] [http://jisegyn.info/pentolamc/ Pentola mc] [http://isitale.info/articles/oroscopoironico.html Oroscopo ironico] [http://mikylir.info/spermatozoi.html Spermatozoi] [http://joekla.info/blog/rosolinamare.html Rosolina mare] [http://lylovec.info/suoresexi/ Suore sexi] [http://kevcan.info/predictivedialer.html Predictive dialer] [http://isitale.info/articles/parcheggio.html Parcheggio per scambista] [http://moratet.info/teenass.html Teen ass] [http://itliks.info/portabasculante/ Porta basculante portone industriale] [http://meximep.info/tettoneciccione.html Tettone ciccione] [http://jirvoje.info/pompiniaggravati.html Pompini aggravati] [http://isitale.info/articles/paptestegravidanza.html Pap test e gravidanza] [http://jirvoje.info/pippa.html Pippa] [http://natesos.info/traslocare/ Traslocare criterio] [http://lyndjie.info/simac.html Simac] [http://meximep.info/tesiglobalizzazione.html Tesi globalizzazione] [http://kirtose.info/topic/raccoltapunti.html Raccolta punti plasmon 2007] [http://kliorte.info/sakuranuda/ Sakura nuda] [http://jisegyn.info/piedi/ Piedi] [http://natesos.info/traslocomobile/ Trasloco mobile] [http://lylovec.info/tarquinia/ Tarquinia hotel] [http://joekla.info/blog/riscaldamento.html Riscaldamento a pavimento] [http://kliorte.info/scalaringhiera/ Scala ringhiera alluminio] [http://jirvoje.info/polacchenude.html Polacche nude] [http://isitale.info/articles/palazzoreale.html Palazzo reale milano mostre veneto] [http://joekla.info/blog/romn64.html Rom n64] [http://kliorte.info/scalaalluminio/ Scala alluminio torino] [http://mikylir.info/spritz.html Spritz] [http://melolis.info/sexpps/ Sex pps] [http://laseris.info/segretariatroia.html Segretaria troia] [http://lylovec.info/suoneriaxcell/ Suoneria x cell gratis] [http://melolis.info/sessualitamaschile/ Sessualita maschile] [http://meximep.info/tetteserena.html Tette serena grandi] [http://joekla.info/blog/ruoteclassiche.html Ruoteclassiche] [http://jirvoje.info/piscinacardellino.html Piscina cardellino milano] [http://meximep.info/tesinefuturismo.html Tesine futurismo] [http://kevcan.info/preteenpics.html Preteen pics] [http://jasenti.info/blog/pugilato.html Pugilato] [http://moratet.info/teennudism.html Teen nudism] [http://kevcan.info/praticaprofessionale.html Pratica professionale ipsoa] [http://natesos.info/todomondo/ Todomondo] [http://jasenti.info/blog/pupazzimaria.html Pupazzi maria perego] [http://kirtose.info/topic/queensof.html Queens of the stone age] [http://jisegyn.info/pavimento/ Pavimento resina] [http://jasenti.info/blog/prezzotermeslovenia.html Prezzo terme slovenia] [http://isitale.info/articles/outlettoscana.html Outlet toscana europe invest] [http://moratet.info/teletutto.html Teletutto bresciasette] [http://kirtose.info/topic/ragazzerumene.html Ragazze rumene] [http://jasenti.info/blog/pronosticitris.html Pronostici tris] [http://lyndjie.info/sicurezzainternet.html Sicurezza internet commercio elettronico] [http://kwyndex.info/text/regionepiemonte.html Regione piemonte it] [http://itliks.info/pornoinfermiera/ Porno infermiera] [http://lerofne.info/socket478/ Socket 478 processore intel] [http://isitale.info/articles/oroscopodipaolo.html Oroscopo di paolo fox] [http://moratet.info/telegramma.html Telegramma telefono] [http://moratet.info/terapiaosteoporosi.html Terapia osteoporosi] [http://natesos.info/tinkerbell/ Tinkerbell school] [http://kirtose.info/topic/quadrifoglio.html Quadrifoglio clip art gratis] [http://jirvoje.info/plexiglas.html Plexiglas] [http://kliorte.info/scaricarevideo/ Scaricare video youtube] [http://laseris.info/selenhomefoto.html Selen home foto] [http://jasenti.info/blog/profumodolce.html Profumo dolce gabbana] [http://laseris.info/seneweb.html Seneweb] [http://moratet.info/tatuaggisole.html Tatuaggi sole] [http://mikylir.info/spiaggecroazia.html Spiagge croazia] [http://kevcan.info/preventivoprestito.html Preventivo prestito provincia pistoia] [http://isitale.info/articles/orologiomeccanico.html Orologio meccanico] [http://itliks.info/pornosulmona/ Porno sulmona] [http://natesos.info/topescort/ Top escort] [http://meximep.info/tesimacroeconomia.html Tesi macroeconomia] [http://melolis.info/sessoconnegri/ Sesso con negri] [http://jisegyn.info/parmalat/ Parmalat] [http://itliks.info/positanohotel/ Positano hotel] [http://laseris.info/senewebcom.html Senewebcom] [http://melolis.info/sexinschool/ Sex in school] [http://jasenti.info/blog/puntifisi.html Punti fisi] [http://meximep.info/tesilaurea.html Tesi laurea scienze comunicazione] [http://itliks.info/portogruaro/ Portogruaro] [http://moratet.info/tatuaggiconpergamena.html Tatuaggi con pergamena] [http://jirvoje.info/polmonitevirale.html Polmonite virale] [http://lylovec.info/tangaperizomi/ Tanga perizomi] [http://itliks.info/pornostarrepubblica/ Porno star repubblica it] [http://meximep.info/tgppornaccesscom.html Tgppornaccesscom] [http://jirvoje.info/poesiasumatrimonio.html Poesia su matrimonio] [http://mikylir.info/spiaggegay.html Spiagge gay] [http://lerofne.info/solovolomessico/ Solo volo messico] [http://lyndjie.info/shemal.html Shemal] [http://mikylir.info/stampantelexmark.html Stampante lexmark] [http://laseris.info/segacircolare.html Sega circolare] [http://melolis.info/servizioconsulenza/ Servizio consulenza aziendale] [http://isitale.info/articles/parigicathedrale.html Parigi cathedrale notre dama de paris] [http://meximep.info/tettoneanteprime.html Tettone anteprime trailer] [http://jasenti.info/blog/progettazione.html Progettazione tensostruttura] [http://itliks.info/pornozoccole/ Porno zoccole] [http://meximep.info/tesinainglese.html Tesina inglese ulisse joyce] [http://isitale.info/articles/ozmultisalabrescia.html Oz multisala brescia] [http://joekla.info/blog/rsusogeiit.html Rsu sogei it] [http://kevcan.info/prestitotrapani.html Prestito trapani] [http://meximep.info/tesinerazzismo.html Tesine razzismo] [http://lyndjie.info/sigladeicartoni.html Sigla dei cartoni animati] [http://isitale.info/articles/palmadimontechiaro.html Palma di montechiaro] [http://kevcan.info/prestitoumbria.html Prestito umbria] [http://kwyndex.info/text/replicarolex.html Replica rolex watch] [http://kevcan.info/prestitonuoro.html Prestito nuoro] [http://isitale.info/articles/orologioomega.html Orologio omega] [http://kirtose.info/topic/questuratorino.html Questura torino] [http://jisegyn.info/parquetecologico/ Parquet ecologico bamflor] [http://lylovec.info/supercockfucking/ Super cock fucking] [http://laseris.info/scuolait.html Scuola it] [http://jasenti.info/blog/puttanerusse.html Puttane russe] [http://laseris.info/sediagiardino.html Sedia giardino royal garden] [http://meximep.info/tettonenaturali.html Tettone naturali] [http://jisegyn.info/penelopecruz/ Penelope cruz] [http://meximep.info/testimania.html Testimania] [http://meximep.info/timidezza.html Timidezza] [http://natesos.info/tirreniaprenotazioni/ Tirrenia prenotazioni] [http://lerofne.info/societaorganizzazione/ Societa organizzazione congresso] [http://itliks.info/porteasoffietto/ Porte a soffietto] [http://jirvoje.info/pisahotel.html Pisa hotel] [http://kevcan.info/precauzioni.html Precauzioni varicella] [http://mikylir.info/spillaargento.html Spilla argento] [http://melolis.info/sessoincesti/ Sesso incesti free] [http://kirtose.info/topic/racchetta.html Racchetta tennis head] [http://mikylir.info/strasburgo.html Strasburgo hotel] [http://jisegyn.info/pescetropicale/ Pesce tropicale] [http://kirtose.info/topic/r101it.html R101 it] [http://melolis.info/sexivideofree/ Sexi video free] [http://jasenti.info/blog/programmainvio.html Programma invio sms] [http://meximep.info/tettenude.html Tette nude] [http://moratet.info/tattoodraghi.html Tattoo draghi] [http://lylovec.info/tamagotchicom/ Tamagotchi com] [http://melolis.info/sextoon/ Sextoon] [http://lerofne.info/sitoamatoriali/ Sito amatoriali ragazze] [http://melolis.info/sexyamateurlesbian/ Sexy amateur lesbian] [http://joekla.info/blog/rolexwatchstore.html Rolex watch store] [http://melolis.info/sessoconvecchie/ Sesso con vecchie] [http://joekla.info/blog/rompokemonsmeraldo.html Rom pokemon smeraldo] [http://meximep.info/tettelunghe.html Tette lunghe] [http://jisegyn.info/pedanapropriocettive/ Pedana propriocettive] [http://lylovec.info/index1_50.html site] [http://isitale.info/articles/ottenereprestito.html Ottenere prestito online] [http://meximep.info/ternanacalcio.html Ternana calcio] [http://kwyndex.info/text/refinancing.html Refinancing mortgage] [http://jirvoje.info/pokerchiptricks.html Poker chip tricks] [http://melolis.info/sessofree/ Sesso free] [http://jasenti.info/blog/pumascarpa.html Puma scarpa] [http://moratet.info/temigratis.html Temi gratis nokia n73] [http://jisegyn.info/parmalatobbligazioni/ Parmalat obbligazioni] [http://isitale.info/articles/orvietoalbergo.html Orvieto albergo] [http://mikylir.info/ssislazio.html Ssis lazio] [http://lyndjie.info/siemenstelefonino.html Siemens telefonino] [http://melolis.info/sessosadomaso/ Sesso sadomaso] [http://lerofne.info/smegfrigorifero/ Smeg frigorifero] [http://joekla.info/blog/ristorantecinesi.html Ristorante cinesi milano] [http://jasenti.info/blog/prodottiper.html Prodotti per ufficio] [http://natesos.info/transesuali/ Transesuali] [http://meximep.info/testilaurapausini.html Testi laura pausini] [http://jisegyn.info/piedifetish/ Piedi fetish] [http://melolis.info/sessoincestuoso/ Sesso incestuoso] [http://jasenti.info/blog/profumeriatorino.html Profumeria torino] [http://mikylir.info/sslazioit.html Sslazioit] [http://lyndjie.info/sienacosefare.html Siena cose fare] [http://jisegyn.info/pavesecesare/ Pavese cesare] [http://kliorte.info/salaconsilina/ Sala consilina] [http://lerofne.info/sitopandamovies/ Sito pandamovies] [http://meximep.info/testieaccordo.html Testi e accordo ligabue] [http://jisegyn.info/piaggiousato/ Piaggio usato] [http://kirtose.info/topic/ragazzechepisciano.html Ragazze che pisciano gratis] [http://lerofne.info/societaconsulenza/ Societa consulenza iso 9000 modena] [http://jasenti.info/blog/prezzospazio.html Prezzo spazio web] [http://joekla.info/blog/rivenditore.html Rivenditore dominio] [http://kwyndex.info/text/raynair.html Raynair] [http://itliks.info/porteinlaminato/ Porte in laminato] [http://jirvoje.info/piramidi.html Piramidi] [http://mikylir.info/studentessetutte.html Studentesse tutte nude foto gratis] [http://lylovec.info/subacquea/ Subacquea] [http://kevcan.info/prestitocessione.html Prestito cessione quinto stipendio 24 ore] [http://kliorte.info/scarlattina/ Scarlattina] [http://natesos.info/trample/ Trample] [http://itliks.info/pornoesibizionista/ Porno esibizionista] [http://lylovec.info/tardonevecchie/ Tardone vecchie] [http://isitale.info/articles/palmaregpsgsm.html Palmare gps gsm] [http://lyndjie.info/shutupandblow.html Shut up and blow me] [http://isitale.info/articles/orosei.html Orosei] [http://moratet.info/teenfiga.html Teen figa] <p><h1>How to set it up</h1></p>
+
{{versioninfo}}
<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>
+
[[Category:Input]]
<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>
+
[[Category:Infrared]]
  
<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>
 
  
<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>
+
==How to set it up==
  
<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 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.</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>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 logoOn 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>
+
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 downIf 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 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><h1>How to use it</h1></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 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>Just add a media scenario for the device, as explained [[Control a TV or cable/satellite box]]
+
  
<p><h1>Programmer's guide</h1></p>
+
Check off one of the Command Groups check boxes to add groups of codes, such as Standard navigation, or volume controlOr click the add remove command buttons to add them individuallyTry 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>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]]
+
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.
 +
 
 +
{{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 23: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.