jarvis
jarvis copied to clipboard
Spoken numbers converted to integer values
Description
I am try to trigger an HTTP request as part of the command to be executed, but the HTTP request includes a spoken response (*) from the command words which must ne interpreted as integer not text.
Logs
For instance, the command entry is
REMOVE|DELETE|ERASEENTRY|ITEM|MEMO () FROM PHONE* == say "ok remove item from phone list" && jv_curl "http://192.168.1.124:8080/RemoveMemo?memoTitle=Phone%20Numbers&item="+"(1)"
The result of my command (from debug) is
REMOVE ITEM TWO
The HTTP URL I want to trigger is
"http://192.168.1.124:8080/RemoveMemo?memoTitle=Phone%20Numbers&item=2"
How is this possible