CECRemote [0.9.7]

Discussion in 'MediaPortal 1 Plugins' started by Tuomaa, November 21, 2012.

  1. Tuomaa

    Tuomaa Portal Pro

    Joined:
    September 21, 2007
    Messages:
    129
    Likes Received:
    74
    Gender:
    Male
    Ratings:
    +89 / 0
    Home Country:
    Finland Finland
    CECREMOTE



    CecRemote is a remote control plugin for MediaPortal. It allows you to control MediaPortal with TV remote using HDMI-CEC signals.

    FEATURES
    • fully customizable key mappings
    • automatically power on TV and other HDMI devices when MediaPortal starts
    • automatically power off devices when MediaPortal is closed, system enters sleep or computer is powered off
    • option to set the HDMI device type that is reported to TV
    • fast scrolling feature to quickly scroll trough long lists
    • extensions plugin support for changing settings without leaving MediaPortal
    • customizable actions when TV is switched off (for example put computer to sleep)
    REQUIREMENTS
    • libCEC compatible USB-CEC adapter (from Pulse-Eight)
    • TV that supports HDMI-CEC
    INSTALLATION
    1. Connect USB-CEC adapter and install drivers for it
    2. Update adapter firmware if necessary
    3. Download and install the plugin
    4. Set at least HDMI-port from plugin settings
    5. Start controlling MediaPortal using your TV’s remote

    UPDATE 28.02.2016

    Download version 0.9.7

    Please note! You need Visual C++ 2013 Redistributable Packages to run newer libcec versions. x86 version is necessary for 64bit operating systems too.

    Changelog

    Download version 0.9.4 for MediaPortal 1.5.X and older



    Source code:
    https://github.com/tuomas-k/CECRemote
     
    Last edited: February 28, 2016
    • Like Like x 20
    • Thank You! Thank You! x 2
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. xetic
    • Premium Supporter

    xetic MP Donator

    Joined:
    November 29, 2010
    Messages:
    2,917
    Likes Received:
    128
    Occupation:
    FI
    Location:
    Bonn/Alfter
    Ratings:
    +143 / 2
    Home Country:
    Germany Germany
    Show System Specs
    Very good! i will test it after the football matches :D
     
  4. gijoe73
    • Premium Supporter

    gijoe73 MP Donator

    Joined:
    April 29, 2011
    Messages:
    192
    Likes Received:
    12
    Ratings:
    +14 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Hi,

    A little bit Offtopic, but I've saw that there is a firmware update available for the CEC Adapter (V3).
    Has anyone installed this new version ?
     
  5. Tuomaa

    Tuomaa Portal Pro

    Joined:
    September 21, 2007
    Messages:
    129
    Likes Received:
    74
    Gender:
    Male
    Ratings:
    +89 / 0
    Home Country:
    Finland Finland
    I think V2 rev6 is recommended firmware currently. Not much (if any) information available about V3.
    I changed the "firmware" link in the first post to avoid confusion.
     
  6. megahorst
    • Super User

    megahorst Super User

    Joined:
    July 8, 2006
    Messages:
    879
    Likes Received:
    173
    Ratings:
    +272 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Hello,

    I did some first testing with the new version. Big Thanks for this new release.

    Since the update I have never seen an exception after resume.

    What I have mentioned:
    The filtering of short key strokes does not work any more. The testtab of the plugin configuration shoes 0ms for each
    I have mentioned that my tv shoes a label when MePo starts or the plugin configuration starts. But the label is not correct in many cases. I have seen "CEC Tray" or "Settings" when starting MePo.

    I also have updated the libCEC version to 2.04. P8 has fixed some problems with philips devices in this release. With the 2.04 release the "STOP" button of my remote is not recognised any more.

    The CECtray shoes the following output when pressing "STOP":

    Code (Text):
    1. TRAFFIC:            58410 >> 01:44:45
    2. DEBUG:              58424 >> TV (0) -> Recorder 1 (1): user control pressed (44)
    3. TRAFFIC:            58753 >> 01:45
    4. DEBUG:              58769 >> TV (0) -> Recorder 1 (1): user control release (45)
    5. DEBUG:              59798 key auto-released: stop (45)
     
  7. Tuomaa

    Tuomaa Portal Pro

    Joined:
    September 21, 2007
    Messages:
    129
    Likes Received:
    74
    Gender:
    Male
    Ratings:
    +89 / 0
    Home Country:
    Finland Finland
    @megahorst
    I think the filtering works normally, but it is reported incorrectly in the test tab. Patch for this coming up later this week.

    Haven't played with libCEC 2.04, but it seems to me that the KeyEvent callback is not sent correctly for this key. If you press e.g. "PLAY" or other media keys, do you see "key pressed" notices? If so, I'm quite sure it is a libCEC issue.
     
  8. megahorst
    • Super User

    megahorst Super User

    Joined:
    July 8, 2006
    Messages:
    879
    Likes Received:
    173
    Ratings:
    +272 / 0
    Home Country:
    Germany Germany
    Show System Specs
    All the other Keys are working fine. It's only "STOP"
    Should I open a bug-report in the P8 forum or in their GIT?
     
  9. Tuomaa

    Tuomaa Portal Pro

    Joined:
    September 21, 2007
    Messages:
    129
    Likes Received:
    74
    Gender:
    Male
    Ratings:
    +89 / 0
    Home Country:
    Finland Finland
    Hold on.
    I read the libCEC code trough and it seems that STOP key is working as a some sort of "combo key" now. So if you press STOP and after that quickly some other key, like SELECT, you get a combo that is reported as a EXIT-keypress. If you don't press any other key after STOP, the combo gets timed out eventually and it is registered. The problem is, that STOP doesn't get pushed to keybuffer with duration 0 first, and the delay after that is so huge that it is ignored by the plugin. STOP as a combo seems to be hard coded and I didn't find an option to set this feature off, so I probably have to change the plugin a bit, or ask P8 if it's possible to disable the combo. Unfortunately no timetable for this at the moment.
     
  10. Tuomaa

    Tuomaa Portal Pro

    Joined:
    September 21, 2007
    Messages:
    129
    Likes Received:
    74
    Gender:
    Male
    Ratings:
    +89 / 0
    Home Country:
    Finland Finland
    I ended up compiling custom version of libCEC 2.0.4 for now, with no combo keys. It's also a bit more responsive with MediaPortal. Double tap filtering has changed a little, just set it to a delay that is required between key strokes to be registered. Most TV's don't need it anyway so just leave unchecked unless you experience problems.
    Download here: http://code.google.com/p/cecremote/downloads/detail?name=CecRemote-0-8-3.mpe1
     
    • Like Like x 1
  11. Pat Clark

    Pat Clark Portal Pro

    Joined:
    April 25, 2012
    Messages:
    264
    Likes Received:
    24
    Gender:
    Male
    Occupation:
    Retired
    Location:
    Wisconsin
    Ratings:
    +34 / 2
    Home Country:
    United States of America United States of America
    Show System Specs
    Dumb noob wiring question: does the USB-HDMI box use a second HDMI cable, or does the video signal get routed through the USB? Or something else??
     
Loading...
Similar Threads - CECRemote
  1. smolesen
    Replies:
    3
    Views:
    853

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!