Hamster
December 21, 2022, 2:21pm
1
I am working on a Flow which requires a text input from a user (input box or “speech-to-text”).
I am looking for solutions for iOS, Android and Google Assistant (I have Google Home Minis in most of my rooms).
For Android, I can make use of tasker:
Quite often I like to use my Android smartphone to directly start a Homey flow, operate a Homey device or to put data into Homey flows without using the Homey app. If you would like to do the same, then this tutorial is for you.
What will be addressed in this tutorial:
Install Tasker on your Android smartphone
Install Join on your Android smartphone
Find device ID and generate Join API key
Create Join URL
Configure Tasker and Join to react to a received message
Setup the webhook in a Homey fl…
How do you get text input from somebody?
@Hamster Ah, sorry, I was still busy with an other idea, so nevermind
Maybe this is of any use
You could use the Telegram Notifications app . It can send questions and the user’s answer is then used in the remaining part of the flow.
It works with pre-defined Q&A
https://community.homey.app/t/push-confirmation-doesnt-work-anymore/72912/18
I’m trying to use a Q with a user entered number as answer, but I didn’t get it to work yet.
Hamster
December 21, 2022, 9:25pm
3
That’s the same link I posted in my OP
If only we could make use of a Google Home voice command…
Okay, first you can consider using this, with predifined answers.
F.i. for asking a user to set the target temperature:
Telegram flow question + answers to pick, and reply from flow with the chosen value.
(You can even make the buttons persistent, so when the wrong value was picked, the user simply presses an other value, and then that value gets processed)
Up until now I can’t come up with an idea to use a Ggl voice command
Hamster
December 22, 2022, 8:44am
5
I know a way to get an answer from a user with the Telegram Notifications app!
I can create a question within the Telegram Notifications app with no answers.
I can then send that question to my user(s).
The Telegram Notifications app also has a flowcard “Message Received”, which holds the message which was entered in the chat.
I can use that answer in my next flow
1 Like
Yes, that’s the trick I was looking for
But, while I think
the flow should not respond to any message with coïncidental valid values
the entered value should be within a defined value range
the user should be informed when a invalid value has been entered
When the value must be numbers only, the returned value needs to be converted from ‘text’ type to ‘numeric’ type
I made this example flow:
1 Like
I edited the flow with a little addition