#Ask a question - with open ended result?

1 messages · Page 1 of 1 (latest)

fiery leaf
#

I have a barcode scanner I use to add things to my shopping list, but if it doesn't find anything, I'd like to ask my satellite what was it I wanted to add, and have an open ended answer back. Is this possible yet?

scenic topaz
fiery leaf
#

it doesn't appear to "stop" listening. I'm using a voip phone to do it, I wonder if thats why

pure oriole
#

doesn't it wait for x seconds of silence?

fiery leaf
#
  • action: assist_satellite.ask_question
    metadata: {}
    data:
    question: What do you want added to thie shopping list
    preannounce: true
    entity_id: assist_satellite.192_168_60_195
    response_variable: shoppingitem
    enabled: true
    - action: todoist.new_task
    data:
    project: Shopping
    content: "{{ shoppingitem }}"
    enabled: true
#

thats what I have, I presume that should do the trick?

kindred copperBOT
#

To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.

pure oriole
#

I thought that this bit implemented the timeout

fiery leaf
#

it looks like it just get stuck in "responding"

#

this has just got stuck here

#

and now, future traces won't get past this

pure oriole
#

Likely something to do with the voice input device. This works fine for me:

sequence:
  - action: assist_satellite.ask_question
    metadata: {}
    data:
      question: What do you want added to thie shopping list
      preannounce: true
      entity_id: assist_satellite.dr_voice_pe_assist_satellite
    response_variable: shoppingitem
  - action: persistent_notification.create
    data:
      message: "{{ shoppingitem.sentence }}"
alias: test_ask
description: ""