Flic Home

    Community

    • Login
    • Search
    • Popular
    • Users

    Flic Twist - SDK Support

    General Discussion
    9
    9
    1689
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • flicflop
      flicflop last edited by

      While some users are disappointed from the Twist, I could use it to control my Hue lights brightness or colour temperature.

      However for SDK integration (i.e. with the great MQTT Project https://github.com/50ButtonsEach/flic-hub-sdk-mqtt-js ) how can we pic up the rotation event ?

      In all examples, I just see subscription to buttonManager.on("buttonSingleOrDoubleClickOrHold", function(obj) { do_something(); }

      but for the Twist there must be a different event which I have not spotted in the documentation yet.

      Thanks,
      Florian.

      Emil 1 Reply Last reply Reply Quote 4
      • Referenced by  sgemmen sgemmen 
      • sgemmen
        sgemmen last edited by

        Hey @flicflop!

        I nearly have a workaround for getting the twist events on the hub. Maybe you have some thoughts on it https://community.flic.io/topic/18405/flic-twist-feature-request-advanced-position-triggers-actions

        1 Reply Last reply Reply Quote 1
        • dustingtorres
          dustingtorres last edited by

          @Emil In the meantime before we get full SDK support for twist, would your team be willing to make public the BLE protocol used and/or update your repo for Twist support:

          https://github.com/50ButtonsEach/fliclib-linux-hci

          Most of the protocol is already described in there, I would just need to know any additional opcodes for Twist and their packet definition.

          I have a lot of professional experience with BLE and would be happy to help build a client program for Twist (or update your existing client in the above repo) so some of your customers can start using it with a BLE enabled device like Home Assistant.

          1 Reply Last reply Reply Quote 1
          • ankitajaykapur
            ankitajaykapur @Emil last edited by

            @Emil Hope it's on your roadmap, I can't wait to start a project with the twist

            1 Reply Last reply Reply Quote 0
            • timlogan475
              timlogan475 @Emil last edited by

              @Emil Any updates on this? I'd love to control my Christmas lights (from Twinkly) with the Flic Twist, but I need it hooked up to Home Assistant for that, and that seems to require that I can send an http request to my Hom Assistant.. Currently I've managed to hook up the single click and double click, but not having the twist on the Flic Twist seems silly 😛

              1 Reply Last reply Reply Quote 1
              • jermainemadam
                jermainemadam last edited by

                yeah I totally agree... its essential to offer SDK integration for the twist (rotation event) as that was the primary and only reason why i supported the development of it. The device is pretty pointless if all you can do with the SDK is click. i Would love MQTT with the rotation event as well (in a perfect world) but will settle for SDK. Thank you flicteam for the (yet).... I wait in anticipation to be able to use the flic twist to its full potential in my own custom integrations.

                Flicteam: Do you have a beta release of your firmware for the hub, if so how does one contact you receive it.

                1 Reply Last reply Reply Quote 3
                • ingo
                  ingo @Emil last edited by

                  @Emil I also received my flic twist order. Unfortunately my use case also relies on the api support. When will the rotation events be supported... Thanks for any estimate.

                  1 Reply Last reply Reply Quote 1
                  • 3gillespie
                    3gillespie @Emil last edited by

                    @Emil
                    when?

                    1 Reply Last reply Reply Quote 1
                    • Emil
                      Emil FlicTeam @flicflop last edited by

                      Hi. The Hub SDK does not (yet) support the rotation event of the Flic Twist.

                      3gillespie ingo timlogan475 ankitajaykapur 4 Replies Last reply Reply Quote 1
                      • First post
                        Last post