This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Closed
Ask for confirmation...I said no...now what?
JohanKuster
Member
Was playing with homey and showed it to my son. Homey asked him if he was Ruben when he entered the room. When he answers yes, Homey would greet him. He told me that it would be nice if an alarm went off when he would answer no. Simple question but not possible when using the 'Ask for confirmation'.
In short: it would be nice if you could define a group of actions that are activated when a group of conditions are met. So what I am suggesting is that you can label conditions and actions. The conditions with the same label trigger the actions that also have that label. Sounds simpel. Of course you should be able to enter 2 labels for this 'Ask for confirmation' condition.
In short: it would be nice if you could define a group of actions that are activated when a group of conditions are met. So what I am suggesting is that you can label conditions and actions. The conditions with the same label trigger the actions that also have that label. Sounds simpel. Of course you should be able to enter 2 labels for this 'Ask for confirmation' condition.
This discussion has been closed.
Comments
With the flow-scheme you could do this to meet your sons requirements:
Note: You need to disable Flow 2 and 3 before your first use.
Flow 1: when [Motion sensor triggered] then [Homey says: "Are you Ruben?"] + [Enable Flow 2] + [Enable Flow 3] + [Enable microphone]
Flow 2: when [You said "Yes"] then [Homey says: "Greetings".] + [Disable Flow 2] + [Disable Flow 3]
Flow 3: when [You said "No"] then [Homey says: "Warning. Selfdestruct in 5. 4. 3. 2. 1.".] + [Turn on Siren] + [Disable Flow 2] + [Disable Flow 3]
At Flow 3 you could change the trigger [You said "No"] to [You said anything] and put the [TEXT] variable to the "and..." column to [Logic: does not contain: "Yes]. This will allow you to trigger the "alarm" with any other answer then "yes".
To make it even better you could change "Yes" to a password
.
But anyways, it is a bit complicated with those flows, but you can do nearly everything with them. My wishes are, that they implement a better overview of flows and a grouping option, e.g. "Alarm Flows", "Entertainment Flows", "Whiteware Flows" ...
As said before, I like your idea and it is more effective, as hybrid-solution they could maybe split the "Ask for confirmation" "..then"-category into two action-sections. And it would be cool if there will be a custom "Ask"-Card where you could choose the keywords. This would simplify this a lot. But as showed above, its already possible.
E.g. If you would like to use a value of a variable there must be a variable card in the "when..." colum, because only those cards have the black boxes that you can put into other cards. At the moment you are not able to set up a flow like:
When [You said "What temperature is in the kitchen"] then [Homey Says:"It is [Variable] degrees celsius"]
Because there is no card to drag the [Variable] box from this wont work
With your idea you could put two trigger cards: [You said"..."] + [Variable: "Kitchen temperature" is set] (which has a dragable black variable box)
Thanks. Indeed that should work but it is not an 'even my mommy can do this' type of solution.
I'm gonna try this tonight. Wondering what will happen if I don't say anything ;-).
I just realised that the "Enable Microphone" is not for continue listening, it's just to activates homey microphone again once it was muted. so we need another card for this solution, which forces an "ok homey"-trigger so homey starts listening again after this flow.
We need more functionality. A Blockly kind of interface would be great like the one used by Domoticz or Zipato: https://www.zipato.com/how-it-works/rule-creator/
Flow1 : when [Motion sensor triggered] then [start Countdown1 1 sec] + [start Countdown2 10 sec]
Flow2 : when [Countdown1] and [Confirmation : "Are you Ruben?"] then ["Greetings Ruben"] + [stop Countdown2]
Flow3 : when [Countdown2] then ["warning"] + [Play a sound "Alarm.wav"]
Now I have to teach the dog and cats to say yes
We have two cats.....