Can the button actions be conditional based on certain events?
For example, on my car steering wheel I have a Flic that controls my music. It would be nice that if there's an incoming call, instead of being music controls there is now a different action. So, normally 1 click is switch songs, but now since there's a call coming in, one click will be answer, hold will be ignore.
This can also apply to other actions, such as location and time of day. My Flic in the morning will disable my alarm clock, but at night it will shutoff my Wemo lights.
Dominic Shooter commented
If you sign up to platform.ifttt.com (free) you are able to filter triggers and actions using JS it’s a bit limited but it would be a workaround.
IFTTT press triggers lamp
JS FILTER If time < 5
Then add another Ifttt rule that covers what to do the rest of the time.
I've requested support for Integromat, a better alternative to Zapier. If we get that support, this can easily be done in an integromat flow.
Yeah, thanks for the comment, Martin. I posted the idea over reddit too so maybe the idea would reach more people and someone told me about tasker. But I'm on IOS.. Sooooooooo, no good things for me :( Still kind of needed Flic app to do it.
Thanks for the url to your thread too, appreciated it!
Martin Spendiff commented
Tasker and IFTTT and Flic will allow this (I'm assuming android).
I've already got some pretty elaborate contextual workflows and plan to link some of these. eg. A lightswitch that has variable colour temp throughout the day. If my alarm just went off, it also turns off the alarm and then scrapes a quote from reddit/quotes and reads it outloud over the speakers in the house...
I'm about to do some work on this so I can keep you posted :)
Thank you, Rickard. I wonder how to generate a bit of buzz into this so people from Flic actually sees it.
Great! Love it!
What about a different way the Flic app would work. I know it's hard to implement changes (hw) knowing Flic is released already so changing the way the app works could be an interesting idea.
For the moment we have an app focused in the press of a button. What if Flic app worked based on different situations/triggers. For example, Flic app would store different situations like GPS localize (phone, not Flic itself), wifi name, hour/date (and also customizable dates) then we could configure Flic actions into these events instead of a specific "macro" for the 3 state button that we have.
- I want to customize my Flic to give me 15 extra minutes (set alarm clock from now more 15min) when I'm waking up every time I click its button between 8-10am.
- I want to press the Flic button between 12-14pm to send a SMS: "hello, honey, Im heading home!".
- I want to click the Flic button to turn on all my Hue Lights between 16-22pm.
- I want to click the Flic button to turn off all my Hue Lights between 22pm and 3am.
- I want everytime I hold Flic button, my August lock would lock while I am connected to a specific wifi (my wifi for example) in a specific area (home location).
- I want everytime I hold Flic button, my mom's August lock would unlock if I'm connected to her wifi.
And it goes on and on. The possibilities are quite infinite if the app would be event/trigger driven instead of the way it works right now. If possible to control a small amount of variables to add even more conditions it would be even better.
And for the people that doesn't care about this they could simply choose an option: "everyday/everywhere" option instead of customizing everything else. (:
One thing I thought of, was rather than having conditional buttons, just make it conditional configs. They could provide a list of actions, much like IFTTT. And the flic app would say, "Which config do you want to use when the phone rings?", etc.
You could even do stuff in IFTTT like, IF i connect to "this" bluetooth device, THEN load this config to my Flic.
Hmmm.....I'll recommend config loading as an action on IFTTT.
I was just about to recommend this idea, I think it's awesome.
However, I think that the second part of your thing might be eventually possible before the first. Since it's possible to store and load different configs, maybe eventually IFTTT will support that as an action, then you can just set different times of the day to swich the configs on your flic.