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
Since I'd been having a lot of trouble getting this working, and I assume others will as well, the issue with the 10 second press to reset is the device it's currently paired to cannot be connected to it.
In my case, I have Flic buttons paired with Raspberry Pi devices. To unpair it, I had to turn off the service that was listening for Flic button presses. Once I did that, the button lit up red when clicked. This is the indication I needed so I could reset it. At that point, I was able to pair it to another device the same way as a fresh button.
@baobei Thanks. I got reply from flic team and it was replaced with new flic button. New button working perfectly.
My observation is, it can work with one app at a time. To make it work with other app, it require to forget from previous app. And couldn't find any method in SDK which can identify with which app it is workable currently.
Sorry for late reply. We are currently not considering any other release channel than Google Play due to low demand. If you don't rely on 3rd party apk sites you can probably install the app on a Google Play-enabled device and extract the apk from it.
Hi, I am having the same problem running applescripts. The Shebang is present and on the first line. The script runs outside of HaxWithFlic just fine but I get the Shebang error when using the flic.
Does anyone know how to fix this?
Any updates? Three months passed...
Example of how to publish artifact to jCenter - https://github.com/OleksandrKucherenko/binding-tc/blob/master/binder/build.gradle
Look into [ ARTIFACTS ] section of file.