9/4/2023 0 Comments Flic hub home assistant![]() ![]() You can also do the same with the battery_status attribute, should you wish to be notified when your buttons are running low on juice. Ĭreate an automation for each button and press type combination, example: Button1 - Click, Button1 - Double Click, Button1 - Hold, etc etc, until you have all your buttons mapped out. alias: flic test trigger: platform: webhook webhookid: flictest action: service: light.turnon entityid: light. binary_sensor._buttonĮntity_id: binary_sensor._button The original Flic Hub (2018) and one Teal-colored first-generation Flic Button. Var url = " IP OF YOUR HA INSTANCE]:8123/api/webhook/-" īuttonManager.on("buttonSingleOrDoubleClickOrHold", function(obj) "įinally, to interact with your button presses or holds, you can now go and create automations based on the binary sensor state and attributes, as follows: - id: '' ![]() A variety of positions are available throughout. From here onwards, modify only what is in // main.js A Social Care Personal Assistant is employed to support an individual to live as independently as possible. In there, login and click on “Create Module” and give it a name (whichever you want), go to main.js and paste the code below. ![]() So Flic Hub has an SDK, which you can access sitting on your local network and accessing the url: Flic Hub 2 4 1.3k Log in to reply ff0000wizard, 14:17 I am trying to get the Flic button (via the hub) to work with the home assistant api via the http request but the flic hub seems to be sending the header data incorrectly making authentication fail. Also I realize there is the flicd integration, but upon testing it, I found the coverage of using the integrated BT in the RPi4 was very weak, less than half of the Flic Hub as per my testing. Using the Flic app, connect to the Hub and make sure 'Enable SDK Access' is turned on. Either plug in the Ethernet cable or configure WiFi using the Flic app. Hi, recently joined the HA hype and had some Flic buttons and a Flic Hub laying around, so I decided to come up with a solution to integrate them to Home Assistant in a, what I would call, more natural way to interact with the button presses. Power the Flic Hub using the USB port with a power adapter with at least 2A output. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |