Hi,
I got a working Web UI using Flask and python flic library files. But sometimes one of the button goes Disconnected with "BondingKeysMismatch" reason, and i need to reset the flic button. Any one know why this "BondingKeysMismatch" happens ?
Hi csizijano
You need set triggerBehavior for SCLFlicButton as clickAndDoubleClickAndHold like below
button.triggerBehavior = .clickAndDoubleClickAndHold
@joel simple solution that requires the use of a raspberry pi...
Set up a Node-Red server on the pi configured to get button events. Next forward those events to a websocket listener. Now any application/site that can connect to a websocket can use the button events within your local network.
We don't have any vibrator inside the Flic. I'm not sure how wanted it is to have the Flic light up in different patterns when disconnected depending on click type...
@luis-reja Could you post the code you are using?
Basically, you should just be able to use the method on FlicManager that gets all known buttons (i.e. grabbed buttons) and then set an event listener.