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
    • Brooke.

      Allow insecure TLS with the HTTP Module
      • Brooke.

      7
      0
      Votes
      7
      Posts
      4603
      Views

      Overcast Labs

      @soeren I’ve published a fully functional WiiM Control module you can check out here. If there’s other stuff you want it to do, feel free to leave an issue in the GitHub repo.

      https://community.flic.io/post/22212

    • steve 4

      Virtual device missing from Twist config on iOS (same as Android bug fixed in 4.0.11)
      • steve 4

      1
      0
      Votes
      1
      Posts
      74
      Views

      No one has replied

    • Overcast Labs

      Add support for HTTP SUBSCRIBE verb
      • Overcast Labs

      6
      0
      Votes
      6
      Posts
      790
      Views

      Overcast Labs

      @Emil Here's a repo if you'd like to check it out. There's a built set of assets in the Release section.
      https://github.com/overcastlabs/flic-wiim-control

    • pico

      Flic Duo Position Detection (On the Wall vs Handheld)
      • pico

      3
      0
      Votes
      3
      Posts
      1177
      Views

      pico

      @Emil Thank you!!!

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

      19
      2
      Votes
      19
      Posts
      9809
      Views

      mullz

      @Emil I found something else when tweaking @jitmo's timeout function, but it appears to be a flic documentation issue:

      ir.cancelRecord() results in a "TypeError: not a function" message , even though the Hub SDK documentation says it's a valid method; I think the correct method is actually ir.cancel().

      (...but please, correct me if I'm wrong!)

    • Emil

      New Flic Twist features for the Hub SDK
      • Emil

      27
      3
      Votes
      27
      Posts
      18553
      Views

      nathan.scofield

      @Emil when I am on this screen

      e477bf23-7e8a-4be4-99ef-573de5cfffef-image.png

      When I tap on the virtual devices on iOS, nothing happens, there are no options, I can't delete them. I can add more however.

      I have tried tap and hold, I have swiped in all directions, quick taps. Not sure how to remove any of these and they seem to persist even after deleting the app and reinstalling. I'm sure they're stored on the hub itself. Would resetting the hub clear them? is there a way through the app to remove Virtual Devices I've previously added?

    • andreas.lorentsen

      Spotify Volume and playback control with Flic Twist
      • andreas.lorentsen

      4
      0
      Votes
      4
      Posts
      1688
      Views

      benci007

      @Emil Any updates on this being added in natively? Really reduces the usability of the twist without it - and I'd much rather have slight lag than nothing at all.

      As a non-programmer, I'd love to attempt Andreas' solution - but it's just slightly above my technical capability!

    • sgemmen

      Flic Duo SDK Support
      • sgemmen

      8
      0
      Votes
      8
      Posts
      3489
      Views

      Emil

      @sgemmen The hub firmware with Hub SDK support for Flic Duo is pushed out now (version 4.6.0). The documentation is not yet out but you can see an example event here that includes button number, orientation and gesture:

      buttonUp {"bdaddr":"90:88:a9:5b:10:62","wasQueued":false,"buttonNumber":1,"orientation":{"x":-1.530368,"y":0.109312,"z":1.952},"gesture":"right","age":0}
    • mocallins

      MQTT Client additional
      • mocallins

      1
      0
      Votes
      1
      Posts
      794
      Views

      No one has replied

    • thewall37

      Yamaha MusicCast control with FlicTwist
      • thewall37

      4
      1
      Votes
      4
      Posts
      2163
      Views

      Tutrix

      The Flic Twist was delivered today and I tested it right away.
      The MusicCast volume control works perfectly with it.
      @rob.loosx Thank you very much for the script 😉

      2.jpg

    • pico

      Crash with MQTT
      • pico

      2
      0
      Votes
      2
      Posts
      2242
      Views

      pico

      I just noticed this post https://community.flic.io/topic/18577/mqtt-issue-on-firmware-version-4-4-5 and updated Flic Hub to version 4.4.6 which appears to have solved the crash.

    • pico

      Can FlicScript Add Support for Local Timezones (with DST)
      • pico

      4
      0
      Votes
      4
      Posts
      2486
      Views

      Emil

      @pico We currently use QuickJS and it seems like that js engine does not support that Intl feature.

      We might add the feature to set time zone, it can be useful for a few other purposes as well, e.g. in timestamp header for our Internet Request action. But right now I suggest to use the workaround I suggested.

    • claes.jacobsson

      Listen for device + trigger HTTP request
      • claes.jacobsson

      12
      0
      Votes
      12
      Posts
      5504
      Views

      claes.jacobsson

      @Emil Ok, thanks!! I'll do some research 🙂

    • abboberg

      Update SDK to use the FlicTwist ?
      • abboberg

      30
      15
      Votes
      30
      Posts
      35402
      Views

      Emil

      We have just announced a beta release of some new features that allows interaction with the Flic Twist: https://community.flic.io/topic/18536/new-flic-twist-features-for-the-hub-sdk.

    • pico

      Matter writeAttribute Crashing
      • pico

      6
      0
      Votes
      6
      Posts
      3460
      Views

      Emil

      @pico The hub checks for updates automatically every 24 hours. Unfortunately there is no history on the device of updates. If there are new features for an update, we typically show those in the changelog of the Android/iOS app.

    • pico

      Flic Hub LR as MQTT Broker?
      • pico

      4
      0
      Votes
      4
      Posts
      2548
      Views

      Emil

      @pico right now that particular code only acts as a client.

    • pico

      Cross-Module Persistent Data Storage
      • pico

      3
      0
      Votes
      3
      Posts
      2249
      Views

      pico

      @Emil It would be awesome if you all could add a Global Datastore in the future! If you need any help testing, I would be happy to play with a beta version!

      The Govee lights I'm working with are an older model H7013 which are warm white dimmable string lights that support Wi-Fi and Bluetooth, but that means the integrations are pretty limited to IFTTT which can be slow, and I can't detect the current state. The LAN API is much faster and I can check the current state, which is great.

      I've looked into upgrading to newer Matter versions from Govee or anyone else but they are all more expensive than is worth it for me when what I have it working, and many newer models have more features/complexity than I really want (don't want RGB or anything, just want 2700K warm white and dimmable).

    • pico

      FlicScript Matter Examples
      • pico

      10
      0
      Votes
      10
      Posts
      5824
      Views

      pico

      PS. For anybody finding this in the future, I also tried setting the StartUpCurrentLevel attribute and that behaves the same as calling MoveToLevel with OptionsOverride set to 1 when the light is off, Matter honors it when turned back on, but Tapo does not.

    • pico

      Sleeping in FlicScript
      • pico

      3
      0
      Votes
      3
      Posts
      2302
      Views

      pico

      @Emil Thank you! This is exactly the confirmation I needed to get started with my project! It's so cool to be able to script Matter devices!

    • claudia

      Release of MQTT client
      • claudia

      5
      2
      Votes
      5
      Posts
      4548
      Views

      claudia

      @tamengua Hi! May I ask how your filetree looks like? Is the mqtt.js file at the right position? And which firmware version does it show in the HubSDK?
      You can also contact us directly over dm-support@flic.io