Flic Home

    Community

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

    Topics created by oskaremilsson

    • oskaremilsson

      Cant connect to hub with Fold 3
      Flic Hub • • oskaremilsson

      6
      0
      Votes
      6
      Posts
      2149
      Views

      oskaremilsson

      @oskaremilsson yup. Erm. So.. this is awkward.
      The phones BLE scanner must have gotten stuck in some bad state.
      A restart of the phone worked 🤦‍♂️

      Didn't cross my mind that the issue could be that deep into the system.
      As a dev I should've tested that as #1 though 🙃

      Thanks, and sorry! 😅

    • oskaremilsson

      Promises instead of Callbacks?
      Flic Hub SDK • • oskaremilsson

      3
      0
      Votes
      3
      Posts
      1485
      Views

      oskaremilsson

      @Emil Ok, thanks for info 🙂

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

      14
      2
      Votes
      14
      Posts
      5862
      Views

      mullz

      Hello,

      I've been trying to get this script up and running on my own Flic Hub LR (firmware v4.6.0), but I seem to be running into trouble with the datastore module; nothing appears to stay saved, or else entering one IR code overwrites ALL IR codes with with string from the most recently recorded one. When I tried to investigate what was being written to the datastore, I noticed the datastore.db file appears corrupt in some way (dB Browser for SQLite says it's unreadable/malformed). This happens in both the original "IRTCP" code @oskaremilsson posted, as well as the "ir-server" version posted by @jitmo.

      Am I missing something silly, or is there a change in the way the datastore puts/gets work in the latest firmware?

    • oskaremilsson

      Add yarn/npm modules
      Flic Hub SDK • • oskaremilsson

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

    • oskaremilsson

      Hub SDK IR Module not playing
      Flic Hub SDK • • oskaremilsson

      4
      0
      Votes
      4
      Posts
      1624
      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.