DUO Behaviors
-
Hello,
I'm looking for some confirmations around a few things I've noticed while setting up some DUOs and a Hub LR.-
I've noticed that Duos setup with the Hub have different capabilities than Duos set up under my Phone. In the App, you choose between Phone or Hub before setting them up. When chatting with the Flic Hub Studio Assistant on ChatGPT, it told me that Flic 2 has the ability to use the hub as a fallback, so, as an example, a Hold command that is NOT defined on the phone, would be picked up by the Hub. However, the agent realized I was talking about the Duo, and said no, there is no fallback behavior. You can only assign a Duo to a phone OR a Hub. So, what is the truth here?
-
Since Twist for Volume is only allowed on Hub-set-up Duos, how can I control the volume of my phone via Twist? Is there a way to have the button toggle between Hub-connected and Phone-connected? That way I can control Volume, then flip it back to be media controls?
-
Various Actions-
"Change Config" - This seems like a neat action. Effectively swap between "action sets". Unfortunately, it seems like an obsolete action? Can't set it up.
"Flic Control" - What would be the purpose of this? Pause/Resume/Dis/Connect a Flic. Why?
"Delay" - When I go to use this, it warns me that the Flic will become Universal, and that settings will be written to the button itself. Does this mean I could create a "media controller" and connect it to another device I have over bluetooth? Are there only specific settings which would work in this mode? -
I'm trying to explore the use of Duo's twists. I'm watching the console in the hub through a script for displaying the "virtualDeviceUpdate" function. This only shows up for virtual devices. How can I see the messages coming in for non-virtual devices? Do I need to always have a duplicate virtual device for each device?
Thanks
-
-
@Emil said in DUO Behaviors:
on. Which actions will be performed thus depend on what actions have been set up on that receiver, to be triggered when the controller in question is pressed. So if you have a Flic Button paired to both a phone and a hub, where you have for the phone assigned an action when the button is double clicked (only), but on the hub you have set up an action to be performed when the button is held (only), then no action will be performed upon holding the button down, if the button currently has an active connection to the phone.
-
Ok, so there is no "fallback" concept. It's just based on where it's currently connected. I did a test setup for this, to confirm. When connected to the hub, it won't let you setup through pairing to the phone. So, in the hub disconnect the duo, then pair to the phone. Set up the duo. Deselect the "disconnected" on the hub version, and now they will both work, just whichever is connected takes precedence. Ex: Phone dies or turn off bluetooth, commands will go to hub now. Duo will stay connected to hub even when phone is restored bluetooth.
-
So, is it possible to control the volume of my phone via Twist (since it's only allowed when hub-connected)?
-
My questions around Flic Control and Change Config are around how to swap functionality of the same controller. So, maybe small button toggles between the controller being a volume controller vs a media controller (volume up, down, mute vs play/pause, next, prev, skip forward, skip backward, set sleep timer) note: I do understand gestures are supposed to help here, but I get really inconsistent results.
-
-
- You can pair all our controllers (Flic Button, Flic Twist, Flic Duo) to multiple receivers (Flic Hubs, phones, tablets etc.). Flic Twist can however only be connected to Flic Hubs currently. The controllers can however only have one simultaneous connection active. If there is no active connection when the button is pressed, it starts advertising and the first receiver to respond will initiate the connection. Which actions will be performed thus depend on what actions have been set up on that receiver, to be triggered when the controller in question is pressed. So if you have a Flic Button paired to both a phone and a hub, where you have for the phone assigned an action when the button is double clicked (only), but on the hub you have set up an action to be performed when the button is held (only), then no action will be performed upon holding the button down, if the button currently has an active connection to the phone.
- There is now not really a way to switch the device the button is connected to. There is also currently no way in the Flic app to make use of the "push-twist" feature. You can however use the Volume Control action to increase or decrease the volume in discrete steps.
- We have struggled to find time to implement the Change Config action with the new UI we have made. May I know in what way you find it useful or how you would like to use it? For every action, you can use the timer icon in the upper corner to select a delay between pressing the button and performing the action. The explicit "delay" action, on the other hand, is to be used in Flic Universal mode, and can be inserted between e.g. keyboard key presses to add a delay between these two presses. And yes, the purpose of Flic Universal is to configure the button as a generic keyboard/mouse/midi bluetooth device and then connect it to any other device supporting one of these protocols over bluetooth.
- With the twist feature for Flic Twist and Flic Duo, you configure which lights/speakers should be controlled. To integrate with Hub SDK, we have also added "virtual devices" which is a virtual device implemented in the Hub SDK with javascript, that can be added among physical lights/speakers to a Rotate action. Your virtual device implemented in the Hub SDK can for example send commands over a proprietary protocol to a real light when you get the
virtualDeviceUpdateevent. If your goal is to be able to get twist updates for every Flic Duo you have, then you should create a virtual device per Flic Duo and assign each to a Rotate action for the corresponding Flic Duo.