Нет описания

Martin 3c96c3c123 enable motion-detection lights 5 лет назад
.vscode 307f0ca9f8 pythonpath 10 лет назад
hass 3c96c3c123 enable motion-detection lights 5 лет назад
lib e6c142b0fe #21 add snowboy lib for rpi3 9 лет назад
resources d1beaef950 initial commit 10 лет назад
voice_control ad5f9b4b01 improve hotword detector test method 7 лет назад
.gitignore b189ac2494 refactor configuration structure 7 лет назад
README.md 8625cde3f4 readme instructions 7 лет назад
hass-snips-readme.txt 95a1a50fdf add doc blurb about how to reset zwave entities 6 лет назад
requirements.txt 60dac22f9b improved installation instructions 7 лет назад

README.md

Voice Control

Linux:

aptitude install alsa-base alsa-utils alsa-tools libasound-dev python-virtualenv python-pip python-dev libportaudio2 flac libatlas-base-dev libsdl1.2-dev

enable apt src url(s)

aptitude build-dep python-pygame

PortAudio:

[PortAudio is very old -- should probably not use this]
linux: http://portaudio.com/download.html, download, configure, make, make install
osx: brew install portaudio

jackd1, portaudio

add user to audio group: sudo usermod -a -G audio martin

aptitude install pulseaudio

https://unix.stackexchange.com/questions/114602/pulseaudio-sink-always-suspended http://jackaudio.org/faq/pulseaudio_and_jack.html

upgrade to buster, see if updated pulseaudio works better

set up a virtualenv, install python requirements, and link to a speech_recognition and snowboy dist folder from inside the venv python lib folder

environment variables:

  • PYTHONPATH (set to current dir)
  • GOOGLE_APPLICATION_CREDENTIALS (set to gcloud credentials path)