greghesp/assistant-relay

Responses are "alright, broadcasting now" most of the time

cozyGalvinism opened this issue · 1 comments

Describe the bug
When trying to turn a device on or off, the assistant almost always responds with "alright, broadcasting now" or "okay, broadcasting now" despite the broadcast parameter being set to false. Checking "My Activity" reveals that only the word "broadcast" is sent.

To Reproduce

  1. Go into the sandbox of AR
  2. Enter your username
  3. Set the command to "turn on [device]"
  4. Click "Submit"
  5. Assistant Relay returns said message

Expected behavior
My device turning on/off.

Screenshots
image

Desktop (please complete the following information):

  • Server: Ubuntu 20.04.1 LTS
  • Desktop: Windows 10 Pro
  • Chrome 88.0.4324.190
  • AR Version 3.2.0
  • Running in a Docker container

Additional context
Link to the audio file

AR has worked fine previously, so I don't understand what changed. Interesting to note is, that the first interaction after a restart works (so my device turns off/on a single time), interactions afterwards yield the "broadcast" message.

This also happens when sending a POST request to [MY AR URL]/assistant with the following payload:

{
    "user": "myuser",
    "command": "schalte laptop aus",
    "converse": true,
    "broadcast": false
}

It's the converse, my bad