WifiRemote - a tcp remote control server 0.8.3 [2014-07-20] | Page 52

Discussion in 'MediaPortal 1 Plugins' started by Shukuyen, May 5, 2011.

  1. loopery

    loopery Portal Member

    Joined:
    September 26, 2015
    Messages:
    17
    Likes Received:
    3
    Ratings:
    +4 / 0
    Home Country:
    United States of America United States of America




    Disabled Bonjour service at startup and restarted -- no change. Everything else works just the same. I thought I needed Bonjour for MPExtended to work?
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. johanj
    • Premium Supporter

    johanj Well-Known Member

    Joined:
    January 31, 2009
    Messages:
    781
    Likes Received:
    270
    Gender:
    Male
    Ratings:
    +398 / 1
    Home Country:
    Sweden Sweden
    No, bonjour is only needed for making configuration of the clients simpler.,
     
  4. Shukuyen
    • Premium Supporter

    Shukuyen Community Plugin Dev

    Joined:
    May 8, 2008
    Messages:
    557
    Likes Received:
    209
    Gender:
    Male
    Occupation:
    Developer
    Location:
    Lake of Constance
    Ratings:
    +261 / 0
    Home Country:
    Germany Germany
    Show System Specs
    From your log file it looks like ampdroid is connecting with invalid authentication data:
    [2015-10-09 03:26:44,385] [Log ] [18 ] [INFO ] - [WIFI_REMOTE] User aMPdroid authentification failed

    Check if you use the same settings in WifiRemote config and ampdroid. The crash in the log file is caused by IMDB+, not by WifiRemote (which seems to work as designed if we can believe the log file).[DOUBLEPOST=1444600309][/DOUBLEPOST]
    I don't think Bonjour is the issue here. The client finds WifiRemote and a connection is established. This is already beyond the "impact range" of bonjour.
     
    • Thank You! Thank You! x 1
  5. loopery

    loopery Portal Member

    Joined:
    September 26, 2015
    Messages:
    17
    Likes Received:
    3
    Ratings:
    +4 / 0
    Home Country:
    United States of America United States of America

    Big thanks! Didn't realize the login info had to be identical for WifiRemote and MPExtended.



    Uninstalled IMDB+, but WifiRemote configuration still crashes through the MP extension manager; but it's not really an issue to me, since it works just fine through the plugins section using MP configuration.



    Now, to get MPExtended to work outside my local network... (managed to get it working one night, and woke up to it dead o_O)
     
  6. LukeV

    LukeV Portal Member

    Joined:
    January 26, 2010
    Messages:
    18
    Likes Received:
    1
    Ratings:
    +1 / 0
    Hi guys, hope you guys can help me out with a problem...

    I'm working with Domoticz (a domotica system om my NAS). For some actions I would like my mediaportal to 'pause' (e.g. when the doorbell rings).

    I'm a real N00B with coding. I'm reading and Google-ing alot, but everything I do doesn't seem to work :(

    This is my tiny script:

    Code (Text):
    1. curl -X POST -H "Content-Type: application/json"  'http://192.168.1.151:8017'
    2.  
    3.  
    4. '{
    5.     "Type":"command",
    6.     "Command":"pause"
    7. }'
    I get a proper response from the server:

    But how do I post my request to pause MediaPortal??

    Sorry for this question, but it's driving me crazy right now...:eek:
     
  7. packstlauren
    • Premium Supporter

    packstlauren MP Donator

    Joined:
    November 26, 2006
    Messages:
    87
    Likes Received:
    25
    Ratings:
    +26 / 0
    Home Country:
    France France
    Hi Guys,

    Like Luke V, I'm facing the same issue.
    Does WifiRemote use a standard REST protocol ?

    Your help will be very appreciated.

    Thanks,

    Pack
     
  8. johanj
    • Premium Supporter

    johanj Well-Known Member

    Joined:
    January 31, 2009
    Messages:
    781
    Likes Received:
    270
    Gender:
    Male
    Ratings:
    +398 / 1
    Home Country:
    Sweden Sweden
  9. packstlauren
    • Premium Supporter

    packstlauren MP Donator

    Joined:
    November 26, 2006
    Messages:
    87
    Likes Received:
    25
    Ratings:
    +26 / 0
    Home Country:
    France France
    Thanks you for the reply.

    But yes I have read the wiki.
    I 'm using WifiRemote with curl from a linux machine or with a firefox REST client plugin. But what ever I do, the server responds me
    {"Type":"welcome","Server_Version":17,"AuthMethod":0,"MPExtendedServicesInstalled":{"MAS":true,"TAS":true,"WSS":true},"TvP
    luginInstalled":false}.

    With the demo client it works. I use the commands logged by this client, but I always get the same response.

    Does anybody have succced to use curl and without authentification ?

    Thanks,

    Pack
     
  10. johanj
    • Premium Supporter

    johanj Well-Known Member

    Joined:
    January 31, 2009
    Messages:
    781
    Likes Received:
    270
    Gender:
    Male
    Ratings:
    +398 / 1
    Home Country:
    Sweden Sweden
    I haven't tried with no authentification but in the wiki it says "For 'userpass' you will have to supply the correct combination of username and password. For 'passcode' you only have to supply a correct PIN. The 'none' authentication method will always authenticate you, without needing any further information."

    Have you tried sending the identfiy message from Curl?

    .
     
  11. packstlauren
    • Premium Supporter

    packstlauren MP Donator

    Joined:
    November 26, 2006
    Messages:
    87
    Likes Received:
    25
    Ratings:
    +26 / 0
    Home Country:
    France France
    Hi,

    It seems that WifiRemote is using socket (from client sources). So it is not a standard REST interface.

    Does anyone knows how to use socket with a linux command line ?
    I have try netcat but no success.

    Thanks in advance,

    Regards,

    Pack
     
    Last edited: October 20, 2015
Loading...

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!