Skip to content

Instantly share code, notes, and snippets.

@thanksmister
Last active October 8, 2018 18:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thanksmister/5ccd1c0ef94c510cf81051a1d6e02c3b to your computer and use it in GitHub Desktop.
Save thanksmister/5ccd1c0ef94c510cf81051a1d6e02c3b to your computer and use it in GitHub Desktop.
Snips Raspberry Pi Setup to talk with HA using intents (not as satellite).
# /etc/mosquitto/conf.d/mosquitto.conf
# Bridge to HA
connection snips-ha
# bridge_cafile /etc/mosquitto/
bridge_insecure true
address 192.168.86.228:1883
cleansession false
clientid snips
start_type automatic
#username _your user_
#password _your password_
notifications false
try_private true
topic hermes/dialogueManager/# in
topic hermes/asr/# in
topic hermes/hotword/# out
topic hermes/intent/# out
topic hermes/asr/# out
topic hermes/hotword/# out
topic hermes/nlu/# out
#/etc/snips.toml
[snips-common]
# bus = "mqtt"
# mqtt = "192.168.86.228:1883"
# audio = ["+@mqtt"]
# assistant = "/usr/share/snips/assistant"
# user_dir = "/var/lib/snips"
## MQTT authentication
# mqtt_username = ""
# mqtt_password = ""
## MQTT TLS configuration
# mqtt_tls_hostname = ""
# mqtt_tls_disable_root_store = false
# mqtt_tls_cafile = ""
# mqtt_tls_capath = ""
# mqtt_tls_client_cert = ""
# mqtt_tls_client_key = ""
[snips-analytics]
[snips-asr]
# no_fst_map = true
# beam_size = 8
# model = "/usr/share/snips/asr"
# audio = ["+@mqtt"]
[snips-asr-google]
# credentials = "/usr/share/snips/googlecredentials.json"
# audio = ["+@mqtt"]
[snips-audio-server]
# frame = 256
# bind = "default@mqtt"
# mike = "Built-in Microphone"
# disable_playback = false
[snips-dialogue]
# resources = "/usr/share/snips/dialogue"
# session_timeout = 15
# lambda_timeout = 5
# retry_count = 3
# sound_feedback_enabled_default = true
[snips-hotword]
model = "/etc/snips/personal_2018_08_26T14_54_43=0.5"
# hotword_id = "default"
# sensitivity = "0.5"
# audio = ["+@mqtt"]
[snips-nlu]
[snips-tts]
## Choose one tts provider (defaults to picotts)
# provider = "picotts"
# provider = "makerstts"
# provider = "customtts"
## customtts specific configuration (here configured to use picotts)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment