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
    • flic 16

      Help Needed: Resolving 401 Error with HTTP Requests in Flic Hub SDK
      • flic 16

      4
      0
      Votes
      4
      Posts
      699
      Views

      Emil

      @flic-16 Can you try this base64 encode method instead:

      function base64Encode(str) { return Duktape.enc('base64', str); }
    • thewall37

      Yamaha MusicCast control with FlicTwist
      • thewall37

      1
      0
      Votes
      1
      Posts
      316
      Views

      No one has replied

    • dustingtorres

      Flic Twist SDK Support
      • dustingtorres

      3
      7
      Votes
      3
      Posts
      1115
      Views

      rob.loosx

      Hello Emil, is there any update on this? Thanks!

    • flic r

      Hub Mini without SDK - how to connect to Home Assistant?
      • flic r

      5
      1
      Votes
      5
      Posts
      946
      Views

      flic r

      @abboberg Thx, and I do know that and used it in the past. I guess I forgot about this one. So much for remembering things. Of course, this means I need to configure each and every butten separately by hand instead of using the SDK for the whole hub.

      Thx anyway!
      Joachim

    • oskar

      ✅ Open Sound Control (OSC) script for Flic Hub SDK
      • oskar

      5
      0
      Votes
      5
      Posts
      1680
      Views

      pascal 0

      @oskar I try to get the hub to communicate with Touch Designer. As I understood I need to fill in the correct IP and Port in the first line of the main.js
      Unfortunately I can't get it to work. The console tells me that the message is sent but nothing happens in Touch Designer. Any hints on that?
      All the best, Pascal

    • flameeyes

      Unable to disable certificate validation
      • flameeyes

      2
      0
      Votes
      2
      Posts
      380
      Views

      Emil

      @flameeyes Could you explain a bit how your ipv6-only hostname certificate is set up and works technically, and what CA signs it?

    • rs

      Access integrations in SDK?
      • rs

      2
      0
      Votes
      2
      Posts
      757
      Views

      jitmo

      Hey @rs, very late to the party here.

      The Flic hub does not appear to have third party integrations, although the Hue API looks pretty straightforward.

      Did you find the Hue developer docs? https://developers.meethue.com/develop/get-started-2/

      Did you have much luck/progress?

      How can I help?

    • jonas.wallin

      Coding needed (paid task)
      • jonas.wallin

      2
      0
      Votes
      2
      Posts
      691
      Views

      jitmo

      Hey @jonas-wallin, I’m very late to the party although more than happy to help (pro bono), if you still need the assist!

    • rob.loosx

      Some Hub SDK examples
      • rob.loosx

      3
      1
      Votes
      3
      Posts
      1417
      Views

      jitmo

      Hey @andy, a little late to the party here, looks like you’re trying to integrate to the old LightwaveRF Connect series.

      I have Connect series in my house and have successfully used their API, although my Flic hub simply sends button clicks to a Raspberry Pi which does the integration to LightwaveRF.

      Have you had any luck/progress on this? How can I help?

    • martinm

      HTTP.makeRequest cannot POST binary buffers
      binary buffer hub sdk http post • • martinm

      6
      0
      Votes
      6
      Posts
      865
      Views

      Emil

      @martinm When an incoming FIN packet is received from the remote endpoint, the socket is automatically properly closed unless the allowHalfOpen option is set. If that option is set, the socket is properly closed at the time when both an incoming FIN has been received and the local user has called the end method on the socket (in any order). Nothing is done at garbage collection time, so if you use the allowHalfOpen property, remember to close the socket by calling the end method. If the allowHalfOpen is not set, you can still use the end method to send your own FIN packet.

    • martinm

      "cannot push beyond allocated stack" fatal error.
      • martinm

      2
      0
      Votes
      2
      Posts
      481
      Views

      oskar

      @martinm Hi!

      Excellent bug report, thank you!

      This has been fixed in the new firmware that is currently in beta. If you want to try it out, please PM me your hub serial number and I can assign the new firmware to your hub.

    • flic r

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

      5
      2
      Votes
      5
      Posts
      1398
      Views

      claudia

      Hi, please refer to the newest topic. https://community.flic.io/topic/18233/release-of-mqtt-client?_=1674825212929
      We now provide an MQTT client. 😎

    • Kethlak

      Red dot on SDK website
      • Kethlak

      8
      0
      Votes
      8
      Posts
      1211
      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
      2225
      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.

    • mikaps7

      GET and POST variable
      http request • • mikaps7

      2
      0
      Votes
      2
      Posts
      746
      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
      622
      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
      476
      Views

      No one has replied

    • johan.nanzen

      Python TCP Client
      • johan.nanzen

      3
      1
      Votes
      3
      Posts
      1095
      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
      571
      Views

      No one has replied

    • sven_flic_io

      Play audio via SDK
      • sven_flic_io

      1
      1
      Votes
      1
      Posts
      465
      Views

      No one has replied