WifiRemote - a tcp remote control server 0.8.3 [2014-07-20] (6 Viewers)

Shukuyen

Community Plugin Dev
  • Premium Supporter
  • May 8, 2008
    557
    300
    Lake of Constance
    Home Country
    Germany Germany
    Hey there,

    I am tinkering on a new feature for WifiRemote: AV Receiver support.

    What's that good for? Some of you will control the volume of what you are watching through MediaPortal, but I am sure there are many user who have an AV receiver for that. This means you can't control the volume with CouchPotato, Ampdroid or any other WifiRemote client, but you have to grab your AV receiver remote and use that. This I want to change.

    AVReceiver.jpg


    With this new feature you will be able to select your receiver instead of MediaPortal in the WifiRemote configuration.
    Some things are required for that:
    1. Support for your receiver has to be coded into WifiRemote. At the moment we only support the Pioneer VSX-921 (and compatible), because that's what I have and what I can test.
    2. The receiver has to be on the same network as the WifiRemote HTPC.

    The whole system is as flexible as possible, in theory we can expand it even beyond AV receivers like for example add support for TVs or beamers.


    Check out a short video demoing how the receiver is controlled via CouchPotato:


    What now?
    You can download a test version and check it out for yourself.


    If you have a receiver that you think should be integrated please send me all the info you have (Model, documentation of the network interface, ...). It will probably be hard to add new receivers as testing will involve sending many test versions, but I don't know of a better way. Or you can implement it and submit a patch, have a look at my svn branch here: https://code.google.com/p/wifiremote/source/browse/#svn/branches/HardwareController


    Let me know what you think!
     

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    46
    Home Country
    Sweden Sweden
    It's a great feature and probably most welcome for a lot of users.

    I have an Onkyo receiver that I control with iViewer through tcp/ip. It seems that most Onkyo receivers use the same Integra protocol. I will send you the documentation for it. I can also take a look at the branch when I find some time...
     

    Dragy

    Portal Pro
    April 27, 2009
    778
    333
    32
    Home Country
    Netherlands Netherlands
    Maybe you can add support for EventGhost then. There are many people who let EventGhost control a lot of things. So am I. It would be great to let WiFiRemote also send events to EventGhost (eventghost.exe -e {event}). For me, I will only use it for the volume controls.
     

    Sebell

    Portal Pro
    November 25, 2007
    277
    7
    Lippstadt
    Home Country
    Germany Germany
    The WifiRemote Plugin doesnt show under Plugins! At a another Station with same Version it does! Where ist the Problem?

    Code:
    2013-04-05 14:19:35.853526 [ERROR][MPMain(1)]: Exception while loading IPlugin instances: WifiRemote.WifiRemote
    2013-04-05 14:19:35.854503 [ERROR][MPMain(1)]: System.InvalidCastException: Das Objekt des Typs "WifiRemote.WifiRemote" kann nicht in Typ "MediaPortal.GUI.Library.IPlugin" umgewandelt werden.
      bei MediaPortal.GUI.Library.PluginManager.LoadPlugin(String strFile)
    2013-04-05 14:19:35.855479 [ERROR][MPMain(1)]: Das Objekt des Typs "WifiRemote.WifiRemote" kann nicht in Typ "MediaPortal.GUI.Library.IPlugin" umgewandelt werden.
    2013-04-05 14:19:35.855479 [ERROR][MPMain(1)]:	bei MediaPortal.GUI.Library.PluginManager.LoadPlugin(String strFile)
     

    Shukuyen

    Community Plugin Dev
  • Premium Supporter
  • May 8, 2008
    557
    300
    Lake of Constance
    Home Country
    Germany Germany
    Maybe you can add support for EventGhost then. There are many people who let EventGhost control a lot of things. So am I. It would be great to let WiFiRemote also send events to EventGhost (eventghost.exe -e {event}). For me, I will only use it for the volume controls.

    Can you please explain in more detail how you are using eventghost and how you think an integration in WifiRemote / the remote apps should work?
    The WifiRemote Plugin doesnt show under Plugins! At a another Station with same Version it does! Where ist the Problem?

    It looks like the WifiRemote.dll isn't recognized as a valid MediaPortal plugin.
    Can you please make sure you copied it to /plugins/process and that this is the only version of WifiRemote on that pc?
     

    Dragy

    Portal Pro
    April 27, 2009
    778
    333
    32
    Home Country
    Netherlands Netherlands
    Maybe you can add support for EventGhost then. There are many people who let EventGhost control a lot of things. So am I. It would be great to let WiFiRemote also send events to EventGhost (eventghost.exe -e {event}). For me, I will only use it for the volume controls.


    Can you please explain in more detail how you are using eventghost and how you think an integration in WifiRemote / the remote apps should work?
    I can't control the volume with aMPdroid, so when aMPdroid sends an event to EG when I press the volume buttons, I can let EG handle the volume.
     

    Ola Nilsson

    Portal Member
    October 21, 2012
    11
    6
    48
    Stockholm, Sweden
    Home Country
    Sweden Sweden
    Just bought the couchpotato app for my iphone5 and manage to get the htpc to wake on lan, however there seems to be a problem with the wifiremote. Any idea what I can do to get the wifiremote to run together with MP?
    Thx,
    Ola
     

    Attachments

    • error.bak
      4.5 KB

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    46
    Home Country
    Sweden Sweden
    Check that ip, port, username and password are correct. Also check that nothing is blocking the port on your HTPC. Default port is 8017. You can look at your MediaPortal.log will show the WifiRemote logs. I assume that you have installed and configured WifiRemote...
     

    Ola Nilsson

    Portal Member
    October 21, 2012
    11
    6
    48
    Stockholm, Sweden
    Home Country
    Sweden Sweden
    Check that ip, port, username and password are correct. Also check that nothing is blocking the port on your HTPC. Default port is 8017. You can look at your MediaPortal.log will show the WifiRemote logs. I assume that you have installed and configured WifiRemote...
    It's installed and configured to use port 8017. I can't find anything suspicious in the MediaPortal log. It starts the wifiremote plugin. See attached.
     

    Attachments

    • MediaPortal.bak
      98.9 KB

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    46
    Home Country
    Sweden Sweden
    Yes, it seems that no one is trying to connect. You should have these lines in the log when a socket is opened:
    2013-05-05 05:23:35.776550 [Debug][(8)]: [WIFI_REMOTE] Client connected, sending welcome msg.
    And when credentials are correct:
    2013-05-05 05:23:36.070550 [Debug][(26)]: [WIFI_REMOTE] User CFMini [CFMini (version 1.0)] successfully authentificated by username and password

    You could try to turn off firewall as a test. Or anything else that could block the port. Your phone is on the same subnet and not useing 3g?
     

    Users who are viewing this thread

    Top Bottom