Skip to content

Commit

Permalink
Spelled wakeword wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
synesthesiam committed Jan 14, 2019
1 parent c69c43e commit d2877a1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion snowboy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Snowboy Wake Listener
=========================

Small service that listens for a wake word with [snowboy](https://snowboy.kitt.ai).
Audio data is streamed in from [Rhasspy](https://github.com/synesthesiam/rhasspy-hassio-addon) via [nanomsg](https://nanomsg.org).
Audio data is streamed in from [Rhasspy](https://github.com/synesthesiam/rhasspy-hassio-addon) via [MQTT](http://mqtt.org/).


Building
Expand Down
9 changes: 4 additions & 5 deletions snowboy/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,16 @@
"12102/tcp": 12102
},
"schema": {
"model": "str",
"sensitivity": "float",
"audio_gain": "float",
"pub_address": "str",
"host": "str",
"port": "int",
"username": "str",
"password": "str",
"reconnect": "float",
"site_id": "str",
"wakeword_id": "str",
"reconnect": "float"
"model": "str",
"sensitivity": "float",
"audio_gain": "float"
},
"webui": "http://[HOST]:[PORT:12102]/"
}
2 changes: 1 addition & 1 deletion snowboy/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def on_connect(client, userdata, flags, rc):
client.subscribe('hermes/hotword/toggleOff')
logging.debug('Connected to %s:%s' % (args.host, args.port))

first_frame = False
first_frame = True
listening = True
def on_message(client, userdata, message):
nonlocal first_frame, listening
Expand Down
2 changes: 1 addition & 1 deletion snowboy/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ username="$(jq --raw-output '.username' $CONFIG_PATH)"
password="$(jq --raw-output '.password' $CONFIG_PATH)"
reconnect="$(jq --raw-output '.reconnect' $CONFIG_PATH)"
site_id="$(jq --raw-output '.site_id' $CONFIG_PATH)"
wakeworkd_id="$(jq --raw-output '.wakeword_id' $CONFIG_PATH)"
wakeword_id="$(jq --raw-output '.wakeword_id' $CONFIG_PATH)"
model="$(jq --raw-output '.model' $CONFIG_PATH)"
sensitivity="$(jq --raw-output '.sensitivity' $CONFIG_PATH)"
audio_gain="$(jq --raw-output '.audio_gain' $CONFIG_PATH)"
Expand Down

0 comments on commit d2877a1

Please sign in to comment.