Toggle HomeKit scene?
-
Hi, I just ordered the new Apple HomeKit compatible Flic 2 buttons, including the Flic Hub.
My intended use for my Flic buttons is to toggle HomeKit scenes, i.e a first button press will switch all lights on, and a second press turn all lights off etc. I.e each press on the Flic button should "rotate/toggle" to the other HomeKit (light) scene.
I do not want to use double press or long press for the second function, I'd like one short press to just toggle the HomeKit scenes between "Home" and "Away".
While I haven't received my Flic kit yet, after lot of studies online related to HomeKit, the HomeApp, and iOS shortcuts, it appears hard to implement something as simple as toggling HomeKit scenes using a button press.
Is anyone aware of a workaround for this?
/Magnus
-
I made some progress on this issue. I deleted the single press action of the flic button from the HomeKit home app. Then I single pressed the flic button. The "non-existent" HomeKit single press action was triggered and the device was toggled from off to on.
This confirmed my suspicion that the action was running twice. It appears that the HomeKit hub was running both the deleted action and the configured action.
-
I used a HomeKit shortcut to see if my eve energy plug is on. If on, the single flic2 press turns the eve plug off. If the eve plug is off, the shortcut turns the plug on.
This worked the first day I programmed it. The second day and later, if the plug is on, it turns off and then rapidly turns back on. If the plug is off, it turns on and then rapidly turns back off.
When I test the shortcut on the phone, it runs fine. It almost seems like the shortcut is running twice in quick succession. Does anyone have any ideas as to what is not working?
-
@guy We have not updated anything regarding Homekit. Do the icons representing the buttons in the Apple Home app wobble when you press the physical Flic buttons? (if so everything is right from our side)
-
As @isolating says, this can be done in HomeKit by turning the action into a shortcut and then setting the shortcut so that if the garage door is open, set it closed, else set it open.
I had this setup working on three different flic buttons - two toggling different PCs on / off with the double click action (so single and long clicks could control the lights) and one to close / open a blind on double click. All was fine until a couple of weeks ago when they all stopped working. I know the shortcuts still work in HomeKit so assume flic has updated and broken something.
-
@magnus-0 In order to toggle HomeKit devices you need to have a HomeKit hub (Apple TV, iPad or HomePod) and be running iOS 13 on your phone or iPad to set it up. But as long as you do then all you need to to is have the flic button run a HomeKit shortcut (If X is 'on' then do scene A, Otherwise do scene B). I use such shortcuts for my lights and plugs so that a single click toggles between them. Here's a link to a detailed walkthrough link text.
Hope that helps. -
Following along to see if anyone has input. I just received mine and hoped to use one button to open and close my garage door. Currently I have it set for a regular press to open and long press to close, but I’d prefer to use a regular press for both, effectively just changing whatever state the garage door is in.