I kick started the new Flic 2 buttons and also got a Hub
Finally got around to trying to set one up a couple of weeks ago.
Flic button -(Bluetooth LE)-> Flic Hub -(REST API Call)-> Home Assistant -(ZWave)-> Aoetec Smart Switch 6 -> Powering a decorative light
Have been very impressed with the responsiveness. I assumed there would be a slight delay, but it feels like pushing the button almost instantaneously activates the light. I’d guess less than 100ms. To the point that I keep randomly turning it on and off just to test it and try to catch waking from a sleep state or something.
Thought it was worth mentioning.
Other thoughts;
I assumed the Hub would need to be connected to my HA device and configured there. This is not the case. It just needs power and to live somewhere in your house (it can connect via wifi or ethernet).
It’s a shame the Hub doesn’t support PoE (this would have been useful for me)
It’s a shame the Hub actions can only be configured through a phone app. It would be great if it had it’s own web UI. This would also make me more comfortable in case Flic (the company) goes under in the future. I would still be able to use these on my internal network without needing any further Flic services.
Very clean unobtrusive hardware, fits well alongside my existing light switches etc. Easy to hide under things for hidden switches.
Three functions per button (single click, double click, long press) means you don’t actually need that many of them - especially using the Toggle API call for things. I have more buttons than I can think of things to use them for.
Alexa is great for triggering things when I don’t want to move, but having a button to press when walking by or when I’m chatting with guests is a nicer experience.
Haven’t used them without the hub. But for them to work that way they connect to your phone via Bluetooth, so you’d need to be home for the buttons to work…
I didn’t need to create input booleans for the buttons, since they are just making a toggle API call.
Here is an example of the Flic config of an “Internet Request”.
I should mention these are a bit of a pain in the butt to set up since you have to use the Flic app UI through your phone. I’ve put in a feature request for them to have the Hub as a webserver for config!
I have a few Flic Buttons here and I am using it with this https://github.com/pschmitt/home-assistant-addons flicd addon.
I need no Hub and no Phone, only the Bluetooth inside the Pi of my HassOS installation.
Yes, this is correct! To pair it with the Pi you have to press it a few seconds and then you have it inside Home Assistant to use it in automations. That‘s all.
Resurrecting an old thread but I’m looking to purchase several of these flic2 buttons. I run hassio in a VM and it’s in a basement a long way from where the buttons would be deployed anyway.
Can I use my esp32s dotted around the house for Bluetooth pairing and therefore HA integration?
You need the flicd running on the device where you pair the buttons. I have a Pi Zero W for this in a central place in my house.
In Home Assistant I only have to add the IP of the Pi Zero W to let the buttons work.
Simply press them for more than seven seconds. That’s all!
I don’t know where I read this, but it was easy to find.
Then you can go to the developer tools/events and start to listen to “flic_click”. When you press the button once, twice or hold it you will get different events. You will need the “button_name” for your automation.
Like for eg. ZigBee buttons you will not get any device, you have to create an automations which fires at flic_click like here:
Thanks. That makes things a lot clearer. However. No matter how many times or how long I press, the buttons do not seem to pair because listening never gets a response.
I have the flicd running on another Pi. But that should make no difference. I don’t know if you can see the flicd.log. It should look like this (after Home Assistant is started):
cat /var/log/flicd.log
Available HCI devices found:
Trying hci0
Flic server is now up and running!
HCI socket busy, bringing down and then retrying
Successfully bound HCI socket
Initialization of Bluetooth controller done!
Accepted new client
If I click on a new button it flashes red. If I press it 7 seconds and the click it afterwards it doesn’t flash red, as it is connected.
Maybe your Bluetooth is not good, so the buttons don’t get it.
They are flic 2, just got them. I get the same message in my log up to the part that says “Accepted new client.” They are working fine through Amazon Alexa but I really want to be able to run HA routines with them.
I appreciate your help.