Closed jonathandann closed 3 years ago
In your Rhasspy settings, do you have Home Assistant set as the intent handling system?
@synesthesiam I do, yes. My profile.json
has this entry:
"handle": {
"system": "hass"
},
@synesthesiam Sorry for the noise. My firewall was blocking the rhasspy container from talking to my home assistant container (via an nginx proxy container).
To reproduce:
mosquitto_sub -t \#
shows the intent is being posted. However the Home Assistant/api/intent/handle
API is never called.Looking at: https://github.com/rhasspy/rhasspy-server-hermes/blob/0cb3d2b4afdd4c0412de2a5e56d37d980d195e6b/templates/index.html#L391 The boolean in the above link is toggled by the "Handle" checkbox in the main web interface. The result of the "Recognize" button is to call
setIntent()
which displays the intent data returned from/api/text-to-intent
./api/text-to-intent
is implemented here: https://github.com/rhasspy/rhasspy-server-hermes/blob/a354e2062677e779a292090f850803f2ae79964b/rhasspyserver_hermes/__main__.py#L1403 which optionally toggles intent handling on or off. However the intent is never actually posted to the handler (i.e. Home Assistant) as far as I can tell.