EPMatt / awesome-ha-blueprints

A curated collection of automation blueprints for Home Assistant.
https://epmatt.github.io/awesome-ha-blueprints
GNU General Public License v3.0
845 stars 249 forks source link

New Controller - Flic 2 Smart Button (loop on holding) #198

Open leocaseiro opened 2 years ago

leocaseiro commented 2 years ago

Manufacturer

Flic

Model

Flic 2 Smart Button

Short Description

alternative to IKEA shortcut button

Image

https://flic.io/shop/flic-2-single-pack

Actions

[Integration]

It uses bluetooth, not zigbee, based on the flic integration

Additional Details

Useful resources

https://www.home-assistant.io/integrations/flic/

https://www.home-assistant.io/hassio/installing_third_party_addons/

Additional context

The flic integration combined with the addon works great as it is, however, I'm very interested in making the loop functionally to work on my flic while holding.

I assume it's very similar that the IKEA E1812 shortcut one.

I'm quite new to the controller -> hooks thing, and I'm fascinated by how easy it was to plug and play.

I have some flic buttons here to use as a switch light, and it would be awesome to have the looping functionality to dim the lights. Also, is it possible to loop back and forth like from 10% -> 100%, then when reaches 100%, to start going backwards 100% -> 10%?

Thank you in advance, and I apologize if I used the wrong Issue template.

EPMatt commented 2 years ago

Hi @leocaseiro,

thank you so much for your suggestion! I investigated a little bit more on this device and the Flic integration. I'd be happy to add support for this controller and integration to our collection. However, I'm afraid that this will require quite a good amount of work since we'll both have to support a new integration and a new controller. We currently have a few issues and improvements for existing Zigbee-based controllers which we should tackle first. Once we're done with that, we'll then look at adding support for new integrations - including Flic. :)

I have some flic buttons here to use as a switch light, and it would be awesome to have the looping functionality to dim the lights. Also, is it possible to loop back and forth like from 10% -> 100%, then when reaches 100%, to start going backwards 100% -> 10%?

+1 on this. I'd like to add the same feature to the IKEA E1812 as well, so this is definitely something which we'll take a look at.

I'll notify you as soon as I'll start looking into your feature request. Thank you again!

leocaseiro commented 2 years ago

Thank you so much for all those amazing blueprints, for your quick reply, and for looking after this integration.

I'm using your blueprints on pretty much all my devices. All my switches are IKEA, and they control WiFi Tuya light bulbs, some are single color, some only color temperature, and colors. And those blueprints are just too AWESOME!

I'm also integrating some extra functionalities with the double clicks, such as "find my phone". Pretty cool!