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

I did everything like you did in your video or in the written Post but now my HA cant connect to my satalite anymore #13

Open
ghost opened this issue Jan 24, 2024 · 8 comments

Comments

@ghost
Copy link

ghost commented Jan 24, 2024

Here is the status of my services do you have any idea what i did wrong ?
`● enhanced-wyoming-satellite.service - Wyoming Satellite
Loaded: loaded (/etc/systemd/system/enhanced-wyoming-satellite.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2024-01-24 17:24:22 CET; 191ms ago
Main PID: 4246 (python3)
Tasks: 1 (limit: 191)
CPU: 166ms
CGroup: /system.slice/enhanced-wyoming-satellite.service
└─4246 python3 /home/jonas/wyoming-satellite/script/run --name desksatelite --uri tcp://0.0.0.0:10700 --mic-command parecord --property=media.role=ph>

Jan 24 17:24:24 desksatelite run[4250]: main.py: error: unrecognized arguments:
Jan 24 17:24:24 desksatelite run[4246]: Traceback (most recent call last):
Jan 24 17:24:24 desksatelite run[4246]: File "/home/jonas/wyoming-satellite/script/run", line 12, in
Jan 24 17:24:24 desksatelite run[4246]: subprocess.check_call([context.env_exe, "-m", "wyoming_satellite"] + sys.argv[1:])
Jan 24 17:24:24 desksatelite run[4246]: File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
Jan 24 17:24:24 desksatelite run[4246]: raise CalledProcessError(retcode, cmd)
Jan 24 17:24:24 desksatelite run[4246]: subprocess.CalledProcessError: Command '['/home/jonas/wyoming-satellite/.venv/bin/python3', '-m', 'wyoming_satellite', '-->
Jan 24 17:24:24 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Main process exited, code=exited, status=1/FAILURE
Jan 24 17:24:24 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Failed with result 'exit-code'.
Jan 24 17:24:24 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Consumed 1.255s CPU time.

● wyoming-openwakeword.service - Wyoming openWakeWord
Loaded: loaded (/etc/systemd/system/wyoming-openwakeword.service; disabled; vendor preset: enabled)
Active: active (running) since Wed 2024-01-24 16:17:06 CET; 1h 7min ago
Main PID: 378 (python3)
Tasks: 7 (limit: 191)
CPU: 2.292s
CGroup: /system.slice/wyoming-openwakeword.service
├─378 python3 /home/jonas/wyoming-openwakeword/script/run --uri tcp://127.0.0.1:10400
└─472 /home/jonas/wyoming-openwakeword/.venv/bin/python3 -m wyoming_openwakeword --uri tcp://127.0.0.1:10400

Jan 24 16:17:06 desksatelite systemd[1]: Started Wyoming openWakeWord.
Jan 24 16:17:12 desksatelite run[472]: INFO:root:Ready

● 2mic_leds.service - 2Mic LEDs
Loaded: loaded (/etc/systemd/system/2mic_leds.service; disabled; vendor preset: enabled)
Active: active (running) since Wed 2024-01-24 16:17:06 CET; 1h 7min ago
Main PID: 332 (python3)
Tasks: 1 (limit: 191)
CPU: 1.189s
CGroup: /system.slice/2mic_leds.service
└─332 /home/jonas/wyoming-satellite/examples/.venv/bin/python3 2mic_service.py --uri tcp://127.0.0.1:10500

Jan 24 16:17:06 desksatelite systemd[1]: Started 2Mic LEDs.
Jan 24 16:17:10 desksatelite python3[332]: INFO:root:Ready

● pulseaudio.service - PulseAudio system server
Loaded: loaded (/etc/systemd/system/pulseaudio.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2024-01-24 16:17:10 CET; 1h 7min ago
Main PID: 345 (pulseaudio)
Tasks: 3 (limit: 191)
CPU: 1.235s
CGroup: /system.slice/pulseaudio.service
└─345 pulseaudio --daemonize=no --system --realtime --log-target=journal

Jan 24 16:17:07 desksatelite pulseaudio[345]: Home directory of user 'pulse' is not '/var/run/pulse', ignoring.
Jan 24 16:17:07 desksatelite pulseaudio[345]: OK, so you are running PA in system mode. Please make sure that you actually do want to do that.
Jan 24 16:17:07 desksatelite pulseaudio[345]: Please read http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide/ for an>
Jan 24 16:17:10 desksatelite pulseaudio[345]: Failed to find a working profile.
Jan 24 16:17:10 desksatelite pulseaudio[345]: Failed to load module "module-alsa-card" (argument: "device_id="0" name="platform-3f902000.hdmi" card_name="alsa_car>
Jan 24 16:17:10 desksatelite pulseaudio[345]: Failed to open cookie file '/var/run/pulse/.config/pulse/cookie': No such file or directory
Jan 24 16:17:10 desksatelite pulseaudio[345]: Failed to load authentication key '/var/run/pulse/.config/pulse/cookie': No such file or directory
Jan 24 16:17:10 desksatelite pulseaudio[345]: Failed to open cookie file '/var/run/pulse/.pulse-cookie': No such file or directory
Jan 24 16:17:10 desksatelite pulseaudio[345]: Failed to load authentication key '/var/run/pulse/.pulse-cookie': No such file or directory
Jan 24 16:17:10 desksatelite systemd[1]: Started PulseAudio system server.

● snapclient.service - Snapcast client
Loaded: loaded (/etc/systemd/system/snapclient.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2024-01-24 16:17:15 CET; 1h 7min ago
Docs: man:snapclient(1)
Main PID: 772 (snapclient)
Tasks: 2 (limit: 191)
CPU: 7.383s
CGroup: /system.slice/snapclient.service
└─772 /usr/bin/snapclient --logsink=system -h 192.168.178.175 --player pulse:property=media.role=music --sampleformat 44100:16:*

Jan 24 16:17:16 desksatelite snapclient[772]: outputBufferDacTime > bufferMs: 25769803 > 333
Jan 24 16:17:16 desksatelite snapclient[772]: diff to server [ms]: 9.51497e+08
Jan 24 16:17:17 desksatelite snapclient[772]: No chunks available
Jan 24 16:17:18 desksatelite snapclient[772]: No chunks available
Jan 24 16:17:19 desksatelite snapclient[772]: No chunks available
Jan 24 16:17:20 desksatelite snapclient[772]: No chunks available
Jan 24 16:17:21 desksatelite snapclient[772]: No chunks available
Jan 24 16:17:21 desksatelite snapclient[772]: No chunk received for 5000ms, disconnecting from pulse.
Jan 24 16:17:21 desksatelite snapclient[772]: Disconnecting from pulse
Jan 24 16:29:57 desksatelite snapclient[772]: Last time sync older than a minute. Clearing time buffer
`

here is also my enhanced-wyomin-satelite.service: `
[Unit]
Description=Wyoming Satellite
Wants=network-online.target
After=network-online.target
Requires=wyoming-openwakeword.service
Requires=2mic_leds.service
Requires=pulseaudio.service

[Service]
Type=simple
ExecStart=/home/jonas/wyoming-satellite/script/run
--name 'desksatelite'
--uri 'tcp://0.0.0.0:10700'
--mic-command 'parecord --property=media.role=phone --rate=16000 --channels=1 --format=s16le --raw'
--snd-command 'paplay --property=media.role=announce --rate=44100 --channels=1 --format=s16le --raw'
--snd-command-rate 44100
--mic-auto-gain 5
--mic-noise-suppression 2
--wake-uri 'tcp://127.0.0.1:10400'
--wake-word-name 'ok_nabu'
--event-uri 'tcp://127.0.0.1:10500'
--detection-command '/home/jonas/wyoming-enhancements/snapcast/scripts/awake.sh'
--tts-stop-command '/home/jonas/wyoming-enhancements/snapcast/scripts/done.sh' \

WorkingDirectory=/home/jonas/wyoming-satellite
Restart=always
RestartSec=1
[Install]
WantedBy=default.target

`

Would appricate any help you could give me
Thanks

@FutureProofHomes
Copy link
Collaborator

Hi @KrOnAsK I think you've got some missing backslashes in many spots. I've made some updates. Give it a shot.

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

[Service]
Type=simple
ExecStart=/home/jonas/wyoming-satellite/script/run \
    --name 'desksatelite' \
    --uri 'tcp://0.0.0.0:10700' \
    --mic-command 'parecord --property=media.role=phone --rate=16000 --channels=1 --format=s16le --raw' \
    --snd-command 'paplay --property=media.role=announce --rate=44100 --channels=1 --format=s16le --raw' \
    --snd-command-rate 44100 \
    --mic-auto-gain 5 \
    --mic-noise-suppression 2 \
    --wake-uri 'tcp://127.0.0.1:10400' \
    --wake-word-name 'ok_nabu' \
    --event-uri 'tcp://127.0.0.1:10500' \
    --detection-command '/home/jonas/wyoming-enhancements/snapcast/scripts/awake.sh' \
    --tts-stop-command '/home/jonas/wyoming-enhancements/snapcast/scripts/done.sh'

