EventGhostPlus (6 Viewers)

DaBIGOne

Portal Pro
January 16, 2012
59
162
127.0.0.1
Home Country
Netherlands Netherlands
The EventGhost plugin you are linking to is to control a Yamaha receiver over network, pretty sweet.
You need an EventGhost server (could be your HTPC, but at least EventGhost needs to run locally on a machine that's wired to the network)
You need to configure your receiver so that it has an IP address.
You install the plugin in EventGhost (nothing more than stopping Eventghost en copy the files in the plugins directory, and then restart eventghost again).
You need to set the IP address in the plugin, for this plugin you need to edit RXV867.py, not the most user-friendly way, but I guess it will work.
(Be very carefull that you don't use TAB anywhere in the .py document or else you'll get indentation errors)
Then you can send commands with this plugin to your receiver, and as I saw it quickly in the source, you could also get status info from your receiver.

You can use my EventGhostPlus MediaPortal plugin to link an event (for instance pause video) to an action on your receiver (for instance mute) (wouldn't know why you would want to do that but it's an option).
if you want to press a certain button on your remote and link that to an action on your receiver you need a device to read the IR (IR receiver) and it has to be compatible with EventGhost, so it will generate events every time you press a button on your remote. These events you can link to an control-action for your receiver.

If you use your HTPC as a server this way, you cannot control your receiver when the HTPC is switched off, this may be a problem.
I personally have solved this by placing a server (24 hours on) on another room, extend the USB to my audio-cabinet and connect a IR Transceiver there.
with this setup I can control any device with IR remote or send IR Signals to my devices from the server (and send events from my tablet/mobile phone to my server, wich then controls devices/computers/lights/sunscreens (whatever).
 
Last edited:

TiboTv

Portal Pro
June 22, 2009
244
39
Home Country
Belgium Belgium
There have been multiple requests for this feature already, and I would like that too. But as of yet I was not able to get a trigger from the screensaver when it starts or stops screensaving. It's on the list, but it's a tricky one.

Any progress on this point? ;-)
 

Junkmail

Portal Member
April 1, 2007
12
2
Home Country
Canada Canada
Hi DaBIGOne
I'm attempting to map my tv series and moving pictures to my remote. How would I do something like this? I have looked at mapping at the Mediaportal side and I don't know how to get to call the proper window.

-Thanks
 

Luca Brasi

MP Donator
  • Premium Supporter
  • November 14, 2007
    1,026
    119
    Home Country
    Germany Germany
    Check here...

    And you will need this as well...

    Can you tell me in the meantime where EventGhostPlus stores the mappings xml? Is it like in message plugin?

    I sure can, at this moment the EventGhostPlus.xml is located in Mediaportal\defaults\InputDeviceMappings, and it's exactly the same as it was with MessagePlugin.
    In fact it's an exact copy, I just renamed it to EventGhostPlus.xml so I can make my own changes in the future.
     

    Junkmail

    Portal Member
    April 1, 2007
    12
    2
    Home Country
    Canada Canada
    Thanks Luca for your response. I've modified my eventghostplus.xml with the code that you had, however this seems to have no effect. I removed the blank * and # buttons, as I thought they might be conflicting. But they did not.
    I have made a keyboard emulation in EG for my button to press *. didn't work
    Looking in the settings for eventghostplus, the new mappings buttons that I cut and pasted aren't there. Yet the old ones which I have deleted are still there (and greyed out).
     

    Luca Brasi

    MP Donator
  • Premium Supporter
  • November 14, 2007
    1,026
    119
    Home Country
    Germany Germany
    hm... don't know what wrong... you could try to assign some other windows (existing in the list) to # and * in eventghostplus' config and then alter those entries in the xml afterwards... how does mp behave then if you hit # or*?
     

    Junkmail

    Portal Member
    April 1, 2007
    12
    2
    Home Country
    Canada Canada
    Hi Luca, mp doesn't do anything when those keys are pressed, though it does play the wav file. I set it to 35 for home, and still nothing.

    Is it possible that the mappings for eventghostplus are not being used as another mapping has priority? I unchecked the 'use microsoft mce remote or keyboard' in the remote section. Didn't help

    I tried running the debug program (little exp in this)
    here's some logs stuff. I couldn't make any sense of the mediaportal log, but I did notice that the evenetghtostplus log had an error.
    Code:
    9/30/2013 11:06:01 AM[Info] Starting EventGhostPlus version 1.1.3.2
    9/30/2013 11:06:01 AM[Error] DPAPI was unable to decrypt data.
    9/30/2013 11:06:01 AM[Error] CryptUnprotectData failed.
    9/30/2013 11:06:01 AM[Error] Key not valid for use in specified state
    9/30/2013 11:14:25 AM[Info] Stopping

    just in case here is my XML
     

    Attachments

    • EventGhostPlus.xml
      16 KB

    Luca Brasi

    MP Donator
  • Premium Supporter
  • November 14, 2007
    1,026
    119
    Home Country
    Germany Germany
    It's been a really long time but I think I remember happening something like that to me as well...

    Which xml did you change?
    The one in
    C:\Program Files (x86)\Team MediaPortal\MediaPortal\defaults\InputDeviceMappings
    or the one in
    C:\ProgramData\Team MediaPortal\MediaPortal\InputDeviceMappings

    The second path is the way to go...
     

    Users who are viewing this thread

    Top Bottom