Two questions:
- Is there a way to get only 1 satellite/site to activate? I have seen something about not letting the hub run STT within seconds of each other, but not sure how to implement. Open to alternatives
- Is there a good guide on MQTT and Rhasspy with multiple SiteID? I am having trouble sending commands to adjust the volume of the system to everything. Seems simple, but I am stumped.
My setup:
- (1) Raspberry Pi 4 w/dockers for HASS, rhasspy, MQTT
- (2 for now, 3rd to come online soon) Raspberry Pi Zero w/Adafruit Voice Bonnet and speakers in a 3D printed case running Rhasspy
- Everything up to date to release
- Porcupine for wake
- Same wake word on both Zeros (will get to this)
Zero/Satellite
{
"dialogue": {
"volume": "1"
},
"intent": {
"remote": {
"url": "http://192.168.1.104:12101/api/text-to-intent"
},
"satellite_site_ids": "living",
"system": "hermes"
},
"microphone": {
"pyaudio": {
"device": "0",
"udp_audio_port": "12202"
},
"system": "pyaudio"
},
"mqtt": {
"enabled": "true",
"host": "192.168.1.104",
"site_id": "living"
},
"sounds": {
"aplay": {
"device": "sysdefault:CARD=seeed2micvoicec",
"volume": "0.6"
},
"system": "aplay"
},
"speech_to_text": {
"remote": {
"url": "http://192.168.1.104:12101/api/speech-to-text"
},
"satellite_site_ids": "living",
"system": "hermes"
},
"text_to_speech": {
"remote": {
"url": "http://192.168.1.104:12101/api/text-to-speech"
},
"satellite_site_ids": "living",
"system": "hermes"
},
"wake": {
"porcupine": {
"keyword_path": "hey google_raspberry-pi.ppn",
"sensitivity": "0.85",
"udp_audio": "12202"
},
"satellite_site_ids": "living",
"system": "porcupine"
}
}
Pi 4 / brains / hub
{
"command": {
"webrtcvad": {
"before_sec": "2",
"max_current_energy_ratio_threshold": "2",
"silence_sec": "0.5",
"speech_sec": "0",
"vad_mode": "2"
}
},
"dialogue": {
"satellite_site_ids": "living,bed",
"system": "rhasspy"
},
"handle": {
"remote": {
"url": "192.168.1.104"
},
"satellite_site_ids": "living,bed",
"system": "hass"
},
"home_assistant": {
"access_token": "passwd",
"handle_type": "event",
"url": "http://172.17.0.1:8123"
},
"intent": {
"satellite_site_ids": "living,bed",
"system": "fsticuffs"
},
"microphone": {
"arecord": {
"device": "default:CARD=Device"
},
"pyaudio": {
"device": "1"
}
},
"mqtt": {
"enabled": "true",
"host": "192.168.1.104",
"site_id": "master"
},
"sounds": {
"aplay": {
"volume": "5"
}
},
"speech_to_text": {
"deepspeech": {
"min_confidence": "0.5"
},
"kaldi": {
"min_confidence": ".85"
},
"satellite_site_ids": "living,bed",
"system": "kaldi"
},
"text_to_speech": {
"larynx": {
"default_voice": "cmu_lnh",
"vocoder": "vctk_small"
},
"satellite_site_ids": "living,bed",
"system": "nanotts"
},
"wake": {
"porcupine": {
"keyword_path": "jarvis_raspberry-pi.ppn",
"sensitivity": ".7"
},
"snowboy": {
"model": "jarvis.umdl"
}
}
}