Skip to content

Instantly share code, notes, and snippets.

@putnik
Last active October 8, 2023 13:45
Show Gist options
  • Save putnik/26d8a8ad70cd428bb79bbe0c25811bfe to your computer and use it in GitHub Desktop.
Save putnik/26d8a8ad70cd428bb79bbe0c25811bfe to your computer and use it in GitHub Desktop.
OpenVoiceOS Russian config
# Configure RPi
sudo /sbin/iwconfig wlan0 power off
sudo sed -i 's/^exit 0/\/sbin\/iwconfig wlan0 power off\n\nexit 0/g' /etc/rc.local
# Install Docker
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh ./get-docker.sh
sudo usermod -aG docker $USER
newgrp docker
# Prepare ovos-docker
sudo apt-get install git
git clone https://github.com/OpenVoiceOS/ovos-docker.git -b dev
mkdir -p ~/ovos/{config,share,tmp} ~/hivemind/{config,share}
chown ${USER}:${USER} -R ~/ovos ~/hivemind
cd ~/ovos-docker/compose
# Configure ovos-docker
cp .env-raspberrypi .env
curl https://gist.githubusercontent.com/putnik/26d8a8ad70cd428bb79bbe0c25811bfe/raw/mycroft.conf --output ~/ovos/config/mycroft.conf
echo "espeak_phonemizer\ngit+https://github.com/OpenVoiceOS/ovos-tts-plugin-piper.git@dev" > ~/ovos/config/audio.list
# Run docker containers
sudo service docker start
docker compose --project-name ovos --file docker-compose.yml --file docker-compose.raspberrypi.yml --file docker-compose.skills.yml up --detach
{
"debug": true,
"log_level": "DEBUG",
"listener": {
"wake_word": "marvin",
"microphone": {
"module": "ovos-microphone-plugin-alsa"
},
"device": "hw:3,0"
},
"hotwords": {
"marvin": {
"module": "ovos-ww-plugin-precise-lite",
"listen": true,
"active": true,
"sound": "snd/start_listening.wav",
"model": "https://github.com/putnik/OpenVoiceOS-russian/blob/main/marvin.tflite"
}
},
"play_wav_cmdline": "aplay %1",
"lang": "ru-ru",
"stt": {
"module": "ovos-stt-plugin-vosk",
"ovos-stt-plugin-vosk": {
"model": "https://alphacephei.com/vosk/models/vosk-model-small-ru-0.22.zip"
}
},
"tts": {
"module": "ovos-tts-plugin-piper",
"ovos-tts-plugin-piper": {
"model": "irina-medium"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment