Flic Home

    Community

    • Login
    • Search
    • Popular
    • Users
    1. Home
    2. thomas204
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 5
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by thomas204

    • RE: Controlling Sonos using HTTP requests?

      @bambi2000 Thanks. I did manage to get the basics working (as well as find the streams for P3 and P4 🙂 ). I also managed to group players by setting CurrentURI of the "slave" IP to the UUID of the "master".

      <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:SetAVTransportURI xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID><CurrentURI>x-rincon:RINCON_XXXXXXXXXXXX1400</CurrentURI><CurrentURIMetaData /></u:SetAVTransportURI></s:Body></s:Envelope>

      Now I just wish Flic would create some sort of copy function to make it easier to reuse those commands:-) And that Sonos would open their official API for better integration and remote control.

      posted in General Discussion
      thomas204
      thomas204
    • RE: Controlling Sonos using HTTP requests?

      @bambi2000 er det P3? Den prøver jeg at kopiere 🙂
      Doesn't it need metadata?

      posted in General Discussion
      thomas204
      thomas204
    • RE: Controlling Sonos using HTTP requests?

      Hmm. (minor) Progress. I managed to send a "play" command to one player but I am not able to tune it to a radio station or add a player to a group (I found a thread mentioning that setting currentURI to x-rincon:{UUID of master} should do the trick).
      Any attempt at setting currentURI returns error 500:-(

      /Thomas

      posted in General Discussion
      thomas204
      thomas204
    • RE: Controlling Sonos using HTTP requests?

      @bambi2000 thanks! Apparently this is over my capabilities:( All I get is an internal server error (500). And I also have a little trouble actually desciphering the command part of the code.
      How sensitive is the code to case? And should it all be one long string or are there any CR's (looks like there is one).

      /Thomas

      posted in General Discussion
      thomas204
      thomas204
    • RE: Controlling Sonos using HTTP requests?

      @bambi2000 Any chance you could post an example with the exact contents of (one of) your internet request settings?

      I would like to have (for a start):

      • A Flic button group 3 players, then start a specific radio station
      • Another button that ungroups if grouped and then starts playback of a different favorite on a single player
        Is that possible?

      I am sure if I could get an example of the basic "framework" needed then i should be able to tweak the commands myself

      /Thomas

      posted in General Discussion
      thomas204
      thomas204