jarvis icon indicating copy to clipboard operation
jarvis copied to clipboard

Spoken numbers converted to integer values

Open roccodicarlo opened this issue 4 years ago • 0 comments

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

roccodicarlo avatar Apr 01 '20 01:04 roccodicarlo