• Popular
  • Users
  • Login
Flic Home

Community

  • Login
  • Search
  • Popular
  • Users

Flic Twist - SDK Support

General Discussion
9
9
2.7k
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 25 Oct 2023, 06:47

    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 25 Oct 2023, 08:00 Reply Quote 4
    • Referenced by  sgemmen sgemmen 12 Apr 2024, 15:45
    • sgemmen
      sgemmen last edited by 13 Jan 2024, 16:38

      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
      • 21 days earlier
      • dustingtorres
        dustingtorres last edited by 23 Dec 2023, 19:33

        @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 23 Dec 2023, 06:12

          @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
          • 12 days earlier
          • timlogan475
            timlogan475 @Emil last edited by 10 Dec 2023, 20:20

            @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 4 Dec 2023, 01:48

              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
              • 16 days earlier
              • ingo
                ingo @Emil last edited by 18 Nov 2023, 13:18

                @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 18 Nov 2023, 01:30

                  @Emil
                  when?

                  1 Reply Last reply Reply Quote 1
                  • 24 days earlier
                  • Emil
                    Emil FlicTeam @flicflop last edited by 25 Oct 2023, 08:00

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

                    3gillespie ingo timlogan475 ankitajaykapur 4 Replies Last reply 23 Dec 2023, 06:12 Reply Quote 1
                    9 out of 9
                    • First post
                      9/9
                      Last post