synesthesiam / rhasspy

Rhasspy voice assistant for offline home automation
https://rhasspy.readthedocs.io
MIT License
948 stars 101 forks source link

wakeword and site_id in json intent #85

Closed KiboOst closed 4 years ago

KiboOst commented 4 years ago

Hi,

I think we would really need a setting into Rhasspy to set the room where the device is. A siteId for example so each rhasspy device has a distinct name.

And join this siteId and a reference of wakeword id that asked.

So, talking about conversation, we can know who ask and where he is. My goal is to achieve a master/satellite configuration like with snips. Didn't know if it's doable right now, lot of things to test before, but it will allow to send the tts answer to the right device/room.

;-)

KiboOst commented 4 years ago

Just saw your commit with message.intent["siteId"] = self.site_id

Thanks for that, but where can we specify this site_id ?

synesthesiam commented 4 years ago

This should be in mqtt.site_id in your profile for now. You don't have to enable MQTT, but I figured I'd re-use the setting.