Няма описание

Martin 6339efc874 expanded install instructions преди 6 години
.vscode 307f0ca9f8 pythonpath преди 10 години
hass c49a6f328d switch lights-on condition from time to sun.elevation преди 6 години
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 6339efc874 expanded install instructions преди 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)