JarvyJ / HomeIntent

an offline voice assistant with tight integration with Home Assistant
https://homeintent.io
Other
84 stars 12 forks source link

External MQTT with internal Rhasspy instance #548

Closed alve89 closed 1 year ago

alve89 commented 1 year ago

I'm not sure if I'm right but it seems that the following does not work:

rhasspy:
  disable_audio_at_base_station: true
  externally_managed: false
  mqtt_host: rpihass
  mqtt_port: 1883
  mqtt_username: homeintent
  mqtt_password: mysecret
  shared_satellite_config:
    mqtt_host: rpihass
    mqtt_port: 1883
    mqtt_username: homeintent
    mqtt_password: mysecret

where rpihass runs all services: homeassistant, homeintent (with Rhasspy), an MQTT server, ...

So keep using the HI internal Rhasspy instance with an external MQTT broker (I'm already running Mosquitto in a separate docker container for other services) seems not to work - at least the internal Rhasspy instance wasn't configured with these values, it's still using the Internal MQTT. Can you confirm that?

I would suggest to enable the option to use an external MQTT server even when externally_managed is set to false.

JarvyJ commented 1 year ago

do you know if the docker container can resolve the hostnames correctly? There might be some custom docker networking setup to get that working. Have you tried using the IP address instead?