Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wyoming-satellite kills wyoming-openwakeword #243

Open
Warter21 opened this issue Nov 30, 2024 · 0 comments
Open

wyoming-satellite kills wyoming-openwakeword #243

Warter21 opened this issue Nov 30, 2024 · 0 comments

Comments

@Warter21
Copy link

Both services work perfectly separately, but when I start the satellite, openwakeword is killed.

Nov 30 12:55:36 cubox-i systemd[1]: Started wyoming-openwakeword.service - Wyoming openWakeWord.
Nov 30 12:55:39 cubox-i run[3490]: INFO:root:Ready
Nov 30 12:55:39 cubox-i run[3488]: Traceback (most recent call last):
Nov 30 12:55:39 cubox-i run[3488]: File "/mnt/wyoming-openwakeword/script/run", line 12, in
Nov 30 12:55:39 cubox-i run[3488]: subprocess.check_call([context.env_exe, "-m", "wyoming_openwakeword"] + sys.argv[1:])
Nov 30 12:55:39 cubox-i run[3488]: File "/usr/local/lib/python3.9/subprocess.py", line 373, in check_call
Nov 30 12:55:39 cubox-i run[3488]: raise CalledProcessError(retcode, cmd)
Nov 30 12:55:39 cubox-i run[3488]: subprocess.CalledProcessError: Command '['/mnt/wyoming-openwakeword/.venv/bin/python3', '-m', 'wyoming_openwakeword', '--uri', 'tcp://127.0.0.1:10400']' died with <Signals.SIGILL: 4>.
Nov 30 12:55:39 cubox-i systemd[1]: wyoming-openwakeword.service: Main process exited, code=exited, status=1/FAILURE
Nov 30 12:55:39 cubox-i systemd[1]: wyoming-openwakeword.service: Failed with result 'exit-code'.
Nov 30 12:55:39 cubox-i systemd[1]: wyoming-openwakeword.service: Consumed 2.383s CPU time.

Openwakeword service:
[Unit]
Description=Wyoming openWakeWord

[Service]
Type=simple
ExecStart=/mnt/wyoming-openwakeword/script/run --uri 'tcp://127.0.0.1:10400'
WorkingDirectory=/mnt/wyoming-openwakeword
Restart=always
RestartSec=1

[Install]
WantedBy=default.target

Satellite service:
[Unit]
Description=Wyoming Satellite
Wants=network-online.target
After=network-online.target
Requires=wyoming-openwakeword.service

[Service]
Type=simple
ExecStart=/mnt/wyoming-satellite/script/run
--name 'My satellite' --uri 'tcp://0.0.0.0:10700'
--mic-command 'arecord -D plughw:CARD=Sound,DEV=0 -r 16000 -c 1 -f S16_LE -t raw'
--snd-command 'aplay -D plughw:CARD=Sound,DEV=0 -r 22050 -c 1 -f S16_LE -t raw'
--mic-auto-gain 5
--mic-noise-suppression 2
--wake-uri 'tcp://127.0.0.1:10400'
--wake-word-name 'hey_jarvis'
--awake-wav '/mnt/wyoming-satellite/sounds/awake.wav'
--done-wav '/mnt/wyoming-satellite/sounds/done.wav'
--timer-finished-wav '/mnt/wyoming-satellite/sounds/timer_finished.wav'
WorkingDirectory=/mnt/wyoming-satellite
Restart=always
RestartSec=1

[Install]
WantedBy=default.target

I welcome any ideas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant