WDTV Tools

July 11, 2009

eiri r189 Released / Added Support for Command Remapping and Other Remote Controls

Filed under: eiri — Tags: , , , , , — Elmar Weber @ 03:32

A new version of eiri – the Extended IR Interface for the Western Digital TV HD (WDTV) – has been released. eiri allows you to use other remotes with the WDTV, to remap keys from the WDTV remote to new key sequences and to execute shell scripts with the remote. For example you can remap a key on your remote to change the movie language with just one key press instead of doing it complicated via the options menu. Furthermore eiri enables you to send commands to the WDTV from the command line or remotely via network.

This version introduces some new features and fixes a bug in the command line interface:

  • added support to remap IR commands
  • added support to map commands from other remotes to WDTV commands
  • added support to execute shell commands triggered by an IR code
  • fixed: some sleep intervals did not work with the command line client

To adapt the configuration of eiri simply modify the file eiri.conf.txt on your USB stick. It already contains some example configurations to get you started. A detailed documentation will follow. A tip, to get the IR codes for a new remote you can connect via telnet to eiri and see all IR codes: telnet >wdtv IP< 14247

The new application image is available for download at http://sourceforge.net/projects/wdtvtools/files/eiri/eiri-r189-wdtv.zip/download. As always, to use it simply extract all files to your boot USB stick.

All eiri files can be found at http://sourceforge.net/project/showfiles.php?group_id=261153&package_id=325092.

eiri is part of the WDTV Tools project. For more tools and information take a look at the WDTV Tools homepage: http://wdtv.elmarweber.org.


  1. very well done.
    Thanks for doing such a great job!

    Is it possible to telnet to this device WD HD TV via IrDA ?


    Comment by a142857 — July 18, 2009 @ 11:17

  2. Nope, it has no IR transmitter, just a receiver. You must have a network adapter in place or use use the serial port (requires soldering some wires in the device).

    Comment by Elmar Weber — July 18, 2009 @ 19:00

  3. Thanks for doing such a great job!

    One question: is it possible to SUPPRESS standard IR commands?
    To elaborate:

    There is a know compatibility problem with some Samsung (in power saving modes)/Philips HDTVs. They emit infrared noise which WDTV understands as infrared command and stops responding to its remote.

    Comment by Kartu — July 23, 2009 @ 09:21

  4. Hi,

    sorry if this is a doublepost, but my previous comment still didn’t show up.

    Does this tool allow to suppress existing remote commands? (this is needed by Samsung/Philips owners, these TVs emit a lot of infrared noise that confuses WDTV)

    And thanks for doing such a great job!

    Comment by Kartu — July 24, 2009 @ 09:30

  5. Hi,

    yes you can do that, you just have to bind the bogus IR signals to dummy commands. There will be more documentation soon on how to do that. For now you can read the thread in the WDTV Forum at http://wdtvforum.com/main/index.php?topic=1401.0


    Comment by Elmar Weber — July 24, 2009 @ 15:12

  6. Hi,
    first of all thanks for the great job!
    Take this as my small contribution:
    in eirid.c
    if (’\n’ == tmp) {
    printf(”Processing: %s”, buffer);
    must be
    if (’n’ == tmp) {
    printf(”Processing: %s”, buffer);


    Comment by xMx — October 6, 2009 @ 20:12

  7. With B-RAD firmware (wich include eiri)

    On a telnet sesion on my wdtvlive type:
    telnet localhost 14247
    But obtain an error,
    telnet: cannot connect to remote host ( Connection refused

    Same error if I connect USB flash (with eiri) and boot my wdtvlive.

    Any idea?

    Comment by joseaio — April 8, 2010 @ 18:02

  8. eiri is not WDTV Live compatible.

    Comment by Elmar Weber — April 8, 2010 @ 21:46

  9. Thank you or your response, Elmar

    Any future plan to support WDTV Live?

    Comment by joseaio — April 9, 2010 @ 00:15

  10. Not as of yet, but when I finally have the need to get a WDTV live I’ll look into it and update this page.

    Comment by Elmar Weber — April 9, 2010 @ 19:18

  11. Works on WDTV Live!!

    On first telnet session type:
    # config_tool -c EIRI=ON
    # reboot

    On second telnet session type:
    # telnet localhost 14147

    Use your remote to see codes on screen

    Comment by joseaio — April 17, 2010 @ 12:24

  12. Hi Elmar, thanks for the great job.
    Is it possible to create an application to capture the IR codes from the remotes and dump the codes in a file or even add this option in a new version? I see lots of people in the forums/comments having problems to use this tool because telnet is not going up (due to no network device) and there is no other way to get the codes.

    It would be really helpfully.

    Thanks again.

    Comment by Gil — May 5, 2010 @ 04:58

  13. Hi Gil,

    yes, its possible, but I currently don’t have the time to expand the tool. The modifications are rather simple, so anyone with a little shell or C programming knowledge should have no problem to extend it.


    Comment by Elmar Weber — May 9, 2010 @ 15:36

  14. Works great on my WDTVLive and the AV-Recorder Remote. Still, my Samsung Remote wont do, in telnet no button spits out a reaction. Is that another frequency or standard? Do you process the raw ir-data?

    Comment by Carl — February 8, 2011 @ 21:24

  15. Elmer, quick question.
    i am using firmware
    Do i still have to install eiri R189?

    I was using the EIRI this morning and trying to get the codes from the second remote. I got a few codes and then the 2nd remote stopped sending codes to telnet. The original remote was sending codes. Have i done something wrong? Hope you can shed some light.


    Comment by Michael — December 22, 2011 @ 15:34

RSS feed for comments on this post. TrackBack URL

Leave a comment

You must be logged in to post a comment.

Powered by WordPress