Nice! It took me some time to get going with it, but I managed to create a script to control my Yamaha receiver volume & playback status using the Flic Twist and the Hub Studio.
Github: https://github.com/loosrob/Flic-Studio-Yamaha-control
Nice! It took me some time to get going with it, but I managed to create a script to control my Yamaha receiver volume & playback status using the Flic Twist and the Hub Studio.
Github: https://github.com/loosrob/Flic-Studio-Yamaha-control
I think an easier "selector" mode on the Flic Twist would be useful.
My idea is that the rotation action (without pushing the button) could be the selector: the light would indicate which angle has been selected, and the angle where the rotation is stopped would indicate which action you want to execute.
E.g. rotating right one step: action one; rotating right two steps: action two; ... rotating left would just go through the actions in reverse order.
In combination with push+twist (for volume control), this would enable a lot of easy interactions with my home entertainment system (rotate right one step: next song; rotate left one step; previous song; rotate right two steps: source one; rotate right three steps: source two; other actions could be the selection of lighting scenes, ...)
Ideally these actions would also be available in the SDK.
Agreed.
While waiting for full SDK implementation for the Flic Twist, it would be very useful to be able to send internet requests when turning left / right.
This could be useful for e.g. volume control of non supported speakers / amplifiers.
It would be even more useful if the number of ticks would be a parameter for the internet request (e.g. 1 tick rightward turn: volume +1; 5 ticks rightward turn: volume +5).
Push & twist could then be another internet request, such as next / previous item in playlist, ...
The alternative suggested above: one tick for internet request one, two ticks for internet request two, ... would also be interesting (and would also support the use case for volume that I set out above).
Thanks in advance for considering this!
Agreed, most functions of the Twist should be supported by the Hub, as I'm using many devices that aren't supported by Flic out of the box, but I'm using them e.g. via API
Hi all,
I posted some simple SDK scripts that may be of use to some of you:
https://github.com/loosrob/Flic-Hub-SDK-scripts
Right now, the following example scripts have been added, but more may follow:
Best,
Rob
@Emil Cool, thanks for this functionality!
Do I see correctly that it's only possible to read (via a script) which buttons are clicked, and then execute actions accordingly?
Or will it also be possible to create scripts that don't wait for buttons to be pressed, but that can be triggered by adding the corresponding action to a button click via the config app?
Thanks!
This would be really useful on the hub, and would make life so much easier - which is exactly the aim of the flic buttons Do you already have plans to add this?