Issue to start flicd on hass.io

  1. Take the Adress:
    https://github.com/pschmitt/hassio-addons

2.) Integrate it in your Addons:

3.) Install first the Bluethooth Addon:
grafik

4.) Install the flicd Addon:
grafik

  1. Start the Addon:
    grafik

6.) Restart the Host and look at the flicd-Log

7.) Press the Flic Button for connect

4 Likes

Thanks @Schmidij_ch ! Finally switched to hassio now.

For people who want to add button to a new install: once the addon is running, keep pressing the flic button to make it connect to another ‘server’.

1 Like

Ok, I installed both the addons above and they report to have started. This is my flicd log:
Available HCI devices found:
hci0
Trying hci0
Successfully bound HCI socket
Flic server is now up and running!
Initialization of Bluetooth controller done!

So, how do I get my flic button recognized by the system and how can I find and use the sensor in Home Assistant?

Edit: I got it to work after adding:
binary_sensor:
template: flic
to my configuration.yaml

Is this correct ?
template:flic

Don’t you mean: plateform ?

I put it under binary_sensor, like this:

binary_sensor:
  platform: flic
1 Like

Hi! Have anyone tried this with the new “single press buttons” https://flic.io/product/, i.e. music, lights etc. Would be nice as they are cheeper and better looking in my opinion :D.

I am running the latest version of hass.io on a RPi 3 and my flic buttons have both stopped working recently. It is such a long time since I set them up, so I can’t remember what I did. I am using the flicd addon and also have the platform enabled under binary_sensors.

Both buttons only blink red when pressed. I have restarted both the bluetooth bcm43xx addon and the flicd addon and get the following logs:

bcm43xx_init
Flash firmware /lib/firmware/brcm/BCM43430A1.hcd
Set Controller UART speed to 921600 bit/s
Device setup complete

Available HCI devices found:
hci0
Trying hci0
hci0 is busy, shutting down and retrying...
Successfully bound HCI socket
Flic server is now up and running!
Initialization of Bluetooth controller done!

What could be wrong here?

After another reboot of hass.io one of the buttons work again. The other one (with a lamp icon on it) still doesn’t work.

Sorry to crosspost (found two similar topics, this one was the latest updated)

Anyone able to chip in?

I cannot get my flic buttons to pair no matter how many times I restart the add-on or hassio, nor however long or many times I press them. What is the solution?

Is everything working on the Flic server side?
I’m also having some troubles again. Was looking around if there is an alternative to the server that Flic created, but didn’t find anything. Did notice there’s a recent rewrite of the server, so I’ll be trying that next week. Maybe the Flic integration on HA side needs some love/work.

I agree that the integration may need to be looked at but have no idea how to make that happen. The buttons work fine through Alexa, I just can’t get HA to discover them.

Have you checked HA logs?
Mine “stopped” working for 2 reasons. Battery of flic was dead AND the IP number of the raspberry pi zero where the flic server was running on had changed. Replacing battery and updating IP number in YAML and I’ve got it working again.
image

I might give it a try to have the Flic integration configured via UI. Never done any real coding in home assistant though.

Some background of how I think flic works:
You have a server running (standalone, or HA addon) that connects with the buttons.
Multiple clients can connect to the server, i.e. Alexa, Home Assistant integration, the simpleclient that comes with the source code
When server reboots, I presume HA integration won’t reconnect automatically, that’s why I sometimes need to restart HA (no option to restart only an integration AFAIK)

The buttons are brand new so not a battery issue. There is nothing I the logs because the buttons have never connected. I can see that the add-on is loaded and working, but that’s where it stops.

Should the host IP be the same as my hassio?

Assuming you’re using HA Addon, you should find the hostname on the add on page.
Just to be sure: you need to press the flic button for 7 to 10 seconds for discovery.
Are these flic 1 or flic 2 buttons? Current integration might only support flic 1. Not sure about that.

edit: localhost host might work, I think you should see something in the logs

Wondering if I can get some advice. The add-on logs look ok:
image

But the service appears stopped and nothing happens when i click start:

Any advice? Uninstalled and reinstalled several times. Can’t get any flic_click events heard.

Thanks

I am having the same issue. I don’t have a hub but installed the flicd addon - installed fine but will not ‘START’ - any update on this?

6 Brand new Flics waiting to be added and I can’t add any of them.

I migrated to Philips Hue buttons, I’m afraid. Couldn’t get flicd working.

Just had a thought on the Flic integration. I run HA on a RPI4 which should have Bluetooth built in, never actually used it, I just wondered if perhaps for some reason the Bluetooth on the Pi isn’t operating or isn’t working / switched on which is causing the issue with some of us trying to connect Flic buttons?

This is just an uneducated guess, so I may be way off here, but I just cannot get these buttons to pair with HA.