Flic Home

    Community

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

    Posts made by ipsofact0

    • RE: Flic Hub - Http Request

      So with some pointers from Emil at Flic support, HUB works if we adopt Authorization: Basic base64. I would comment that iphone/iPad and FLIC combination seem to work either way.

      It was not obvious to me initially how to do this in the FLIC app ... so for anyone else wrestling with this ...

      • in FLIC app under your chose Hub, select the Internet Request"Hub Action"

      • add your URL which for me was http://192.168.1.nnn:80/api/sceneControl?id=nnn&action=start to run a scene on my home automation box (Fibaro HC2).

      • stick with GET http method (in my use case)

      • under the HTTP headers (Optional), set up basic authentication i.e. type "Authorization" in the Key field of the app

      • encode your "user:password" string using base64 (I used base64encode.org for online base64 encoding)

      • Prefix the encoded string with "Basic " including a trailing space

      • "Basic YWRtaW46YWRtaW4NCg==" is encoded "admin:admin" as an example. Key or paste all of this into the Value field in the FLIC app

      • Press the INSERT button on the right hand side below the key/value fields. You should then see this header line with a delete symbol (red circle white bar).

      • Press DONE to ensure all saved away

      It should work now - check your user:password encoding as first trouble shooting and/or check you HTTP verb - GET, POST depending on your target system protocols.

      Hope that helps someone else get there quicker than me.

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

      Well I have only inconsistent behaviour. I can pair flic to iphone and set up a simple HTTP via Internet Request.

      Configruation is straightforward. It is GET with http://user:pwd@192.168.1.nnn:80/api/sceneControl?id=544&action=start

      This works fine and triggers the scene on my Fibaro HC2 automation box.

      EXACTLY the same configuration to different FLIC button paired with the hub ... no repsonse, no error indication, no activity.

      Any pointers on what to try next ... at a loss on what I've missed. HUB not seeming like a market ready product to me at the moment!

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

      @chris_private @bambi2000 @florian

      I am having no luck with simple HTTP from FLIC HUB to local target - a Fibaro home automation box to start a simple scene http://xxx.xxx.xxx.xxx:80/api/scenes/538/action/start.

      There is no indication of the failure point - do we have access to any logs or more detail on the hub? The level of documentation for this is pretty appalling - point me at something if I have missed it please!

      posted in Flic Hub
      ipsofact0
      ipsofact0