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
    • sasha.milic

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

      3
      0
      Votes
      3
      Posts
      410
      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
      307
      Views

      No one has replied

    • brian 1

      SDK Password
      • brian 1

      2
      0
      Votes
      2
      Posts
      388
      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
      397
      Views

      oskaremilsson

      @Emil Ok, thanks for info 🙂

    • oskaremilsson

      Add yarn/npm modules
      • oskaremilsson

      2
      0
      Votes
      2
      Posts
      383
      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
      464
      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
      442
      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
      363
      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
      236
      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
      571
      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