Flic Home

    Community

    • Login
    • Search
    • Popular
    • Users

    HTTP Request not working with Flic controlled by Hub. BUG ??

    Flic Hub
    2
    4
    1444
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ggpublic
      ggpublic last edited by ggpublic

      Hello, I'm used to controlling my home through simple HTTP requests since a long time with my Flic buttons v1 controlled by an iOS device.

      I invested in a bunch of Flic buttons v2 and 2 x Flic Hubs.

      Now my HTTP requests won't work from any flic controlled by a Hub...but the very same request will work from any Flic controlled by an iOS device or from any flic Widget.

      This is definitely not a problem of format or command since I'm using the same command line, with same HTTP request set-up: only URL, no headers. It work on the one hand, but not on the other.
      I've tried checking/unchecking the "Validate certificate(s)" option in the Hub HTTP requests set-up, no luck

      Can someone from the Flic team jump in here, as I believe I'm not the only facing this bug, it makes my flic hubs useless

      Thank you

      PS: my request is a simplet GET from http://<login>:<password>@<HC2 local IP address>/api/callAction?deviceID=XX&name=turnOn
      PS2: Tested with hubs being RJ45 hardwired, with an IP address assigned by DHCP and can access to the Internet (as per confirmed by the test in the Flic app). Also tested with Hubs connected to my LAN via wifi. Same results

      1 Reply Last reply Reply Quote 0
      • ggpublic
        ggpublic last edited by

        I woud also suggest looking at this thread : https://community.flic.io/topic/17282/flic-hub-http-request

        1 Reply Last reply Reply Quote 0
        • ggpublic
          ggpublic @Emil last edited by

          @Emil said in HTTP Request not working with Flic controlled by Hub. BUG ??:

          Hi. Please see https://community.flic.io/topic/17817/internet-request-with-user-name-and-password.

          Hi, makes sense, thanks for pointing at this. I managed to make it work.
          However, having a different behaviour of HTTP request between Flic Hub and Flic app is hard to understand. You should probably put some more effort on explaining this, since HTTP requests is the main channel used to expand Flic usage.

          Best

          1 Reply Last reply Reply Quote 0
          • Emil
            Emil FlicTeam last edited by

            Hi. Please see https://community.flic.io/topic/17817/internet-request-with-user-name-and-password.

            ggpublic 1 Reply Last reply Reply Quote 1
            • First post
              Last post