Flic Hub LR and Home Assistant
-
I have Home Assistant running on my Raspberry Pi 4B as the OS (not docker).
Directly underneath my RPi4 is my Flic Hub LR. Both are connected to my router via Ethernet.
Given that Home Assistant is so popular I, foolishly, believed it would be straightforward to connect the two via the Home Assistant Integrations... it isn't!
Home Assistant is asking for a "pairing code". Flic support in this forum is saying that the code is not available.
I don't have a HomePod and don't want to spend £100 on buying one, though I am an Apple user (phone, tablet, and Macbook).
Surely, there must be a simple way to be able to use my Flic Hub LR within Home Assistant... But how?
-
@johan-nanzen Thank you very much for this! I tried a couple of "Manual" integrations, but couldn't get them to work. Now I've got two buttons working with each two actions (one quick-click, and one where I hold the button down for two seconds).
I look forward to seeing it develop!
-
@Emil i would definitely agree that a direct home assistant integration would be good. Or at the very least a way to understand how to get the flics to work. is there any resource available to get Flic's to work in home assistant
-
@Emil Hi Guys,
I thought that the new Flic Twist touted Home Assistant integration?
Or was that my eyes playing tricks on me ?
All the best
Jason
-
I second that, I just bought a hub and buttons and didnt realise that there is no easy integration with flic hub and HA. My fault, but disappointing.
-
I started to make an Home Assistant Integration a while ago. You can find it here: https://github.com/JohNan/home-assistant-flichub
I never completed it completely but I think it should work partially at least.
It uses a TCP connection for communication that has to be setup on the Flic Hub. A linked repo is available in the above repo.
I also just noticed that Flic have released a MQTT client which should make it a lot easier to create an HA Integration. I might give it a shot to convert this one to using MQTT instead.
-
@stevehooper yeah we should really try to add a direct Home Assistant integration from the Flic hub someday, since it is so popular...
In the meantime, can you use the Internet Request action in our app to send a simple http request to your device running Home Assistant maybe?