Flic Home

    Community

    • Login
    • Search
    • Popular
    • Users
    1. Home
    2. bambi2000
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 10
    • Best 0
    • Controversial 0
    • Groups 0

    bambi2000

    @bambi2000

    0
    Reputation
    1212
    Profile views
    10
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    bambi2000 Unfollow Follow

    Latest posts made by bambi2000

    • Lost connection between hub and buttons

      After five years of no problems, my two Flic buttons seem to have lost connection to the hub – or the hub has lost the connection to the buttons.

      Using the app, I can connect to the hub, see the two buttons and modify what actions the shall perform. However, nothing happens when I press the my (physical) buttons.

      How can I troubleshoot this issue? I can't read the status directly from the buttons, so I have no idea what they do when I press them.

      My setup:
      Two original Flic buttons with fresh batteries
      Original Flic Hub running firmware version 4.2.11
      Flic app for iOS version 6.0.2

      posted in Flic Hub
      bambi2000
      bambi2000
    • RE: Flic Hub - Http Request

      Same experience here. Pasting all the field values into an Internet Request on af Flic controlled by my phone works perfectly, but the exact same field values pasted into a Flic controlled by the hub does not work. And there is no indication of what went wrong.
      (App version 3.1.0, hub firmware 1.2.0)

      posted in Flic Hub
      bambi2000
      bambi2000
    • RE: Controlling Sonos using HTTP requests?

      @thomas204 It's DR P1. Metadata is not needed to play the stream. I tried to use the metadata-tag to show the real name of the station rather than the file name (in this case A03H.mp3), but I didn't succeed.

      -Dennis

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

      @thomas204 I haven't tested case sensitivity, but I have got a lot of "internal server errors" too, while trying to get the commands working, so I have have just followed the examples I have come across literally. Also, in my setup the contents of the body field is one long string.

      Then following example selects a specific radio stream (the rest of the fields are identical to those in my previous post):

      Body: <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-mp3radio://live-icy.gss.dr.dk/A/A03H.mp3.m3u</CurrentURI><CurrentURIMetaData /></u:SetAVTransportURI></s:Body></s:Envelope>

      -Dennis

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

      @thomas204 Sure, I havn't tried to group or ungroup players using requests, but here is the request that selects Line-In as input:

      URL: http://192.168.172.67:1400/MediaRenderer/AVTransport/Control

      Method: POST

      Body: <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-stream:RINCON_000E5887151E01400</CurrentURI><CurrentURIMetaData /></u:SetAVTransportURI></s:Body></s:Envelope>

      Content type: text/xml

      Key: SOAPACTION

      Value: "urn:schemas-upnp-org:service:AVTransport:1#SetAVTransportURI"

      You will have to replace 192.168.172.67 with the IP address of your Sonos device, and RINCON_000E5887151E01400 with the identifier assigned to your Sonos device (I think the last part is the MAC address).

      -Dennis

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

      @anton Custom headers was implemented some time ago, and I have successfully created requests that allows me to toggle between playing from line in, the queue and radio stations -- my own preset button for Sonos! 🙂

      -Dennis

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

      @anton Thanks for the update!

      -Dennis

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

      My Sonos devices already have a button for play/pause/next, so I would like to use my Flic to select what to play, like a predefined radio station, the line-in or the queue.

      I thought I saw a post saying that custom headers for the Internet request was added recently, but apparently it isn't true. Is it in the works?

      -Dennis

      posted in General Discussion
      bambi2000
      bambi2000
    • Controlling Sonos using HTTP requests?

      You can control a Sonos device using the UPnP protocol over HTTP. Some examples can be found on:
      http://forum.universal-devices.com/topic/11739-sonos-integration/

      But how do I send these kind of commands using the Internet request action in the Flic app for IOS? What goes in the URL field and what goes in the Body field when using POST mode? And does the content of the body have to be encoded or escaped?

      If you have successfully programmed your Flic for controlling Sonos using UPnP commands, I would appreciate an example with the exact contents of your Internet request settings.

      -Dennis

      posted in General Discussion
      bambi2000
      bambi2000