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

From LinuxMCE
Jump to: navigation, search
m
 
(45 intermediate revisions by 15 users not shown)
Line 1: Line 1:
[http://jututor.125mb.com/lib/manea-srl/ manea srl] [http://coarmago.freeweb7.com/library/html/rulli-fitness.htm rulli fitness] [http://peter-land.somee.com/images/small/robotics-modem.htm robotics modem] [http://viemalin.freeweb7.com/resources/articles/testi-colonne.htm testi colonne sonore di film] [http://jedillar.125mb.com/resources/articles/safe-xp/ safe xp] [http://rihelm.125mb.com/img/styles/fresh-download/ fresh download] [http://lamcgie.t35.com/web/martina-colombari.htm martina colombari nuda] [http://brrezab.freeweb7.com/img/styles/alimentatore-stabilizzato.htm alimentatore stabilizzato] [http://brrezab.freeweb7.com/img/styles/estral.htm estral] [http://lamcgie.125mb.com/html/recetas-de.htm recetas de churro] [http://davelovesyou.somee.com/library/html/man/ man 212] [http://kiboukni.125mb.com/web/roger-meno/ roger meno] [http://dj-deus.somee.com/lib/albergo-ancona.htm albergo ancona] [http://thegoogly.somee.com/view/new/nina-sky.htm nina sky move jo body] [http://lakitsmi.freeweb7.com/web/fucilazioni/ fucilazioni] [http://davelovesyou.somee.com/library/html/zaino-notebook/ zaino notebook kensington] [http://trocterli.t35.com/img/styles/lettori-mp/ lettori mp3 radio packard bell] [http://am-i-bird.somee.com/img/styles/elisa-b.htm elisa b] [http://davelovesyou.somee.com/library/html/bosch/ bosch 39361] [http://luallard.t35.com/html/norme-igienico/ norme igienico sanitarie parrucchieri] [http://flheddina.t35.com/web/luomo-che/ luomo che sapeva troppo] [http://yourorus.somee.com/data/dvd-divx.htm dvd divx registratore] [http://peter-land.somee.com/images/small/flash-meter.htm flash meter] [http://davelovesyou.somee.com/library/html/telecamera-digitale/ telecamera digitale dvd] [http://madavid.t35.com/html/te-quiero/ te quiero tanto] [http://trocterli.t35.com/img/styles/fotografie-di/ fotografie di nudi] [http://peter-land.somee.com/images/small/everything-alains.htm everything alains morisette] [http://peter-land.somee.com/images/small/solo-foto.htm solo foto di pompini] [http://viemalin.freeweb7.com/resources/articles/monoporta-incasso.htm monoporta incasso] [http://rihelm.125mb.com/img/styles/winlive/ winlive] [http://jedillar.125mb.com/resources/articles/chanel-coco/ chanel coco mademoiselle 100 ml] [http://rimarsh.t35.com/images/small/videocamere-ccd.htm videocamere ccd dvd] [http://dj-deus.somee.com/lib/trattori-d.htm trattori d epoca] [http://coarmago.freeweb7.com/library/html/elsist-arte.htm elsist arte 5] [http://fergus-mac.somee.com/description/lib/tittypalace/ tittypalace] [http://thegoogly.somee.com/view/new/www-sportscar.htm www sportscar com] [http://flheddina.t35.com/web/gierre-scale/ gierre scale] [http://quotes-girl.somee.com/content/view/bang-my/ bang my wife] [http://lamcgie.t35.com/web/valentino-rosso.htm valentino rosso moto 2006] [http://am-i-bird.somee.com/img/styles/beba-galvan.htm beba galvan] [http://betheresa.t35.com/text/directory/calendari-letterine/ calendari letterine] [http://brrezab.freeweb7.com/img/styles/nicholas-berg.htm nicholas berg execution video] [http://coarmago.freeweb7.com/library/html/sito-web.htm sito web al arabia] [http://am-i-bird.somee.com/img/styles/giorgia-palmas.htm giorgia palmas foto] [http://viemalin.freeweb7.com/resources/articles/toner-.htm toner 1300 hp] [http://yourorus.somee.com/data/balletto-barese.htm balletto barese] [http://lamcgie.125mb.com/html/winter-johnny.htm winter, johnny] [http://viemalin.freeweb7.com/resources/articles/download-codec.htm download codec div3 gratis] [http://fergus-mac.somee.com/description/lib/video-omicidio/ video omicidio baldoni] [http://jedillar.125mb.com/resources/articles/sw-/ sw 40 l] [http://nationavce.somee.com/library/html/www-valencia/ www valencia com] [http://quotes-girl.somee.com/content/view/agriturismo-alassio/ agriturismo alassio] [http://madavid.t35.com/html/jej-czarne/ jej czarne oczu] [http://dabeutle.t35.com/content/view/contratto-sanita.htm contratto sanita] [http://fergus-mac.somee.com/description/lib/compensato/ compensato] [http://lamcgie.125mb.com/html/keen-chef.htm keen chef] [http://kiboukni.125mb.com/web/lemarchand-jacques/ lemarchand, jacques] [http://dabeutle.t35.com/content/view/empires.htm empires] [http://flheddina.t35.com/web/pokemon-stadium/ pokemon stadium download] [http://madavid.t35.com/html/chicco-trio/ chicco trio ct 01 sidney] [http://kiboukni.125mb.com/web/olimpus-batterie/ olimpus batterie olympus per foto] [http://ouquaite.freeweb7.com/img/styles/nu-sinh/ nu sinh ngo quyen download] [http://luallard.t35.com/html/crea-graffiti/ crea graffiti] [http://thegoogly.somee.com/view/new/think-about.htm think about revolution] [http://peter-land.somee.com/images/small/www-aclamadas.htm www aclamadas com ar] [http://trocterli.t35.com/img/styles/take-a/ take a chance brizzi co] [http://viemalin.freeweb7.com/resources/articles/creed-silver.htm creed silver] [http://yourorus.somee.com/data/vx-e.htm vx 2e] [http://lensman.somee.com/html/weather-europe/ weather europe] [http://yourorus.somee.com/data/www-severina.htm www severina vuckovic] [http://ouquaite.freeweb7.com/img/styles/rocktron-expression/ rocktron expression] [http://thegoogly.somee.com/view/new/hl-n.htm hl 2070n] [http://nationavce.somee.com/library/html/ray-ban/ ray ban 4037] [http://nationavce.somee.com/library/html/immagini-di/ immagini di lee ryan nudo] [http://yourorus.somee.com/data/modem-adsl.htm modem adsl access] [http://jututor.125mb.com/lib/divise-professionali/ divise professionali nero] [http://de-der.somee.com/library/html/hotel-sanremo.htm hotel sanremo] [http://fawarfo.freeweb7.com/topic/gichi-di.htm gichi di intelligenza] [http://peter-land.somee.com/images/small/nikon-ds.htm nikon d70s kit nital] [http://rimarsh.t35.com/images/small/brake-wall.htm brake wall] [http://dj-deus.somee.com/lib/videocamere-samsung.htm videocamere samsung 20x] [http://viemalin.freeweb7.com/resources/articles/cat.htm cat 3] [http://luallard.t35.com/html/the-getaway/ the getaway ps2] [http://flheddina.t35.com/web/libere-foto/ libere foto porno] [http://de-der.somee.com/library/html/negeri-sembilan.htm negeri sembilan] [http://rimarsh.t35.com/images/small/brani-canzoni.htm brani canzoni] [http://trocterli.t35.com/img/styles/logo-suoneria/ logo suoneria siemens] [http://lamcgie.125mb.com/html/proud-mary.htm proud mary] [http://quotes-girl.somee.com/content/view/hail-attac/ hail attac] [http://quotes-girl.somee.com/content/view/pastore-tedesco/ pastore tedesco bianco] [http://viemalin.freeweb7.com/resources/articles/o-zone.htm o zone mia la hii] [http://brrezab.freeweb7.com/img/styles/fasciatoio-naturale.htm fasciatoio naturale foppapedretti] [http://lamcgie.125mb.com/html/credito-cooperativo.htm credito cooperativo casagiove] [http://dabeutle.t35.com/content/view/hyssopus.htm hyssopus] [http://luallard.t35.com/html/lei-mi/ lei mi incula] [http://fawarfo.freeweb7.com/topic/the-creep.htm the creep radiohead] [http://coarmago.freeweb7.com/library/html/leone-oreficeria.htm leone oreficeria srl] [http://quotes-girl.somee.com/content/view/barb/ barb] [http://quotes-girl.somee.com/content/view/ferrari-da/ ferrari da varese srl] [http://yourorus.somee.com/data/thermalrock-mystic.htm thermalrock mystic] [http://rihelm.125mb.com/img/styles/quedata/ quedata] [http://coarmago.freeweb7.com/library/html/aureon-.htm aureon 7 1 universe] [http://nairoz.somee.com/img/styles/lourdes/ lourdes] [http://de-der.somee.com/library/html/vasco-rossi.htm vasco rossi show] [http://peter-land.somee.com/images/small/sistemi-operativi.htm sistemi operativi] [http://dabeutle.t35.com/content/view/use.htm use] [http://flheddina.t35.com/web/tannoy-arena/ tannoy arena] [http://ouquaite.freeweb7.com/img/styles/filmato-ostaggi/ filmato ostaggi] [http://trocterli.t35.com/img/styles/geforce/ geforce 4000] [http://luallard.t35.com/html/amplificatori-per/ amplificatori per karaoke] [http://davelovesyou.somee.com/library/html/film-lino/ film lino banfi comici] [http://ouquaite.freeweb7.com/img/styles/bailamos/ bailamos] [http://jututor.125mb.com/lib/lost-without/ lost without you] [http://lamcgie.125mb.com/html/kit-modem.htm kit modem adsl wireless] [http://jedillar.125mb.com/resources/articles/fotos-de/ fotos de erreway] [http://nairoz.somee.com/img/styles/zaino-notebook/ zaino notebook] [http://kiboukni.125mb.com/web/molino-de/ molino de viento] [http://kiboukni.125mb.com/web/traqueostomia/ traqueostomia] [http://fawarfo.freeweb7.com/topic/multi-cd.htm multi cd] [http://brrezab.freeweb7.com/img/styles/volo-economico.htm volo economico amsterdam] [http://rimarsh.t35.com/images/small/despre.htm despre] [http://flheddina.t35.com/web/sito-al/ sito al qaida] [http://jututor.125mb.com/lib/hitachi-/ hitachi 26 ld 6200] [http://jedillar.125mb.com/resources/articles/el-chachacha/ el chachacha] [http://lakitsmi.freeweb7.com/web/principessa-grace/ principessa grace di monaco] [http://davelovesyou.somee.com/library/html/urologi-in/ urologi in provincia di pisa] [http://rimarsh.t35.com/images/small/publicita-adidas.htm publicita adidas] [http://brrezab.freeweb7.com/img/styles/ricerca-numeri.htm ricerca numeri fax] [http://am-i-bird.somee.com/img/styles/motosega-professionale.htm motosega professionale] [http://madavid.t35.com/html/fucili-mares/ fucili mares] [http://trocterli.t35.com/img/styles/http-precisa/ http precisa gob mx www php] [http://thegoogly.somee.com/view/new/dsc-p.htm dsc p73] [http://ouquaite.freeweb7.com/img/styles/piastra-cassette/ piastra cassette] [http://jedillar.125mb.com/resources/articles/test-divertenti/ test divertenti] [http://lamcgie.t35.com/web/olympia-usa.htm olympia (u.s.a.)] [http://itgurney.t35.com/view/new/expose-thongs/ expose thongs] [http://ouquaite.freeweb7.com/img/styles/www-napolisoccer/ www napolisoccer it] [http://jedillar.125mb.com/resources/articles/vaasa/ vaasa] [http://dj-deus.somee.com/lib/lo-studio.htm lo studio dell istinto] [http://jututor.125mb.com/lib/tomtom-go/ tomtom go external antenna] [http://rimarsh.t35.com/images/small/richmond-giubbotti.htm richmond giubbotti uomo] [http://ouquaite.freeweb7.com/img/styles/i-link/ i link sony cavo] [http://quotes-girl.somee.com/content/view/www-bet/ www bet com] [http://brrezab.freeweb7.com/img/styles/prince-when.htm prince when doves cry] [http://yourorus.somee.com/data/rofos.htm rofos] [http://madavid.t35.com/html/la-legge/ la legge del fucile] [http://jedillar.125mb.com/resources/articles/radeon-x/ radeon x800 pci] [http://coarmago.freeweb7.com/library/html/pigiama-donna.htm pigiama donna] [http://viemalin.freeweb7.com/resources/articles/nokia-.htm nokia 2600 auricolare] [http://rihelm.125mb.com/img/styles/armi-contro/ armi contro la legge] [http://am-i-bird.somee.com/img/styles/intimo-donna.htm intimo donna cavalli] [http://am-i-bird.somee.com/img/styles/kimcattrall.htm kimcattrall] [http://dabeutle.t35.com/content/view/download-kim.htm download kim basinger strip] [http://lensman.somee.com/html/george-bush/ george bush] [http://dj-deus.somee.com/lib/canon-powershot.htm canon powershot s2-is] [http://peter-land.somee.com/images/small/hawk.htm hawk] [http://ouquaite.freeweb7.com/img/styles/storia-di/ storia di marie e julien] [http://lamcgie.125mb.com/html/hauppauge-.htm hauppauge - win tv nova-s pci] [http://de-der.somee.com/library/html/albergo-berna.htm albergo berna] [http://fergus-mac.somee.com/description/lib/point-of/ point of view 6600 gt agp] [http://dj-deus.somee.com/lib/mini-cooper.htm mini cooper km o] [http://luallard.t35.com/html/meurice-paul/ meurice, paul] [http://flheddina.t35.com/web/leasing-finanziamento/ leasing finanziamento] [http://kiboukni.125mb.com/web/nestl/ nestl] [http://madavid.t35.com/html/nyanza-ruanda/ nyanza (ruanda)] [http://yourorus.somee.com/data/oldham-john.htm oldham, john] [http://nairoz.somee.com/img/styles/file-bin/ file bin] [http://betheresa.t35.com/text/directory/fascia-tennis/ fascia tennis] [http://nationavce.somee.com/library/html/lcd/ lcd 10] [http://fawarfo.freeweb7.com/topic/motorola-v.htm motorola v3 prezzo] [http://nationavce.somee.com/library/html/tschudi-johann/ tschudi, johann jakob von-] [http://lamcgie.125mb.com/html/orologio-breitling.htm orologio breitling] [http://lamcgie.t35.com/web/chiavette-usb.htm chiavette usb mp3] [http://viemalin.freeweb7.com/resources/articles/volo-cina.htm volo cina] [http://luallard.t35.com/html/business-franchise/ business franchise] [http://davelovesyou.somee.com/library/html/www-audi/ www audi it] [http://davelovesyou.somee.com/library/html/caminetto-gas/ caminetto gas] [http://davelovesyou.somee.com/library/html/elaborare-forum/ elaborare forum] [http://davelovesyou.somee.com/library/html/dvd-edizione/ dvd edizione speciale robin hood] [http://coarmago.freeweb7.com/library/html/nvidia-geforce.htm nvidia geforce 6600 agp 8x] [http://lensman.somee.com/html/itinerario-lombardia/ itinerario lombardia] [http://kiboukni.125mb.com/web/ancora-immagini/ ancora immagini per il ritorno del re] [http://lensman.somee.com/html/procreazione-artificiale/ procreazione artificiale] [http://lensman.somee.com/html/frigorifero-incasso/ frigorifero incasso smeg] [http://de-der.somee.com/library/html/volo-lanzarote.htm volo lanzarote] [http://lamcgie.125mb.com/html/russos-denis.htm russos denis] [http://davelovesyou.somee.com/library/html/paese-selvaggio/ paese selvaggio copertina] [http://itgurney.t35.com/view/new/norton-system/ norton system works] [http://dj-deus.somee.com/lib/samurai-bianco.htm samurai bianco] [http://yourorus.somee.com/data/registratore-archos.htm registratore archos con 20 gb di hd] [http://quotes-girl.somee.com/content/view/blu-cantrell/ blu cantrell feat sean poul breath] [http://brrezab.freeweb7.com/img/styles/narmada.htm narmada] [http://coarmago.freeweb7.com/library/html/applicazioni-java.htm applicazioni java sony ericsson] [http://yourorus.somee.com/data/rolex-orologi.htm rolex orologi] [http://quotes-girl.somee.com/content/view/la-lignite/ la lignite] [http://quotes-girl.somee.com/content/view/rasato/ rasato] [http://nationavce.somee.com/library/html/transhimalaya/ transhimalaya] [http://yourorus.somee.com/data/terme-toscana.htm terme toscana chianciano saturnia] [http://dj-deus.somee.com/lib/sui-monti.htm sui monti con annette. vol. 01] [http://nairoz.somee.com/img/styles/in-senegal/ in senegal] <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 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>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.</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.
 +
 
 +
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 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.