Sep 18 02:09:46 zero1 run[1181]: Install extras for webrtc
Sep 18 02:09:46 zero1 run[1180]: Traceback (most recent call last):
Sep 18 02:09:46 zero1 run[1180]: File "/home/russell/wyoming-satellite/script/run", line 12, in <module>
Sep 18 02:09:46 zero1 run[1180]: subprocess.check_call([context.env_exe, "-m", "wyoming_satellite"] + sys.argv[1:])
Sep 18 02:09:46 zero1 run[1180]: File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
Sep 18 02:09:46 zero1 run[1180]: raise CalledProcessError(retcode, cmd)
Sep 18 02:09:46 zero1 run[1180]: subprocess.CalledProcessError: Command '['/home/russell/wyoming-satellite/.venv/bin/python3', '-m', 'wyoming_satellite', '--name', 'Zero1 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.1', '--mic-auto-gain', '7', '--mic-noise-suppression', '3', '--detection-command', '/home/russell/wyoming-enhancements/snapcast/scripts/awake.sh', '--tts-stop-command', '/home/russell/wyoming-enhancements/snapcast/scripts/done.sh', '--error-command', '/home/russell/wyoming-enhancements/snapcast/scripts/done.sh']' returned non-zero exit status 1.
Sep 18 02:09:46 zero1 systemd[1]: enhanced-wyoming-satellite.service: Main process exited, code=exited, status=1/FAILURE
Sep 18 02:09:46 zero1 systemd[1]: enhanced-wyoming-satellite.service: Failed with result 'exit-code'.
#Wyoming Satellite Issues
1 messages · Page 1 of 1 (latest)
I am gettting this error for my service to start the satellite. The audio streaming from Music Assistant works fine
Log doesn't say anything. Try run your command in bash directly, and see what it spits.
Install extras for webrtc
Traceback (most recent call last):
File "/home/russell/wyoming-satellite/script/run", line 12, in <module>
subprocess.check_call([context.env_exe, "-m", "wyoming_satellite"] + sys.argv[1:])
File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/russell/wyoming-satellite/.venv/bin/python3', '-m', 'wyoming_satellite', '--name', 'Zero1 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.1', '--mic-auto-gain', '7', '--mic-noise-suppression', '3', '--detection-command', '/home/russell/wyoming-enhancements/snapcast/scripts/awake.sh', '--tts-stop-command', '/home/russell/wyoming-enhancements/snapcast/scripts/done.sh', '--error-command', '/home/russell/wyoming-enhancements/snapcast/scripts/done.sh']' returned non-zero exit status 1.```
Damn
Try reducing your command to narrow the trouble. remove unnecessary things one by one (like detection command, stop and error commands etc.
script/run --name 'Zero1 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' works
script/run --name 'Zero1 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' --detection-command '/home/russell/wyoming-enhancements/snapcast/scripts/awake.sh' --tts-stop-command '/home/russell/wyoming-enhancements/snapcast/scripts/done.sh' --error-command '/home/russell/wyoming-enhancements/snapcast/scripts/done.sh' works
Therefor the issue is in --snd-volume-multiplier '0.1' --mic-auto-gain '7' --mic-noise-suppression '3'
Narrow it more, and then play with numbers 🙂
Is is the numbers are not supposed to be in quotes?
--mic-auto-gain 7 \
--mic-noise-suppression 3 \ ``` is what is in the example
But I do have the --snd-command-rate '44100' in quotes and that works
IDK, but i have it as in example (it's actually easier to modify it that way, with new lines) 🙂
I am just going to remove those lines I think
I tested all 3 individually and they all cause the error
uff, it will work worse without noise suppression..
Hmmm
Alright, i had no such lines actually
I mean these
--mic-auto-gain 7 \
--mic-noise-suppression 3 \
I added, and it gives same error
Remove that
But leave in the multiplier?
well, i'll check what official docs saying
Multiplier is just loudness
i had id all the time
Alright, it's definitely noise-suppression.
Huh
So i removed noise-suppression line and TYPED it in again by hands, and it's working now...
Interesting
Looks like in my case, copy-pasting pasted some invisible Unicode character, that was giving the error.
Now i have noise suppression and mic gain
Does a Pi zero W have the power to run both of these? I finally got it all working but when the assistant responds, it gets very buggy and laggy.
I have it connected to an ethernet hat so network is not the issue
What "both"?
It should be good enough to run Respeaker. Just make sure you have good (preferred official) power adapter.
Sorry, not power electricity but power computation
Yeeeah, when i used snapcast with pi zero 2w and Wyoming - i had very bad experience, actually.
So i just made everything from scratch, and didn't do that enhancements
Do you have any sort of tutorial you followed? Very interested in getting this properly working
I used official tutorial exclusively 🙂
What about for audio streaming?