Keine Beschreibung

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

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)