Flic Hub LR and Home Assistant
-
Do we have any updates here? Right now we don't have the promised Matter nor the Homeassistant integration... That is really smth. why people would choose to not use Flic Buttons but something else... even the buttons are awesome.
-
Hi Steve and Johan,
do you know of this site?
https://community.home-assistant.io/t/flic-hub-sdk-web-hook-step-by-step/390655I successfully use this very simple approach with a matching automation
on Home Assistant.Good luck!
JoachimPS: Missing SDK support on the hub mini annoys me, just as the lack of Twist support in the SDK as of now. I wonder why the latter one is not just there - seems so straight forward to an outsider like me.
-
I have made a lot of updates to the Home Assistant integration. Here's some screenshots showing the entities it will add. Each button and the Hub will act as a separate devices. The click type is an attribute on a binary sensor on a button.
These entities will help you setup automations based on click type and also keep track of when it's time to change the battery, for example.
Once the js-script is added and started on the Hub and the integration is added in HomeAssistant, the Hub will automatically be discovered in Home Assistant and the buttons will be added.
@chris-3 Unfortunately I do not own a FlicTwist so I'm not able to add support for it. Maybe @Emil is able to help out here?
I wish there was a websocket or something similar already built into the Hub, that would make the integration a lot easier to add from a user perspective, at least until Matter support is released.
-
@chris-3 Our current number one priority is support for Matter. Assuming Home Assistant implements Matter bridge, that should mean the Twist will be able to control devices in Home Assistant through Matter.
-
@Emil 9 months later and still nothing to get this working easier in Home Assistant. I have just received the twists yesterday and now realise that this is completely unless having any flic products as it has three interrogations.
An easy win for Flic is integration as massive amount of your market is using this and also works around other integrations. Crazy this is not your no.1 Priority
Posted my excitement for getting the twist online, and now replying not to buy it because of poor integration...
Why has Flic committed commercial suicide? you had three years to write the code for HA.
-
@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?