I create this thread hoping everybody will post here their questions, ideas, fix, about using flic buttons on Hass.io.
1st of all, thank you @Schmidij_ch for the component in Hass.io Very useful.
Hi.
I just installed flicd from your repository on my RPI3 Hass.io. I try to link a button, but it does not work.
I click the button. This one blink red, and I refresh flicd log, and nothing happens. I have put the following in my configuration.yaml. Bluetooth works properly because it has detected my other bluetooth devices.
# Bluetooth Tracker
device_tracker:
- platform: bluetooth_tracker
# flic button
binary_sensor:
- platform: flic
Any suggestion how to troubleshoot ?
you need first to install this addon:
after those installs (flicc & Bluethooth BCM43xx) restart the HA.
hehe. That was a bit of an easy answer
if my bluetooth devices are recognized, it means Bluetooth BCM43XX is installed
Maybe I do something wrong. Tell me:
So:
BCM43XX is installed:
starting version 3.2.1
bcm43xx_init
Patch not found for hassio, continue anyway
Set Controller UART speed to 115200 bit/s
Device setup complete
flicd is as well:
Available HCI devices found:
hci0
Trying hci0
Successfully bound HCI socket
Flic server is now up and running!
Initialization of Bluetooth controller done!
I click a new button. The logo flashes red. I refresh flicd log. Nothing happens.
Did I miss a step somewhere ?
Press the button - 7 sec
like:
“Discovery
If discovery is enabled, you can add a new button by pressing it for at least 7 seconds. The button will be paired with the flic service and added to Home Assistant. Otherwise, you have to manually pair it with the flic service. The Home Assistant platform will not scan for new buttons and will only connect to buttons already paired.”
After this “pair” where you didn’t see anyhing in the logs (becuase, i don’t know) , restart HA
Unfortunately, it didn’t work. And I don’t find an easy way to troubleshoot this.
The buttons work (I have 8 of them, three are paired with my phone, 5 are brand new, I tried a new one, and a paired one (with the 7 sec)).
I ask myself: The buttons are BLE right ? shouldn’t I put the BLE tracker in the config file ? bluetooth_le_tracker ? instead of the bluetooth_tracker ?
Can you share your config file or excerpt of it ?