Skip to content

Commit

Permalink
getting the satellite back on track
Browse files Browse the repository at this point in the history
- not yet detecting end of speech or timeout (VAD on wrong broker?)
  • Loading branch information
philipp2310 committed Apr 13, 2022
1 parent be572d0 commit c90a675
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/voice/model/SnipsWakeword.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ def onStop(self):

def onStart(self):
super().onStart()
cmd = f'snips-hotword --assistant {self.Commons.rootDir()}/assistant --mqtt {self.ConfigManager.getAliceConfigByName("mqttHost")}:{self.ConfigManager.getAliceConfigByName("mqttPort")}'
#removed mqtt -> configs mqtt is main device - wakeword should only listen to local!
#cmd = f'snips-hotword --assistant {self.Commons.rootDir()}/assistant --mqtt {self.ConfigManager.getAliceConfigByName("mqttHost")}:{self.ConfigManager.getAliceConfigByName("mqttPort")}'
cmd = f'snips-hotword --assistant {self.Commons.rootDir()}/assistant'

if self.ConfigManager.getAliceConfigByName('monoWakewordEngine'):
cmd += ' --audio +@mqtt'
Expand Down

0 comments on commit c90a675

Please sign in to comment.