| Readme.md | ||
Update and upgrade the system
sudo dnf update && sudo dnf upgrade
Install Python, PIP and Python Virtual Environment
sudo dnf install python3 python3-pip python3-virtualenv
Clone the Wyoming Satellite repository
git clone https://github.com/rhasspy/wyoming-satellite.git
Change to the new directory
cd wyoming-satellite/
Run the setup script
sudo script/setup
Go back to the home directory
cd ..
Clone the OpenWakeWord directory
git clone https://github.com/rhasspy/wyoming-openwakeword.git
Change to the new directory
cd wyoming-openwakeword
Run the setup script
sudo script/setup
Enable Pipewire - This is needed to run the microphone and speakers
sudo systemctl enable --global pipewire-pulse
Create a service file for Wyoming-Satellite
systemctl edit --user --force --full wyoming-satellite
Enter the below into the service file
Make sure you change the service, correcting for your user directory as well as the Satellite name
[Unit]
Description=Enhanced Wyoming Satellite
Wants=network-online.target
After=network-online.target
Requires=wyoming-openwakeword.service
[Service]
Type=simple
ExecStart=/home/crashmedia/wyoming-satellite/script/run \
--name 'Kitchen Satellite' \
--uri 'tcp://0.0.0.0:10700' \
--mic-command 'arecord -D plughw:CARD=PCH,DEV=0 -r 16000 -c 1 -f S16_LE -t raw' \
--snd-command 'aplay -D plughw:CARD=PCH,DEV=0 -r 22050 -c 1 -f S16_LE -t raw' \
--wake-uri 'tcp://127.0.0.1:10400' \
--wake-word-name 'hey_jarvis' \
--awake-wav sounds/awake.wav \
--done-wav sounds/done.wav \
--timer-finished-wav sounds/timer_finished.wav
WorkingDirectory=/home/crashmedia/wyoming-satellite
Restart=always
RestartSec=1
[Install]
WantedBy=multi-user.target
Enable the Wyoming-Satellite service
systemctl enable --now --user wyoming-satellite
Create the OpenWakeWord service
systemctl edit --user --force --full wyoming-openwakeword
Enter the below into the service file
Make sure you change the service, correcting for your user directory
[Unit]
Description=Wyoming OpenWakeWord server
After=network.target
[Service]
Type=simple
ExecStart=/home/crashmedia/wyoming-openwakeword/script/run --uri tcp://127.0.0.1:10400/ --preload-model 'hey_jarvis' --threshold 0.8
[Install]
WantedBy=default.target
Enable the OpenWakeWord Service
systemctl enable --now --user wyoming-openwakeword
In order to check the status of the service use the below command
Wyoming-Satellite
systemctl --user status wyoming-satellite.service
OpenWakeWord
systemctl --user status wyoming-openwakeword.service