WorkingDirectory=/home/jonas/wyoming-satellite
Restart=always
RestartSec=1

[Install]
WantedBy=default.target

@ghost
Copy link
Author

ghost commented Jan 25, 2024

Ahh I just saw that my backslashes werent copied, this is how my advanced-wyoming-satelite.service looks:
image
So I dont think it was that

@1liminal1
Copy link

Are your LEDs stuck on after triggering the wakeword?

@ghost
Copy link
Author

ghost commented Jan 26, 2024

Well before I updated all of it they sometimes were ( I had followed your other guide to set up the Sattelite ) but not all the time

@FutureProofHomes
Copy link
Collaborator

Add --debug onto the end of the command and send me those logs please. Example:

[Unit]
Description=Enhanced Wyoming Satellite
Wants=network-online.target
After=network-online.target
Requires=pulseaudio.service
Requires=wyoming-openwakeword.service
Requires=2mic_leds.service

[Service]
Type=simple
ExecStart=/home/mediaroomsatellite/wyoming-satellite/script/run \
    --name 'Media Room Satellite' \
    --uri 'tcp://0.0.0.0:10700' \
    --mic-command 'parecord --property=media.role=phone --rate=16000 --channels=1 --format=s16le --raw --latency-msec 10' \
    --snd-command 'paplay --property=media.role=announce --rate=44100 --channels=1 --format=s16le --raw --latency-msec 10' \
    --snd-command-rate 44100 \
    --snd-volume-multiplier 0.2 \
#    --mic-auto-gain 5 \
#    --mic-noise-suppression 2 \
    --wake-uri 'tcp://127.0.0.1:10400' \
    --wake-word-name 'ok_nabu' \
    --event-uri 'tcp://127.0.0.1:10500' \
    --detection-command '/home/mediaroomsatellite/wyoming-enhancements/snapcast/scripts/awake.sh' \
    --tts-stop-command '/home/mediaroomsatellite/wyoming-enhancements/snapcast/scripts/done.sh' \
    --awake-wav sounds/awake.wav \
    --done-wav sounds/done.wav \
    --debug
WorkingDirectory=/home/mediaroomsatellite/wyoming-satellite
Restart=always
RestartSec=1

[Install]
WantedBy=default.target

To get logs:

sudo journalctl -u enhanced-wyoming-satellite.service. If you add "-f" it will tail your logs in realtime, for example: sudo journalctl -u enhanced-wyoming-satellite.service -f

@ghost
Copy link
Author

ghost commented Jan 28, 2024

Okay I did that and here are the logs

Jan 28 10:26:49 desksatelite run[106881]: __main__.py: error: unrecognized arguments: \
Jan 28 10:26:49 desksatelite run[106880]: Traceback (most recent call last):
Jan 28 10:26:49 desksatelite run[106880]:   File "/home/jonas/wyoming-satellite/script/run", line 12, in <module>
Jan 28 10:26:49 desksatelite run[106880]:     subprocess.check_call([context.env_exe, "-m", "wyoming_satellite"] + sys.argv[1:])
Jan 28 10:26:49 desksatelite run[106880]:   File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
Jan 28 10:26:49 desksatelite run[106880]:     raise CalledProcessError(retcode, cmd)
Jan 28 10:26:49 desksatelite run[106880]: subprocess.CalledProcessError: Command '['/home/jonas/wyoming-satellite/.venv/bin/python3', '-m', 'wyoming_satellite', '--name', 'desksatelite', '--uri', 'tcp://0.0.0.0:10700', '--mic-command', 'parecord --property=media.role=phone --rate=16000 --channels=1 --format=s16le --raw', '--snd-command', 'paplay --property=media.role=announce --rate=44100 --channels=1 --format=s16le --raw', '--snd-command-rate', '44100', '--mic-auto-gain', '5', '--mic-noise-suppression', '2', '--wake-uri', 'tcp://127.0.0.1:10400', '--wake-word-name', 'ok_nabu', '--event-uri', 'tcp://127.0.0.1:10500', '--detection-command', '/home/jonas/wyoming-enhancements/snapcast/scripts/awake.sh', '\\']' returned non-zero exit status 2.
Jan 28 10:26:49 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Main process exited, code=exited, status=1/FAILURE
Jan 28 10:26:49 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Failed with result 'exit-code'.
Jan 28 10:26:49 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Consumed 1.171s CPU time.
Jan 28 10:26:50 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Scheduled restart job, restart counter is at 28327.
Jan 28 10:26:50 desksatelite systemd[1]: Stopped Wyoming Satellite.
Jan 28 10:26:50 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Consumed 1.171s CPU time.
Jan 28 10:26:50 desksatelite systemd[1]: Started Wyoming Satellite.
Jan 28 10:26:51 desksatelite run[106885]: usage: __main__.py [-h] [--mic-uri MIC_URI] [--mic-command MIC_COMMAND]
Jan 28 10:26:51 desksatelite run[106885]:                    [--mic-command-rate MIC_COMMAND_RATE]
Jan 28 10:26:51 desksatelite run[106885]:                    [--mic-command-width MIC_COMMAND_WIDTH]
Jan 28 10:26:51 desksatelite run[106885]:                    [--mic-command-channels MIC_COMMAND_CHANNELS]
Jan 28 10:26:51 desksatelite run[106885]:                    [--mic-command-samples-per-chunk MIC_COMMAND_SAMPLES_PER_CHUNK]
Jan 28 10:26:51 desksatelite run[106885]:                    [--mic-volume-multiplier MIC_VOLUME_MULTIPLIER]
Jan 28 10:26:51 desksatelite run[106885]:                    [--mic-noise-suppression {0,1,2,3,4}]
Jan 28 10:26:51 desksatelite run[106885]:                    [--mic-auto-gain {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31}]
Jan 28 10:26:51 desksatelite run[106885]:                    [--snd-uri SND_URI] [--snd-command SND_COMMAND]
Jan 28 10:26:51 desksatelite run[106885]:                    [--snd-command-rate SND_COMMAND_RATE]
Jan 28 10:26:51 desksatelite run[106885]:                    [--snd-command-width SND_COMMAND_WIDTH]
Jan 28 10:26:51 desksatelite run[106885]:                    [--snd-command-channels SND_COMMAND_CHANNELS]
Jan 28 10:26:51 desksatelite run[106885]:                    [--snd-volume-multiplier SND_VOLUME_MULTIPLIER]
Jan 28 10:26:51 desksatelite run[106885]:                    [--wake-uri WAKE_URI] [--wake-word-name WAKE_WORD_NAME]
Jan 28 10:26:51 desksatelite run[106885]:                    [--wake-command WAKE_COMMAND]
Jan 28 10:26:51 desksatelite run[106885]:                    [--wake-command-rate WAKE_COMMAND_RATE]
Jan 28 10:26:51 desksatelite run[106885]:                    [--wake-command-width WAKE_COMMAND_WIDTH]
Jan 28 10:26:51 desksatelite run[106885]:                    [--wake-command-channels WAKE_COMMAND_CHANNELS] [--vad]
Jan 28 10:26:51 desksatelite run[106885]:                    [--vad-threshold VAD_THRESHOLD]
Jan 28 10:26:51 desksatelite run[106885]:                    [--vad-trigger-level VAD_TRIGGER_LEVEL]
Jan 28 10:26:51 desksatelite run[106885]:                    [--vad-buffer-seconds VAD_BUFFER_SECONDS]
Jan 28 10:26:51 desksatelite run[106885]:                    [--vad-wake-word-timeout VAD_WAKE_WORD_TIMEOUT]
Jan 28 10:26:51 desksatelite run[106885]:                    [--event-uri EVENT_URI] [--startup-command STARTUP_COMMAND]
Jan 28 10:26:51 desksatelite run[106885]:                    [--detect-command DETECT_COMMAND]
Jan 28 10:26:51 desksatelite run[106885]:                    [--detection-command DETECTION_COMMAND]
Jan 28 10:26:51 desksatelite run[106885]:                    [--transcript-command TRANSCRIPT_COMMAND]
Jan 28 10:26:51 desksatelite run[106885]:                    [--stt-start-command STT_START_COMMAND]
Jan 28 10:26:51 desksatelite run[106885]:                    [--stt-stop-command STT_STOP_COMMAND]
Jan 28 10:26:51 desksatelite run[106885]:                    [--synthesize-command SYNTHESIZE_COMMAND]
Jan 28 10:26:51 desksatelite run[106885]:                    [--tts-start-command TTS_START_COMMAND]
Jan 28 10:26:51 desksatelite run[106885]:                    [--tts-stop-command TTS_STOP_COMMAND]
Jan 28 10:26:51 desksatelite run[106885]:                    [--streaming-start-command STREAMING_START_COMMAND]
Jan 28 10:26:51 desksatelite run[106885]:                    [--streaming-stop-command STREAMING_STOP_COMMAND]
Jan 28 10:26:51 desksatelite run[106885]:                    [--error-command ERROR_COMMAND] [--awake-wav AWAKE_WAV]
Jan 28 10:26:51 desksatelite run[106885]:                    [--done-wav DONE_WAV] --uri URI [--name NAME] [--area AREA]
Jan 28 10:26:51 desksatelite run[106885]:                    [--no-zeroconf] [--zeroconf-name ZEROCONF_NAME]
Jan 28 10:26:51 desksatelite run[106885]:                    [--zeroconf-host ZEROCONF_HOST] [--debug]
Jan 28 10:26:51 desksatelite run[106885]: __main__.py: error: unrecognized arguments: \
Jan 28 10:26:51 desksatelite run[106884]: Traceback (most recent call last):
Jan 28 10:26:51 desksatelite run[106884]:   File "/home/jonas/wyoming-satellite/script/run", line 12, in <module>
Jan 28 10:26:51 desksatelite run[106884]:     subprocess.check_call([context.env_exe, "-m", "wyoming_satellite"] + sys.argv[1:])
Jan 28 10:26:51 desksatelite run[106884]:   File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
Jan 28 10:26:51 desksatelite run[106884]:     raise CalledProcessError(retcode, cmd)
Jan 28 10:26:51 desksatelite run[106884]: subprocess.CalledProcessError: Command '['/home/jonas/wyoming-satellite/.venv/bin/python3', '-m', 'wyoming_satellite', '--name', 'desksatelite', '--uri', 'tcp://0.0.0.0:10700', '--mic-command', 'parecord --property=media.role=phone --rate=16000 --channels=1 --format=s16le --raw', '--snd-command', 'paplay --property=media.role=announce --rate=44100 --channels=1 --format=s16le --raw', '--snd-command-rate', '44100', '--mic-auto-gain', '5', '--mic-noise-suppression', '2', '--wake-uri', 'tcp://127.0.0.1:10400', '--wake-word-name', 'ok_nabu', '--event-uri', 'tcp://127.0.0.1:10500', '--detection-command', '/home/jonas/wyoming-enhancements/snapcast/scripts/awake.sh', '\\']' returned non-zero exit status 2.
Jan 28 10:26:51 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Main process exited, code=exited, status=1/FAILURE
Jan 28 10:26:51 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Failed with result 'exit-code'.
Jan 28 10:26:51 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Consumed 1.199s CPU time.
Jan 28 10:26:52 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Scheduled restart job, restart counter is at 28328.
Jan 28 10:26:52 desksatelite systemd[1]: Stopped Wyoming Satellite.
Jan 28 10:26:52 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Consumed 1.199s CPU time.
Jan 28 10:26:52 desksatelite systemd[1]: Started Wyoming Satellite.
Jan 28 10:26:53 desksatelite run[106887]: usage: __main__.py [-h] [--mic-uri MIC_URI] [--mic-command MIC_COMMAND]
Jan 28 10:26:53 desksatelite run[106887]:                    [--mic-command-rate MIC_COMMAND_RATE]
Jan 28 10:26:53 desksatelite run[106887]:                    [--mic-command-width MIC_COMMAND_WIDTH]
Jan 28 10:26:53 desksatelite run[106887]:                    [--mic-command-channels MIC_COMMAND_CHANNELS]
Jan 28 10:26:53 desksatelite run[106887]:                    [--mic-command-samples-per-chunk MIC_COMMAND_SAMPLES_PER_CHUNK]
Jan 28 10:26:53 desksatelite run[106887]:                    [--mic-volume-multiplier MIC_VOLUME_MULTIPLIER]
Jan 28 10:26:53 desksatelite run[106887]:                    [--mic-noise-suppression {0,1,2,3,4}]
Jan 28 10:26:53 desksatelite run[106887]:                    [--mic-auto-gain {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31}]
Jan 28 10:26:53 desksatelite run[106887]:                    [--snd-uri SND_URI] [--snd-command SND_COMMAND]
Jan 28 10:26:53 desksatelite run[106887]:                    [--snd-command-rate SND_COMMAND_RATE]
Jan 28 10:26:53 desksatelite run[106887]:                    [--snd-command-width SND_COMMAND_WIDTH]
Jan 28 10:26:53 desksatelite run[106887]:                    [--snd-command-channels SND_COMMAND_CHANNELS]
Jan 28 10:26:53 desksatelite run[106887]:                    [--snd-volume-multiplier SND_VOLUME_MULTIPLIER]
Jan 28 10:26:53 desksatelite run[106887]:                    [--wake-uri WAKE_URI] [--wake-word-name WAKE_WORD_NAME]
Jan 28 10:26:53 desksatelite run[106887]:                    [--wake-command WAKE_COMMAND]
Jan 28 10:26:53 desksatelite run[106887]:                    [--wake-command-rate WAKE_COMMAND_RATE]
Jan 28 10:26:53 desksatelite run[106887]:                    [--wake-command-width WAKE_COMMAND_WIDTH]
Jan 28 10:26:53 desksatelite run[106887]:                    [--wake-command-channels WAKE_COMMAND_CHANNELS] [--vad]
Jan 28 10:26:53 desksatelite run[106887]:                    [--vad-threshold VAD_THRESHOLD]
Jan 28 10:26:53 desksatelite run[106887]:                    [--vad-trigger-level VAD_TRIGGER_LEVEL]
Jan 28 10:26:53 desksatelite run[106887]:                    [--vad-buffer-seconds VAD_BUFFER_SECONDS]
Jan 28 10:26:53 desksatelite run[106887]:                    [--vad-wake-word-timeout VAD_WAKE_WORD_TIMEOUT]
Jan 28 10:26:53 desksatelite run[106887]:                    [--event-uri EVENT_URI] [--startup-command STARTUP_COMMAND]
Jan 28 10:26:53 desksatelite run[106887]:                    [--detect-command DETECT_COMMAND]
Jan 28 10:26:53 desksatelite run[106887]:                    [--detection-command DETECTION_COMMAND]
Jan 28 10:26:53 desksatelite run[106887]:                    [--transcript-command TRANSCRIPT_COMMAND]
Jan 28 10:26:53 desksatelite run[106887]:                    [--stt-start-command STT_START_COMMAND]
Jan 28 10:26:53 desksatelite run[106887]:                    [--stt-stop-command STT_STOP_COMMAND]
Jan 28 10:26:53 desksatelite run[106887]:                    [--synthesize-command SYNTHESIZE_COMMAND]
Jan 28 10:26:53 desksatelite run[106887]:                    [--tts-start-command TTS_START_COMMAND]
Jan 28 10:26:53 desksatelite run[106887]:                    [--tts-stop-command TTS_STOP_COMMAND]
Jan 28 10:26:53 desksatelite run[106887]:                    [--streaming-start-command STREAMING_START_COMMAND]
Jan 28 10:26:53 desksatelite run[106887]:                    [--streaming-stop-command STREAMING_STOP_COMMAND]
Jan 28 10:26:53 desksatelite run[106887]:                    [--error-command ERROR_COMMAND] [--awake-wav AWAKE_WAV]
Jan 28 10:26:53 desksatelite run[106887]:                    [--done-wav DONE_WAV] --uri URI [--name NAME] [--area AREA]
Jan 28 10:26:53 desksatelite run[106887]:                    [--no-zeroconf] [--zeroconf-name ZEROCONF_NAME]
Jan 28 10:26:53 desksatelite run[106887]:                    [--zeroconf-host ZEROCONF_HOST] [--debug]
Jan 28 10:26:53 desksatelite run[106887]: __main__.py: error: unrecognized arguments: \
Jan 28 10:26:53 desksatelite run[106886]: Traceback (most recent call last):
Jan 28 10:26:53 desksatelite run[106886]:   File "/home/jonas/wyoming-satellite/script/run", line 12, in <module>
Jan 28 10:26:53 desksatelite run[106886]:     subprocess.check_call([context.env_exe, "-m", "wyoming_satellite"] + sys.argv[1:])
Jan 28 10:26:53 desksatelite run[106886]:   File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
Jan 28 10:26:53 desksatelite run[106886]:     raise CalledProcessError(retcode, cmd)
Jan 28 10:26:53 desksatelite run[106886]: subprocess.CalledProcessError: Command '['/home/jonas/wyoming-satellite/.venv/bin/python3', '-m', 'wyoming_satellite', '--name', 'desksatelite', '--uri', 'tcp://0.0.0.0:10700', '--mic-command', 'parecord --property=media.role=phone --rate=16000 --channels=1 --format=s16le --raw', '--snd-command', 'paplay --property=media.role=announce --rate=44100 --channels=1 --format=s16le --raw', '--snd-command-rate', '44100', '--mic-auto-gain', '5', '--mic-noise-suppression', '2', '--wake-uri', 'tcp://127.0.0.1:10400', '--wake-word-name', 'ok_nabu', '--event-uri', 'tcp://127.0.0.1:10500', '--detection-command', '/home/jonas/wyoming-enhancements/snapcast/scripts/awake.sh', '\\']' returned non-zero exit status 2.
Jan 28 10:26:53 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Main process exited, code=exited, status=1/FAILURE
Jan 28 10:26:53 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Failed with result 'exit-code'.
Jan 28 10:26:53 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Consumed 1.172s CPU time.
Jan 28 10:26:54 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Scheduled restart job, restart counter is at 28329.
Jan 28 10:26:54 desksatelite systemd[1]: Stopped Wyoming Satellite.
Jan 28 10:26:54 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Consumed 1.172s CPU time.
Jan 28 10:26:54 desksatelite systemd[1]: Started Wyoming Satellite.
Jan 28 10:26:55 desksatelite run[106889]: usage: __main__.py [-h] [--mic-uri MIC_URI] [--mic-command MIC_COMMAND]
Jan 28 10:26:55 desksatelite run[106889]:                    [--mic-command-rate MIC_COMMAND_RATE]
Jan 28 10:26:55 desksatelite run[106889]:                    [--mic-command-width MIC_COMMAND_WIDTH]
Jan 28 10:26:55 desksatelite run[106889]:                    [--mic-command-channels MIC_COMMAND_CHANNELS]
Jan 28 10:26:55 desksatelite run[106889]:                    [--mic-command-samples-per-chunk MIC_COMMAND_SAMPLES_PER_CHUNK]
Jan 28 10:26:55 desksatelite run[106889]:                    [--mic-volume-multiplier MIC_VOLUME_MULTIPLIER]
Jan 28 10:26:55 desksatelite run[106889]:                    [--mic-noise-suppression {0,1,2,3,4}]
Jan 28 10:26:55 desksatelite run[106889]:                    [--mic-auto-gain {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31}]
Jan 28 10:26:55 desksatelite run[106889]:                    [--snd-uri SND_URI] [--snd-command SND_COMMAND]
Jan 28 10:26:55 desksatelite run[106889]:                    [--snd-command-rate SND_COMMAND_RATE]
Jan 28 10:26:55 desksatelite run[106889]:                    [--snd-command-width SND_COMMAND_WIDTH]
Jan 28 10:26:55 desksatelite run[106889]:                    [--snd-command-channels SND_COMMAND_CHANNELS]
Jan 28 10:26:55 desksatelite run[106889]:                    [--snd-volume-multiplier SND_VOLUME_MULTIPLIER]
Jan 28 10:26:55 desksatelite run[106889]:                    [--wake-uri WAKE_URI] [--wake-word-name WAKE_WORD_NAME]
Jan 28 10:26:55 desksatelite run[106889]:                    [--wake-command WAKE_COMMAND]
Jan 28 10:26:55 desksatelite run[106889]:                    [--wake-command-rate WAKE_COMMAND_RATE]
Jan 28 10:26:55 desksatelite run[106889]:                    [--wake-command-width WAKE_COMMAND_WIDTH]
Jan 28 10:26:55 desksatelite run[106889]:                    [--wake-command-channels WAKE_COMMAND_CHANNELS] [--vad]
Jan 28 10:26:55 desksatelite run[106889]:                    [--vad-threshold VAD_THRESHOLD]
Jan 28 10:26:55 desksatelite run[106889]:                    [--vad-trigger-level VAD_TRIGGER_LEVEL]
Jan 28 10:26:55 desksatelite run[106889]:                    [--vad-buffer-seconds VAD_BUFFER_SECONDS]
Jan 28 10:26:55 desksatelite run[106889]:                    [--vad-wake-word-timeout VAD_WAKE_WORD_TIMEOUT]
Jan 28 10:26:55 desksatelite run[106889]:                    [--event-uri EVENT_URI] [--startup-command STARTUP_COMMAND]
Jan 28 10:26:55 desksatelite run[106889]:                    [--detect-command DETECT_COMMAND]
Jan 28 10:26:55 desksatelite run[106889]:                    [--detection-command DETECTION_COMMAND]
Jan 28 10:26:55 desksatelite run[106889]:                    [--transcript-command TRANSCRIPT_COMMAND]
Jan 28 10:26:55 desksatelite run[106889]:                    [--stt-start-command STT_START_COMMAND]
Jan 28 10:26:55 desksatelite run[106889]:                    [--stt-stop-command STT_STOP_COMMAND]
Jan 28 10:26:55 desksatelite run[106889]:                    [--synthesize-command SYNTHESIZE_COMMAND]
Jan 28 10:26:55 desksatelite run[106889]:                    [--tts-start-command TTS_START_COMMAND]
Jan 28 10:26:55 desksatelite run[106889]:                    [--tts-stop-command TTS_STOP_COMMAND]
Jan 28 10:26:55 desksatelite run[106889]:                    [--streaming-start-command STREAMING_START_COMMAND]
Jan 28 10:26:55 desksatelite run[106889]:                    [--streaming-stop-command STREAMING_STOP_COMMAND]
Jan 28 10:26:55 desksatelite run[106889]:                    [--error-command ERROR_COMMAND] [--awake-wav AWAKE_WAV]
Jan 28 10:26:55 desksatelite run[106889]:                    [--done-wav DONE_WAV] --uri URI [--name NAME] [--area AREA]
Jan 28 10:26:55 desksatelite run[106889]:                    [--no-zeroconf] [--zeroconf-name ZEROCONF_NAME]
Jan 28 10:26:55 desksatelite run[106889]:                    [--zeroconf-host ZEROCONF_HOST] [--debug]
Jan 28 10:26:55 desksatelite run[106889]: __main__.py: error: unrecognized arguments: \
Jan 28 10:26:55 desksatelite run[106888]: Traceback (most recent call last):
Jan 28 10:26:55 desksatelite run[106888]:   File "/home/jonas/wyoming-satellite/script/run", line 12, in <module>
Jan 28 10:26:55 desksatelite run[106888]:     subprocess.check_call([context.env_exe, "-m", "wyoming_satellite"] + sys.argv[1:])
Jan 28 10:26:55 desksatelite run[106888]:   File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
Jan 28 10:26:55 desksatelite run[106888]:     raise CalledProcessError(retcode, cmd)
Jan 28 10:26:55 desksatelite run[106888]: subprocess.CalledProcessError: Command '['/home/jonas/wyoming-satellite/.venv/bin/python3', '-m', 'wyoming_satellite', '--name', 'desksatelite', '--uri', 'tcp://0.0.0.0:10700', '--mic-command', 'parecord --property=media.role=phone --rate=16000 --channels=1 --format=s16le --raw', '--snd-command', 'paplay --property=media.role=announce --rate=44100 --channels=1 --format=s16le --raw', '--snd-command-rate', '44100', '--mic-auto-gain', '5', '--mic-noise-suppression', '2', '--wake-uri', 'tcp://127.0.0.1:10400', '--wake-word-name', 'ok_nabu', '--event-uri', 'tcp://127.0.0.1:10500', '--detection-command', '/home/jonas/wyoming-enhancements/snapcast/scripts/awake.sh', '\\']' returned non-zero exit status 2.
Jan 28 10:26:55 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Main process exited, code=exited, status=1/FAILURE
Jan 28 10:26:55 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Failed with result 'exit-code'.
Jan 28 10:26:55 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Consumed 1.171s CPU time.
Jan 28 10:26:56 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Scheduled restart job, restart counter is at 28330.
Jan 28 10:26:56 desksatelite systemd[1]: Stopped Wyoming Satellite.
Jan 28 10:26:56 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Consumed 1.171s CPU time.
Jan 28 10:26:57 desksatelite systemd[1]: Started Wyoming Satellite.
Jan 28 10:26:58 desksatelite run[106891]: usage: __main__.py [-h] [--mic-uri MIC_URI] [--mic-command MIC_COMMAND]
Jan 28 10:26:58 desksatelite run[106891]:                    [--mic-command-rate MIC_COMMAND_RATE]
Jan 28 10:26:58 desksatelite run[106891]:                    [--mic-command-width MIC_COMMAND_WIDTH]
Jan 28 10:26:58 desksatelite run[106891]:                    [--mic-command-channels MIC_COMMAND_CHANNELS]
Jan 28 10:26:58 desksatelite run[106891]:                    [--mic-command-samples-per-chunk MIC_COMMAND_SAMPLES_PER_CHUNK]
Jan 28 10:26:58 desksatelite run[106891]:                    [--mic-volume-multiplier MIC_VOLUME_MULTIPLIER]
Jan 28 10:26:58 desksatelite run[106891]:                    [--mic-noise-suppression {0,1,2,3,4}]
Jan 28 10:26:58 desksatelite run[106891]:                    [--mic-auto-gain {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31}]
Jan 28 10:26:58 desksatelite run[106891]:                    [--snd-uri SND_URI] [--snd-command SND_COMMAND]
Jan 28 10:26:58 desksatelite run[106891]:                    [--snd-command-rate SND_COMMAND_RATE]
Jan 28 10:26:58 desksatelite run[106891]:                    [--snd-command-width SND_COMMAND_WIDTH]
Jan 28 10:26:58 desksatelite run[106891]:                    [--snd-command-channels SND_COMMAND_CHANNELS]
Jan 28 10:26:58 desksatelite run[106891]:                    [--snd-volume-multiplier SND_VOLUME_MULTIPLIER]
Jan 28 10:26:58 desksatelite run[106891]:                    [--wake-uri WAKE_URI] [--wake-word-name WAKE_WORD_NAME]
Jan 28 10:26:58 desksatelite run[106891]:                    [--wake-command WAKE_COMMAND]
Jan 28 10:26:58 desksatelite run[106891]:                    [--wake-command-rate WAKE_COMMAND_RATE]
Jan 28 10:26:58 desksatelite run[106891]:                    [--wake-command-width WAKE_COMMAND_WIDTH]
Jan 28 10:26:58 desksatelite run[106891]:                    [--wake-command-channels WAKE_COMMAND_CHANNELS] [--vad]
Jan 28 10:26:58 desksatelite run[106891]:                    [--vad-threshold VAD_THRESHOLD]
Jan 28 10:26:58 desksatelite run[106891]:                    [--vad-trigger-level VAD_TRIGGER_LEVEL]
Jan 28 10:26:58 desksatelite run[106891]:                    [--vad-buffer-seconds VAD_BUFFER_SECONDS]
Jan 28 10:26:58 desksatelite run[106891]:                    [--vad-wake-word-timeout VAD_WAKE_WORD_TIMEOUT]
Jan 28 10:26:58 desksatelite run[106891]:                    [--event-uri EVENT_URI] [--startup-command STARTUP_COMMAND]
Jan 28 10:26:58 desksatelite run[106891]:                    [--detect-command DETECT_COMMAND]
Jan 28 10:26:58 desksatelite run[106891]:                    [--detection-command DETECTION_COMMAND]
Jan 28 10:26:58 desksatelite run[106891]:                    [--transcript-command TRANSCRIPT_COMMAND]
Jan 28 10:26:58 desksatelite run[106891]:                    [--stt-start-command STT_START_COMMAND]
Jan 28 10:26:58 desksatelite run[106891]:                    [--stt-stop-command STT_STOP_COMMAND]
Jan 28 10:26:58 desksatelite run[106891]:                    [--synthesize-command SYNTHESIZE_COMMAND]
Jan 28 10:26:58 desksatelite run[106891]:                    [--tts-start-command TTS_START_COMMAND]
Jan 28 10:26:58 desksatelite run[106891]:                    [--tts-stop-command TTS_STOP_COMMAND]
Jan 28 10:26:58 desksatelite run[106891]:                    [--streaming-start-command STREAMING_START_COMMAND]
Jan 28 10:26:58 desksatelite run[106891]:                    [--streaming-stop-command STREAMING_STOP_COMMAND]
Jan 28 10:26:58 desksatelite run[106891]:                    [--error-command ERROR_COMMAND] [--awake-wav AWAKE_WAV]
Jan 28 10:26:58 desksatelite run[106891]:                    [--done-wav DONE_WAV] --uri URI [--name NAME] [--area AREA]
Jan 28 10:26:58 desksatelite run[106891]:                    [--no-zeroconf] [--zeroconf-name ZEROCONF_NAME]
Jan 28 10:26:58 desksatelite run[106891]:                    [--zeroconf-host ZEROCONF_HOST] [--debug]
Jan 28 10:26:58 desksatelite run[106891]: __main__.py: error: unrecognized arguments: \
Jan 28 10:26:58 desksatelite run[106890]: Traceback (most recent call last):
Jan 28 10:26:58 desksatelite run[106890]:   File "/home/jonas/wyoming-satellite/script/run", line 12, in <module>
Jan 28 10:26:58 desksatelite run[106890]:     subprocess.check_call([context.env_exe, "-m", "wyoming_satellite"] + sys.argv[1:])
Jan 28 10:26:58 desksatelite run[106890]:   File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
Jan 28 10:26:58 desksatelite run[106890]:     raise CalledProcessError(retcode, cmd)
Jan 28 10:26:58 desksatelite run[106890]: subprocess.CalledProcessError: Command '['/home/jonas/wyoming-satellite/.venv/bin/python3', '-m', 'wyoming_satellite', '--name', 'desksatelite', '--uri', 'tcp://0.0.0.0:10700', '--mic-command', 'parecord --property=media.role=phone --rate=16000 --channels=1 --format=s16le --raw', '--snd-command', 'paplay --property=media.role=announce --rate=44100 --channels=1 --format=s16le --raw', '--snd-command-rate', '44100', '--mic-auto-gain', '5', '--mic-noise-suppression', '2', '--wake-uri', 'tcp://127.0.0.1:10400', '--wake-word-name', 'ok_nabu', '--event-uri', 'tcp://127.0.0.1:10500', '--detection-command', '/home/jonas/wyoming-enhancements/snapcast/scripts/awake.sh', '\\']' returned non-zero exit status 2.
Jan 28 10:26:58 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Main process exited, code=exited, status=1/FAILURE
Jan 28 10:26:58 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Failed with result 'exit-code'.
Jan 28 10:26:58 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Consumed 1.227s CPU time.
Jan 28 10:26:59 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Scheduled restart job, restart counter is at 28331.
Jan 28 10:26:59 desksatelite systemd[1]: Stopped Wyoming Satellite.
Jan 28 10:26:59 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Consumed 1.227s CPU time.
Jan 28 10:26:59 desksatelite systemd[1]: Started Wyoming Satellite.
Jan 28 10:27:00 desksatelite run[106893]: usage: __main__.py [-h] [--mic-uri MIC_URI] [--mic-command MIC_COMMAND]
Jan 28 10:27:00 desksatelite run[106893]:                    [--mic-command-rate MIC_COMMAND_RATE]
Jan 28 10:27:00 desksatelite run[106893]:                    [--mic-command-width MIC_COMMAND_WIDTH]
Jan 28 10:27:00 desksatelite run[106893]:                    [--mic-command-channels MIC_COMMAND_CHANNELS]
Jan 28 10:27:00 desksatelite run[106893]:                    [--mic-command-samples-per-chunk MIC_COMMAND_SAMPLES_PER_CHUNK]
Jan 28 10:27:00 desksatelite run[106893]:                    [--mic-volume-multiplier MIC_VOLUME_MULTIPLIER]
Jan 28 10:27:00 desksatelite run[106893]:                    [--mic-noise-suppression {0,1,2,3,4}]
Jan 28 10:27:00 desksatelite run[106893]:                    [--mic-auto-gain {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31}]
Jan 28 10:27:00 desksatelite run[106893]:                    [--snd-uri SND_URI] [--snd-command SND_COMMAND]
Jan 28 10:27:00 desksatelite run[106893]:                    [--snd-command-rate SND_COMMAND_RATE]
Jan 28 10:27:00 desksatelite run[106893]:                    [--snd-command-width SND_COMMAND_WIDTH]
Jan 28 10:27:00 desksatelite run[106893]:                    [--snd-command-channels SND_COMMAND_CHANNELS]
Jan 28 10:27:00 desksatelite run[106893]:                    [--snd-volume-multiplier SND_VOLUME_MULTIPLIER]
Jan 28 10:27:00 desksatelite run[106893]:                    [--wake-uri WAKE_URI] [--wake-word-name WAKE_WORD_NAME]
Jan 28 10:27:00 desksatelite run[106893]:                    [--wake-command WAKE_COMMAND]
Jan 28 10:27:00 desksatelite run[106893]:                    [--wake-command-rate WAKE_COMMAND_RATE]
Jan 28 10:27:00 desksatelite run[106893]:                    [--wake-command-width WAKE_COMMAND_WIDTH]
Jan 28 10:27:00 desksatelite run[106893]:                    [--wake-command-channels WAKE_COMMAND_CHANNELS] [--vad]
Jan 28 10:27:00 desksatelite run[106893]:                    [--vad-threshold VAD_THRESHOLD]
Jan 28 10:27:00 desksatelite run[106893]:                    [--vad-trigger-level VAD_TRIGGER_LEVEL]
Jan 28 10:27:00 desksatelite run[106893]:                    [--vad-buffer-seconds VAD_BUFFER_SECONDS]
Jan 28 10:27:00 desksatelite run[106893]:                    [--vad-wake-word-timeout VAD_WAKE_WORD_TIMEOUT]
Jan 28 10:27:00 desksatelite run[106893]:                    [--event-uri EVENT_URI] [--startup-command STARTUP_COMMAND]
Jan 28 10:27:00 desksatelite run[106893]:                    [--detect-command DETECT_COMMAND]
Jan 28 10:27:00 desksatelite run[106893]:                    [--detection-command DETECTION_COMMAND]
Jan 28 10:27:00 desksatelite run[106893]:                    [--transcript-command TRANSCRIPT_COMMAND]
Jan 28 10:27:00 desksatelite run[106893]:                    [--stt-start-command STT_START_COMMAND]
Jan 28 10:27:00 desksatelite run[106893]:                    [--stt-stop-command STT_STOP_COMMAND]
Jan 28 10:27:00 desksatelite run[106893]:                    [--synthesize-command SYNTHESIZE_COMMAND]
Jan 28 10:27:00 desksatelite run[106893]:                    [--tts-start-command TTS_START_COMMAND]
Jan 28 10:27:00 desksatelite run[106893]:                    [--tts-stop-command TTS_STOP_COMMAND]
Jan 28 10:27:00 desksatelite run[106893]:                    [--streaming-start-command STREAMING_START_COMMAND]
Jan 28 10:27:00 desksatelite run[106893]:                    [--streaming-stop-command STREAMING_STOP_COMMAND]
Jan 28 10:27:00 desksatelite run[106893]:                    [--error-command ERROR_COMMAND] [--awake-wav AWAKE_WAV]
Jan 28 10:27:00 desksatelite run[106893]:                    [--done-wav DONE_WAV] --uri URI [--name NAME] [--area AREA]
Jan 28 10:27:00 desksatelite run[106893]:                    [--no-zeroconf] [--zeroconf-name ZEROCONF_NAME]
Jan 28 10:27:00 desksatelite run[106893]:                    [--zeroconf-host ZEROCONF_HOST] [--debug]
Jan 28 10:27:00 desksatelite run[106893]: __main__.py: error: unrecognized arguments: \
Jan 28 10:27:00 desksatelite run[106892]: Traceback (most recent call last):
Jan 28 10:27:00 desksatelite run[106892]:   File "/home/jonas/wyoming-satellite/script/run", line 12, in <module>
Jan 28 10:27:00 desksatelite run[106892]:     subprocess.check_call([context.env_exe, "-m", "wyoming_satellite"] + sys.argv[1:])
Jan 28 10:27:00 desksatelite run[106892]:   File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
Jan 28 10:27:00 desksatelite run[106892]:     raise CalledProcessError(retcode, cmd)
Jan 28 10:27:00 desksatelite run[106892]: subprocess.CalledProcessError: Command '['/home/jonas/wyoming-satellite/.venv/bin/python3', '-m', 'wyoming_satellite', '--name', 'desksatelite', '--uri', 'tcp://0.0.0.0:10700', '--mic-command', 'parecord --property=media.role=phone --rate=16000 --channels=1 --format=s16le --raw', '--snd-command', 'paplay --property=media.role=announce --rate=44100 --channels=1 --format=s16le --raw', '--snd-command-rate', '44100', '--mic-auto-gain', '5', '--mic-noise-suppression', '2', '--wake-uri', 'tcp://127.0.0.1:10400', '--wake-word-name', 'ok_nabu', '--event-uri', 'tcp://127.0.0.1:10500', '--detection-command', '/home/jonas/wyoming-enhancements/snapcast/scripts/awake.sh', '\\']' returned non-zero exit status 2.
Jan 28 10:27:00 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Main process exited, code=exited, status=1/FAILURE
Jan 28 10:27:00 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Failed with result 'exit-code'.
Jan 28 10:27:00 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Consumed 1.171s CPU time.
Jan 28 10:27:01 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Scheduled restart job, restart counter is at 28332.
Jan 28 10:27:01 desksatelite systemd[1]: Stopped Wyoming Satellite.
Jan 28 10:27:01 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Consumed 1.171s CPU time.
Jan 28 10:27:01 desksatelite systemd[1]: Started Wyoming Satellite.
Jan 28 10:27:02 desksatelite run[106895]: usage: __main__.py [-h] [--mic-uri MIC_URI] [--mic-command MIC_COMMAND]
Jan 28 10:27:02 desksatelite run[106895]:                    [--mic-command-rate MIC_COMMAND_RATE]
Jan 28 10:27:02 desksatelite run[106895]:                    [--mic-command-width MIC_COMMAND_WIDTH]
Jan 28 10:27:02 desksatelite run[106895]:                    [--mic-command-channels MIC_COMMAND_CHANNELS]
Jan 28 10:27:02 desksatelite run[106895]:                    [--mic-command-samples-per-chunk MIC_COMMAND_SAMPLES_PER_CHUNK]
Jan 28 10:27:02 desksatelite run[106895]:                    [--mic-volume-multiplier MIC_VOLUME_MULTIPLIER]
Jan 28 10:27:02 desksatelite run[106895]:                    [--mic-noise-suppression {0,1,2,3,4}]
Jan 28 10:27:02 desksatelite run[106895]:                    [--mic-auto-gain {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31}]
Jan 28 10:27:02 desksatelite run[106895]:                    [--snd-uri SND_URI] [--snd-command SND_COMMAND]
Jan 28 10:27:02 desksatelite run[106895]:                    [--snd-command-rate SND_COMMAND_RATE]
Jan 28 10:27:02 desksatelite run[106895]:                    [--snd-command-width SND_COMMAND_WIDTH]
Jan 28 10:27:02 desksatelite run[106895]:                    [--snd-command-channels SND_COMMAND_CHANNELS]
Jan 28 10:27:02 desksatelite run[106895]:                    [--snd-volume-multiplier SND_VOLUME_MULTIPLIER]
Jan 28 10:27:02 desksatelite run[106895]:                    [--wake-uri WAKE_URI] [--wake-word-name WAKE_WORD_NAME]
Jan 28 10:27:02 desksatelite run[106895]:                    [--wake-command WAKE_COMMAND]
Jan 28 10:27:02 desksatelite run[106895]:                    [--wake-command-rate WAKE_COMMAND_RATE]
Jan 28 10:27:02 desksatelite run[106895]:                    [--wake-command-width WAKE_COMMAND_WIDTH]
Jan 28 10:27:02 desksatelite run[106895]:                    [--wake-command-channels WAKE_COMMAND_CHANNELS] [--vad]
Jan 28 10:27:02 desksatelite run[106895]:                    [--vad-threshold VAD_THRESHOLD]
Jan 28 10:27:02 desksatelite run[106895]:                    [--vad-trigger-level VAD_TRIGGER_LEVEL]
Jan 28 10:27:02 desksatelite run[106895]:                    [--vad-buffer-seconds VAD_BUFFER_SECONDS]
Jan 28 10:27:02 desksatelite run[106895]:                    [--vad-wake-word-timeout VAD_WAKE_WORD_TIMEOUT]
Jan 28 10:27:02 desksatelite run[106895]:                    [--event-uri EVENT_URI] [--startup-command STARTUP_COMMAND]
Jan 28 10:27:02 desksatelite run[106895]:                    [--detect-command DETECT_COMMAND]
Jan 28 10:27:02 desksatelite run[106895]:                    [--detection-command DETECTION_COMMAND]
Jan 28 10:27:02 desksatelite run[106895]:                    [--transcript-command TRANSCRIPT_COMMAND]
Jan 28 10:27:02 desksatelite run[106895]:                    [--stt-start-command STT_START_COMMAND]
Jan 28 10:27:02 desksatelite run[106895]:                    [--stt-stop-command STT_STOP_COMMAND]
Jan 28 10:27:02 desksatelite run[106895]:                    [--synthesize-command SYNTHESIZE_COMMAND]
Jan 28 10:27:02 desksatelite run[106895]:                    [--tts-start-command TTS_START_COMMAND]
Jan 28 10:27:02 desksatelite run[106895]:                    [--tts-stop-command TTS_STOP_COMMAND]
Jan 28 10:27:02 desksatelite run[106895]:                    [--streaming-start-command STREAMING_START_COMMAND]
Jan 28 10:27:02 desksatelite run[106895]:                    [--streaming-stop-command STREAMING_STOP_COMMAND]
Jan 28 10:27:02 desksatelite run[106895]:                    [--error-command ERROR_COMMAND] [--awake-wav AWAKE_WAV]
Jan 28 10:27:02 desksatelite run[106895]:                    [--done-wav DONE_WAV] --uri URI [--name NAME] [--area AREA]
Jan 28 10:27:02 desksatelite run[106895]:                    [--no-zeroconf] [--zeroconf-name ZEROCONF_NAME]
Jan 28 10:27:02 desksatelite run[106895]:                    [--zeroconf-host ZEROCONF_HOST] [--debug]
Jan 28 10:27:02 desksatelite run[106895]: __main__.py: error: unrecognized arguments: \
Jan 28 10:27:02 desksatelite run[106894]: Traceback (most recent call last):
Jan 28 10:27:02 desksatelite run[106894]:   File "/home/jonas/wyoming-satellite/script/run", line 12, in <module>
Jan 28 10:27:02 desksatelite run[106894]:     subprocess.check_call([context.env_exe, "-m", "wyoming_satellite"] + sys.argv[1:])
Jan 28 10:27:02 desksatelite run[106894]:   File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
Jan 28 10:27:02 desksatelite run[106894]:     raise CalledProcessError(retcode, cmd)
Jan 28 10:27:02 desksatelite run[106894]: subprocess.CalledProcessError: Command '['/home/jonas/wyoming-satellite/.venv/bin/python3', '-m', 'wyoming_satellite', '--name', 'desksatelite', '--uri', 'tcp://0.0.0.0:10700', '--mic-command', 'parecord --property=media.role=phone --rate=16000 --channels=1 --format=s16le --raw', '--snd-command', 'paplay --property=media.role=announce --rate=44100 --channels=1 --format=s16le --raw', '--snd-command-rate', '44100', '--mic-auto-gain', '5', '--mic-noise-suppression', '2', '--wake-uri', 'tcp://127.0.0.1:10400', '--wake-word-name', 'ok_nabu', '--event-uri', 'tcp://127.0.0.1:10500', '--detection-command', '/home/jonas/wyoming-enhancements/snapcast/scripts/awake.sh', '\\']' returned non-zero exit status 2.
Jan 28 10:27:02 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Main process exited, code=exited, status=1/FAILURE
Jan 28 10:27:02 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Failed with result 'exit-code'.
Jan 28 10:27:02 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Consumed 1.198s CPU time.
Jan 28 10:27:03 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Scheduled restart job, restart counter is at 28333.
Jan 28 10:27:03 desksatelite systemd[1]: Stopped Wyoming Satellite.
Jan 28 10:27:03 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Consumed 1.198s CPU time.
Jan 28 10:27:04 desksatelite systemd[1]: Started Wyoming Satellite.
Jan 28 10:27:04 desksatelite run[106897]: usage: __main__.py [-h] [--mic-uri MIC_URI] [--mic-command MIC_COMMAND]
Jan 28 10:27:04 desksatelite run[106897]:                    [--mic-command-rate MIC_COMMAND_RATE]
Jan 28 10:27:04 desksatelite run[106897]:                    [--mic-command-width MIC_COMMAND_WIDTH]
Jan 28 10:27:04 desksatelite run[106897]:                    [--mic-command-channels MIC_COMMAND_CHANNELS]
Jan 28 10:27:04 desksatelite run[106897]:                    [--mic-command-samples-per-chunk MIC_COMMAND_SAMPLES_PER_CHUNK]
Jan 28 10:27:04 desksatelite run[106897]:                    [--mic-volume-multiplier MIC_VOLUME_MULTIPLIER]
Jan 28 10:27:04 desksatelite run[106897]:                    [--mic-noise-suppression {0,1,2,3,4}]
Jan 28 10:27:04 desksatelite run[106897]:                    [--mic-auto-gain {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31}]
Jan 28 10:27:04 desksatelite run[106897]:                    [--snd-uri SND_URI] [--snd-command SND_COMMAND]
Jan 28 10:27:04 desksatelite run[106897]:                    [--snd-command-rate SND_COMMAND_RATE]
Jan 28 10:27:04 desksatelite run[106897]:                    [--snd-command-width SND_COMMAND_WIDTH]
Jan 28 10:27:04 desksatelite run[106897]:                    [--snd-command-channels SND_COMMAND_CHANNELS]
Jan 28 10:27:04 desksatelite run[106897]:                    [--snd-volume-multiplier SND_VOLUME_MULTIPLIER]
Jan 28 10:27:04 desksatelite run[106897]:                    [--wake-uri WAKE_URI] [--wake-word-name WAKE_WORD_NAME]
Jan 28 10:27:04 desksatelite run[106897]:                    [--wake-command WAKE_COMMAND]
Jan 28 10:27:04 desksatelite run[106897]:                    [--wake-command-rate WAKE_COMMAND_RATE]
Jan 28 10:27:04 desksatelite run[106897]:                    [--wake-command-width WAKE_COMMAND_WIDTH]
Jan 28 10:27:04 desksatelite run[106897]:                    [--wake-command-channels WAKE_COMMAND_CHANNELS] [--vad]
Jan 28 10:27:04 desksatelite run[106897]:                    [--vad-threshold VAD_THRESHOLD]
Jan 28 10:27:04 desksatelite run[106897]:                    [--vad-trigger-level VAD_TRIGGER_LEVEL]
Jan 28 10:27:04 desksatelite run[106897]:                    [--vad-buffer-seconds VAD_BUFFER_SECONDS]
Jan 28 10:27:04 desksatelite run[106897]:                    [--vad-wake-word-timeout VAD_WAKE_WORD_TIMEOUT]
Jan 28 10:27:04 desksatelite run[106897]:                    [--event-uri EVENT_URI] [--startup-command STARTUP_COMMAND]
Jan 28 10:27:04 desksatelite run[106897]:                    [--detect-command DETECT_COMMAND]
Jan 28 10:27:04 desksatelite run[106897]:                    [--detection-command DETECTION_COMMAND]
Jan 28 10:27:04 desksatelite run[106897]:                    [--transcript-command TRANSCRIPT_COMMAND]
Jan 28 10:27:04 desksatelite run[106897]:                    [--stt-start-command STT_START_COMMAND]
Jan 28 10:27:04 desksatelite run[106897]:                    [--stt-stop-command STT_STOP_COMMAND]
Jan 28 10:27:04 desksatelite run[106897]:                    [--synthesize-command SYNTHESIZE_COMMAND]
Jan 28 10:27:04 desksatelite run[106897]:                    [--tts-start-command TTS_START_COMMAND]
Jan 28 10:27:04 desksatelite run[106897]:                    [--tts-stop-command TTS_STOP_COMMAND]
Jan 28 10:27:05 desksatelite run[106897]:                    [--streaming-start-command STREAMING_START_COMMAND]
Jan 28 10:27:05 desksatelite run[106897]:                    [--streaming-stop-command STREAMING_STOP_COMMAND]
Jan 28 10:27:05 desksatelite run[106897]:                    [--error-command ERROR_COMMAND] [--awake-wav AWAKE_WAV]
Jan 28 10:27:05 desksatelite run[106897]:                    [--done-wav DONE_WAV] --uri URI [--name NAME] [--area AREA]
Jan 28 10:27:05 desksatelite run[106897]:                    [--no-zeroconf] [--zeroconf-name ZEROCONF_NAME]
Jan 28 10:27:05 desksatelite run[106897]:                    [--zeroconf-host ZEROCONF_HOST] [--debug]
Jan 28 10:27:05 desksatelite run[106897]: __main__.py: error: unrecognized arguments: \
Jan 28 10:27:05 desksatelite run[106896]: Traceback (most recent call last):
Jan 28 10:27:05 desksatelite run[106896]:   File "/home/jonas/wyoming-satellite/script/run", line 12, in <module>
Jan 28 10:27:05 desksatelite run[106896]:     subprocess.check_call([context.env_exe, "-m", "wyoming_satellite"] + sys.argv[1:])
Jan 28 10:27:05 desksatelite run[106896]:   File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
Jan 28 10:27:05 desksatelite run[106896]:     raise CalledProcessError(retcode, cmd)
Jan 28 10:27:05 desksatelite run[106896]: subprocess.CalledProcessError: Command '['/home/jonas/wyoming-satellite/.venv/bin/python3', '-m', 'wyoming_satellite', '--name', 'desksatelite', '--uri', 'tcp://0.0.0.0:10700', '--mic-command', 'parecord --property=media.role=phone --rate=16000 --channels=1 --format=s16le --raw', '--snd-command', 'paplay --property=media.role=announce --rate=44100 --channels=1 --format=s16le --raw', '--snd-command-rate', '44100', '--mic-auto-gain', '5', '--mic-noise-suppression', '2', '--wake-uri', 'tcp://127.0.0.1:10400', '--wake-word-name', 'ok_nabu', '--event-uri', 'tcp://127.0.0.1:10500', '--detection-command', '/home/jonas/wyoming-enhancements/snapcast/scripts/awake.sh', '\\']' returned non-zero exit status 2.
Jan 28 10:27:05 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Main process exited, code=exited, status=1/FAILURE
Jan 28 10:27:05 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Failed with result 'exit-code'.
Jan 28 10:27:05 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Consumed 1.169s CPU time.
yJan 28 10:27:06 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Scheduled restart job, restart counter is at 28334.
Jan 28 10:27:06 desksatelite systemd[1]: Stopped Wyoming Satellite.
Jan 28 10:27:06 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Consumed 1.169s CPU time.
Jan 28 10:27:06 desksatelite systemd[1]: Started Wyoming Satellite.
Jan 28 10:27:07 desksatelite run[106899]: usage: __main__.py [-h] [--mic-uri MIC_URI] [--mic-command MIC_COMMAND]
Jan 28 10:27:07 desksatelite run[106899]:                    [--mic-command-rate MIC_COMMAND_RATE]
Jan 28 10:27:07 desksatelite run[106899]:                    [--mic-command-width MIC_COMMAND_WIDTH]
Jan 28 10:27:07 desksatelite run[106899]:                    [--mic-command-channels MIC_COMMAND_CHANNELS]
Jan 28 10:27:07 desksatelite run[106899]:                    [--mic-command-samples-per-chunk MIC_COMMAND_SAMPLES_PER_CHUNK]
Jan 28 10:27:07 desksatelite run[106899]:                    [--mic-volume-multiplier MIC_VOLUME_MULTIPLIER]
Jan 28 10:27:07 desksatelite run[106899]:                    [--mic-noise-suppression {0,1,2,3,4}]
Jan 28 10:27:07 desksatelite run[106899]:                    [--mic-auto-gain {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31}]
Jan 28 10:27:07 desksatelite run[106899]:                    [--snd-uri SND_URI] [--snd-command SND_COMMAND]
Jan 28 10:27:07 desksatelite run[106899]:                    [--snd-command-rate SND_COMMAND_RATE]
Jan 28 10:27:07 desksatelite run[106899]:                    [--snd-command-width SND_COMMAND_WIDTH]
Jan 28 10:27:07 desksatelite run[106899]:                    [--snd-command-channels SND_COMMAND_CHANNELS]
Jan 28 10:27:07 desksatelite run[106899]:                    [--snd-volume-multiplier SND_VOLUME_MULTIPLIER]
Jan 28 10:27:07 desksatelite run[106899]:                    [--wake-uri WAKE_URI] [--wake-word-name WAKE_WORD_NAME]
Jan 28 10:27:07 desksatelite run[106899]:                    [--wake-command WAKE_COMMAND]
Jan 28 10:27:07 desksatelite run[106899]:                    [--wake-command-rate WAKE_COMMAND_RATE]
Jan 28 10:27:07 desksatelite run[106899]:                    [--wake-command-width WAKE_COMMAND_WIDTH]
Jan 28 10:27:07 desksatelite run[106899]:                    [--wake-command-channels WAKE_COMMAND_CHANNELS] [--vad]
Jan 28 10:27:07 desksatelite run[106899]:                    [--vad-threshold VAD_THRESHOLD]
Jan 28 10:27:07 desksatelite run[106899]:                    [--vad-trigger-level VAD_TRIGGER_LEVEL]
Jan 28 10:27:07 desksatelite run[106899]:                    [--vad-buffer-seconds VAD_BUFFER_SECONDS]
Jan 28 10:27:07 desksatelite run[106899]:                    [--vad-wake-word-timeout VAD_WAKE_WORD_TIMEOUT]
Jan 28 10:27:07 desksatelite run[106899]:                    [--event-uri EVENT_URI] [--startup-command STARTUP_COMMAND]
Jan 28 10:27:07 desksatelite run[106899]:                    [--detect-command DETECT_COMMAND]
Jan 28 10:27:07 desksatelite run[106899]:                    [--detection-command DETECTION_COMMAND]
Jan 28 10:27:07 desksatelite run[106899]:                    [--transcript-command TRANSCRIPT_COMMAND]
Jan 28 10:27:07 desksatelite run[106899]:                    [--stt-start-command STT_START_COMMAND]
Jan 28 10:27:07 desksatelite run[106899]:                    [--stt-stop-command STT_STOP_COMMAND]
Jan 28 10:27:07 desksatelite run[106899]:                    [--synthesize-command SYNTHESIZE_COMMAND]
Jan 28 10:27:07 desksatelite run[106899]:                    [--tts-start-command TTS_START_COMMAND]
Jan 28 10:27:07 desksatelite run[106899]:                    [--tts-stop-command TTS_STOP_COMMAND]
Jan 28 10:27:07 desksatelite run[106899]:                    [--streaming-start-command STREAMING_START_COMMAND]
Jan 28 10:27:07 desksatelite run[106899]:                    [--streaming-stop-command STREAMING_STOP_COMMAND]
Jan 28 10:27:07 desksatelite run[106899]:                    [--error-command ERROR_COMMAND] [--awake-wav AWAKE_WAV]
Jan 28 10:27:07 desksatelite run[106899]:                    [--done-wav DONE_WAV] --uri URI [--name NAME] [--area AREA]
Jan 28 10:27:07 desksatelite run[106899]:                    [--no-zeroconf] [--zeroconf-name ZEROCONF_NAME]
Jan 28 10:27:07 desksatelite run[106899]:                    [--zeroconf-host ZEROCONF_HOST] [--debug]
Jan 28 10:27:07 desksatelite run[106899]: __main__.py: error: unrecognized arguments: \
Jan 28 10:27:07 desksatelite run[106898]: Traceback (most recent call last):
Jan 28 10:27:07 desksatelite run[106898]:   File "/home/jonas/wyoming-satellite/script/run", line 12, in <module>
Jan 28 10:27:07 desksatelite run[106898]:     subprocess.check_call([context.env_exe, "-m", "wyoming_satellite"] + sys.argv[1:])
Jan 28 10:27:07 desksatelite run[106898]:   File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
Jan 28 10:27:07 desksatelite run[106898]:     raise CalledProcessError(retcode, cmd)
Jan 28 10:27:07 desksatelite run[106898]: subprocess.CalledProcessError: Command '['/home/jonas/wyoming-satellite/.venv/bin/python3', '-m', 'wyoming_satellite', '--name', 'desksatelite', '--uri', 'tcp://0.0.0.0:10700', '--mic-command', 'parecord --property=media.role=phone --rate=16000 --channels=1 --format=s16le --raw', '--snd-command', 'paplay --property=media.role=announce --rate=44100 --channels=1 --format=s16le --raw', '--snd-command-rate', '44100', '--mic-auto-gain', '5', '--mic-noise-suppression', '2', '--wake-uri', 'tcp://127.0.0.1:10400', '--wake-word-name', 'ok_nabu', '--event-uri', 'tcp://127.0.0.1:10500', '--detection-command', '/home/jonas/wyoming-enhancements/snapcast/scripts/awake.sh', '\\']' returned non-zero exit status 2.
Jan 28 10:27:07 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Main process exited, code=exited, status=1/FAILURE
Jan 28 10:27:07 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Failed with result 'exit-code'.
Jan 28 10:27:07 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Consumed 1.187s CPU time.                                                                                                                                                                                                                   ^XJan 28 10:27:08 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Scheduled restart job, restart counter is at 28335.
Jan 28 10:27:08 desksatelite systemd[1]: Stopped Wyoming Satellite.
Jan 28 10:27:08 desksatelite systemd[1]: enhanced-wyoming-satellite.service: Consumed 1.187s CPU time.
Jan 28 10:27:08 desksatelite systemd[1]: Started Wyoming Satellite.

@MattiasC
Copy link

MattiasC commented Mar 8, 2024

I think you have one too many backslashes in your latest screenshot, you should not have one on the last row of the arguments.
bild

@beer-to-code
Copy link

please remove the last back slash in you ExecStart command
it should after that

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

3 participants