Navigation

    Flic Home

    Community

    • Login
    • Search
    • Popular
    • Users
    1. Home
    2. Developers
    3. Flic Hub SDK
    Log in to post
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • Most Views
    • jonas.wallin

      Coding needed (paid task)
      • jonas.wallin

      1
      0
      Votes
      1
      Posts
      45
      Views

      No one has replied

    • Kethlak

      Red dot on SDK website
      • Kethlak

      8
      0
      Votes
      8
      Posts
      103
      Views

      Kethlak

      @emil I had it previously set up so my phone was on my guest network and so was the Flic Hub. I couldn't access the site on my computer because my computer was on a different network. So I had to change the Flic Hub to be on that network.

    • admin

      Flic Hub SDK Released!
      • admin

      8
      0
      Votes
      8
      Posts
      674
      Views

      par.stalberg

      @xappo Yeah MQTT would make the flic buttons useful again. Hope someone at flic realizes this. I have been nagging about it in every place I can find.

    • IRTCP v1.0.0 (Hub server for using IR module via HTTP)
      • oskaremilsson

      8
      2
      Votes
      8
      Posts
      414
      Views

      andreas.lorentsen

      This is awesome!
      In lack of better Javascript skills, I actually configured a Flic 2 button (through the "front door" main app interface ), just to be able to trigger the record action without a phone. Even though it worked, it felt kind of "offensive" to the code (like using a MacBook Pro as a bookend 😆 ). I guess I'll hack around with the example code just to get everything in one place 🙂

      ❤️👍🏼

    • mikaps7

      GET and POST variable
      http request • • mikaps7

      2
      0
      Votes
      2
      Posts
      85
      Views

      Emil

      @mikaps7 you execute the requests at the same time parallelly. If you want to execute the second request after the first has competed, you must initiate it in the callback of the first, or later.

    • ericjrreyes2

      "Could not connect" issues
      • ericjrreyes2

      3
      0
      Votes
      3
      Posts
      115
      Views

      ericjrreyes2

      @Emil I tried using chrome and microsoft edge. But yes the switch is on, however a red dot is still displayed when the ip address is found in the web app

    • sam

      API to Deploy to Hub
      • sam

      1
      0
      Votes
      1
      Posts
      120
      Views

      No one has replied

    • dustingtorres

      Flic Twist SDK Support
      • dustingtorres

      2
      0
      Votes
      2
      Posts
      113
      Views

      Emil

      We haven't really started working on this, but yes we will support it in some form.

    • johan.nanzen

      Python TCP Client
      • johan.nanzen

      3
      1
      Votes
      3
      Posts
      228
      Views

      mart

      This is what I ended up doing: https://community.flic.io/topic/18102/a-flexible-hub-running-on-a-pi-zero

    • indieisaconcept

      Sonos Home Theatre Control
      • indieisaconcept

      1
      1
      Votes
      1
      Posts
      200
      Views

      No one has replied

    • sven_flic_io

      Play audio via SDK
      • sven_flic_io

      1
      0
      Votes
      1
      Posts
      98
      Views

      No one has replied

    • thomas 0

      Get hub name & button name refresh
      • thomas 0

      1
      1
      Votes
      1
      Posts
      93
      Views

      No one has replied

    • thomas 0

      HTTPS gives error
      • thomas 0

      8
      0
      Votes
      8
      Posts
      158
      Views

      thomas 0

      @Emil I found the error: the .pem file on my server only had the server certificate, not the intermediate nor the root. The Flic Hub was the only client so far to throw an error because of this. I added the missing certificates and now it works just fine.

      On a related note: for people issuing self-signed certificates, you may want to add the option of switching off certificate validation (as you have in the ui).

    • abboberg

      'Could not connect' message at login FlicSDK
      • abboberg

      7
      0
      Votes
      7
      Posts
      161
      Views

      abboberg

      It works!

      The problem was

      old firmware (could not update myself) with new firmware the 'sdk-switch' in the flic-app was turned off, by default
      -> red dot in the sdk-login-screen turning sdk-switch to on
      -> green dot in the sdk-login-screen
      -> login works!

      thanks @Emil for the directions

    • sasha.milic

      Unpair buttons form Device Managed Flic HUB
      • sasha.milic

      3
      0
      Votes
      3
      Posts
      103
      Views

      Emil

      We have a method "deleteButton(bdaddr)" on the buttons module that apparently is missing in the documentation that you can use.

      If you use the FDM configuration to remove all buttons you should probably write [] in the field to specify an empty array and then check Exclusive.

    • sasha.milic

      Scan for new buttons and connect to HUB over SDK
      flic hub scan button • • sasha.milic

      3
      0
      Votes
      3
      Posts
      165
      Views

      sasha.milic

      @Emil Thanks for explanation.
      Works now...
      I also managed to figure out what JSON structure is going for MDM under point 3.
      Basically I export pairings from dev hub and if we use those buttons on managed hub I just paste "buttons pairings" json in to the field.

    • rob.loosx

      Some Hub SDK examples
      • rob.loosx

      1
      1
      Votes
      1
      Posts
      193
      Views

      No one has replied

    • patrick.nestler

      SDK: how to obtain information about the hub itself?
      • patrick.nestler

      1
      0
      Votes
      1
      Posts
      179
      Views

      No one has replied

    • brian 1

      SDK Password
      • brian 1

      2
      0
      Votes
      2
      Posts
      193
      Views

      Emil

      You use the one written on the back of the hub. If you have changed the password however it's the one you have changed to.

    • flic r

      How can I implement the MQTT protocol in the SDK?
      • flic r

      4
      2
      Votes
      4
      Posts
      345
      Views

      flic u

      I think a mqtt client would be more than enough. Preferably with TLS support.
      No need for a server