I have created a TCP Client in Python that responds to button clicks from the Flic Hub. My idea was to create an Integration to HomeAssistant, but I haven't had the time to finish it. So I wanted to share the python tcp client for other people to use and improve.
Pull requests and feedback is appriciated :)
You can find the repository here
As with so many technical requests your question isn't really clear enough as to what the problem is. It looks like you're using Postman to generate the code and wanting to post a multipart form. I can only point you to
You have my sympathies, curl is not the easiest to understand and API documentation rarely makes it easy to understand exactly what's necessary.
Ok, I assume that channel.auto_disconnect_time unit is seconds.
But I think that I eventually found out what was draining the batteries, in the python scan wizard exemple in the is_private case, the scanner is never removed. I suspect this forces all the buttons to stay active if no-one press on the foreign button for 7 sec. Since I fixed that with a timeout, batteries are felling much better :-)
@JoeJoe unfortunately not. We have HID on iOS but it didn't work out well on Android due to a huge amount of bugs in the Android Bluetooth stack. Also the onscreen keyboard is hidden when a HID device is connected which is quite bad for the user experience.
If you cannot record the audio on your device, please check the microphone and the sound settings firstly. Then, try another audio recorder app. When you tend to record the audio on your computer, you should find the app, like FonePaw Screen Recorder, supporting microphone and system sound.