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
Capture specific part of speech to a variable in a Flow?
Does anyone know if it is possible to capture a specific part of speech input / recognition string to a variable. For example, if I want to write a flow a music app that goes something like:
When: You said anything
And: <text> contains "play"
And : <text> contains "playlist {playlistName} please"
Then: Start playlist {playlistName}
The user could say "OK Homey, play me playlist party tunes please" and the flow could read the playlist that was requested and take appropriate action!
When: You said anything
And: <text> contains "play"
And : <text> contains "playlist {playlistName} please"
Then: Start playlist {playlistName}
The user could say "OK Homey, play me playlist party tunes please" and the flow could read the playlist that was requested and take appropriate action!
This discussion has been closed.
Comments
I wonder if it would actually be possible to write an app that could do this as its function...
If the latter, I still think it would be powerful to be able to capture sections of speech in the flow editor for when Homey doesn't have something already built in. It would mean that you could write a smaller number of flows rather than having to create one for every possible condition.
I think for what I need I can probably get around it for now but in future, it might be worth a look! Or an app! Or core changes