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
    • johan.nanzen

      Python TCP Client
      • johan.nanzen

      3
      1
      Votes
      3
      Posts
      1752
      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
      827
      Views

      No one has replied

    • sven_flic_io

      Play audio via SDK
      • sven_flic_io

      1
      1
      Votes
      1
      Posts
      706
      Views

      No one has replied

    • thomas 0

      Get hub name & button name refresh
      • thomas 0

      1
      1
      Votes
      1
      Posts
      797
      Views

      No one has replied

    • thomas 0

      HTTPS gives error
      • thomas 0

      8
      0
      Votes
      8
      Posts
      2724
      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
      2069
      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
      1307
      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
      1841
      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.

    • patrick.nestler

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

      1
      0
      Votes
      1
      Posts
      666
      Views

      No one has replied

    • brian 1

      SDK Password
      • brian 1

      2
      0
      Votes
      2
      Posts
      1132
      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.

    • oskaremilsson

      Promises instead of Callbacks?
      • oskaremilsson

      3
      0
      Votes
      3
      Posts
      1428
      Views

      oskaremilsson

      @Emil Ok, thanks for info 🙂

    • oskaremilsson

      Add yarn/npm modules
      • oskaremilsson

      2
      0
      Votes
      2
      Posts
      1159
      Views

      Emil

      Our runtime is not 100% compatible with node.js and you can't directly install npm modules. However you could try copy-paste the source code into our IDE and maybe it will work.

    • sebastian_felix

      Select FlicHub Module in the App for Button-Action
      • sebastian_felix

      2
      0
      Votes
      2
      Posts
      1011
      Views

      oskar

      Hi!

      This is an interesting koncept which we have elaborated on internally. I can't say much more about this at this time though 🙂

    • Roaders

      No docs on how to run a module
      • Roaders

      3
      0
      Votes
      3
      Posts
      1435
      Views

      oskar

      Hi!

      I agree that it is not super clear, but if you check the "Restart after crash", it will also restart after reboot!

    • oskaremilsson

      Hub SDK IR Module not playing
      • oskaremilsson

      4
      0
      Votes
      4
      Posts
      1539
      Views

      oskaremilsson

      @Emil
      Did the record part work all the time, while the playing part failed all the time? Yes.

      Are you using the 1st hub generation or the 2nd (Hub LR)? 2nd.

      But my bet is that I might have sent in some bad Array while testing that made the IR-queue never emptying/play never ending? Maybe.

    • XattSPT

      Buffer error
      • XattSPT

      2
      0
      Votes
      2
      Posts
      1009
      Views

      Emil

      Please add the following line at the top of your file:

      Buffer.from = function(v) {return new Buffer(v)};

      I think that should work.

    • xAPPO

      UDP Broadcast address problem
      • xAPPO

      3
      0
      Votes
      3
      Posts
      2595
      Views

      xAPPO

      Thanks and apologies Emil - you have no idea how many times I read the API details - and missed that aspect. Working now.

      Great job with this API - just another vote for MQTT client support in the future