Open willumpie82 opened 5 months ago
Here is someone experiencing the same error. It worked for a long time, but after having to disconnect from the network and reconnect the assistant, the service stopped working.
Aug 02 10:20:50 satelite run[5939]: INFO:root:Ready Aug 02 10:20:50 satelite run[5939]: INFO:root:Connected to services Aug 02 10:20:51 satelite run[5941]: arecord: pcm_read:2221: read error: Interrupted system call Aug 02 10:20:51 satelite systemd[1]: Stopping wyoming-satellite.service - Wyoming Satellite... Aug 02 10:20:51 satelite systemd[1]: wyoming-satellite.service: Deactivated successfully. Aug 02 10:20:51 satelite systemd[1]: Stopped wyoming-satellite.service - Wyoming Satellite. Aug 02 10:20:51 satelite systemd[1]: wyoming-satellite.service: Consumed 1.208s CPU time. Aug 02 10:20:51 satelite systemd[1]: wyoming-satellite.service: Start request repeated too quickly. Aug 02 10:20:51 satelite systemd[1]: wyoming-satellite.service: Failed with result 'start-limit-hit'. Aug 02 10:20:51 satelite systemd[1]: Failed to start wyoming-satellite.service - Wyoming Satellite.
Hi,
I'm trying to get my kiosk display to also run the sattalite and openwakeword, but I must be doing something wrong here while following the doc/tutorial_2_mic.md, I also tried the pyhton installer I tried the following options:
I flash with (macos) raspberry-pi imager and apply my user/wifi/SSH settings via the tool directly
All result in the same errors
log: Apr 17 10:08:10 voice0 systemd[1]: Started Wyoming Satellite. Apr 17 10:08:11 voice0 run[2301]: INFO:root:Ready Apr 17 10:08:12 voice0 run[2301]: INFO:root:Connected to services Apr 17 10:08:12 voice0 run[2303]: Recording raw data 'stdin' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono Apr 17 10:08:12 voice0 systemd[1]: Stopping Wyoming Satellite... Apr 17 10:08:12 voice0 run[2303]: Aborted by signal Terminated... Apr 17 10:08:12 voice0 systemd[1]: wyoming-satellite.service: Succeeded. Apr 17 10:08:12 voice0 systemd[1]: Stopped Wyoming Satellite. Apr 17 10:08:12 voice0 systemd[1]: wyoming-satellite.service: Consumed 1.353s CPU time. Apr 17 10:08:12 voice0 systemd[1]: Started Wyoming Satellite. Apr 17 10:08:13 voice0 run[2309]: INFO:root:Ready Apr 17 10:08:14 voice0 run[2309]: INFO:root:Connected to services Apr 17 10:08:14 voice0 run[2312]: Recording raw data 'stdin' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono Apr 17 10:08:14 voice0 systemd[1]: Stopping Wyoming Satellite... Apr 17 10:08:14 voice0 run[2312]: Aborted by signal Terminated... Apr 17 10:08:14 voice0 run[2312]: arecord: pcm_read:2152: read error: Interrupted system call Apr 17 10:08:14 voice0 systemd[1]: wyoming-satellite.service: Succeeded. Apr 17 10:08:14 voice0 systemd[1]: Stopped Wyoming Satellite. Apr 17 10:08:14 voice0 systemd[1]: wyoming-satellite.service: Consumed 1.353s CPU time. Apr 17 10:08:14 voice0 systemd[1]: Started Wyoming Satellite. Apr 17 10:08:15 voice0 run[2318]: INFO:root:Ready Apr 17 10:08:16 voice0 run[2318]: INFO:root:Connected to services Apr 17 10:08:16 voice0 run[2320]: Recording raw data 'stdin' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono Apr 17 10:08:16 voice0 run[2320]: Aborted by signal Terminated... Apr 17 10:08:16 voice0 run[2320]: arecord: pcm_read:2152: read error: Interrupted system call Apr 17 10:08:16 voice0 systemd[1]: Stopping Wyoming Satellite... Apr 17 10:08:16 voice0 systemd[1]: wyoming-satellite.service: Succeeded. Apr 17 10:08:16 voice0 systemd[1]: Stopped Wyoming Satellite. Apr 17 10:08:16 voice0 systemd[1]: wyoming-satellite.service: Consumed 1.369s CPU time. Apr 17 10:08:16 voice0 systemd[1]: Started Wyoming Satellite. Apr 17 10:08:17 voice0 run[2326]: INFO:root:Ready
This is the config in the service [Unit] Description=Wyoming Satellite Wants=network-online.target After=network-online.target Requires=wyoming-wakeword.service Requires=wyoming-event.service
[Service] Type=simple User=willem Environment=XDG_RUNTIME_DIR=/run/user/1000 ExecStart=/home/willem/wyoming-satellite/script/run \ --name Voice0 --uri tcp://0.0.0.0:10700 \ --mic-command 'arecord -D plughw:CARD=seeed2micvoicec,DEV=0 -r 16000 -c 1 -f S16_LE -t raw' \ --snd-command 'aplay -D plughw:CARD=seeed2micvoicec,DEV=0 -r 22050 -c 1 -f S16_LE -t raw' \ --awake-wav /home/willem/wyoming-satellite/sounds/awake.wav \ --done-wav /home/willem/wyoming-satellite/sounds/done.wav \ --wake-uri tcp://127.0.0.1:10400 \ --wake-word-name ok_nabu \ --event-uri tcp://127.0.0.1:10500 WorkingDirectory=/home/willem/wyoming-satellite Restart=always RestartSec=1
[Install] WantedBy=default.target
when I run the script stand-alone it is fine script/run --name Voice0 --uri tcp://0.0.0.0:10700 --mic-command 'arecord -D plughw:CARD=seeed2micvoicec,DEV=0 -r 16000 -c 1 -f S16_LE -t raw' --snd-command 'aplay -D plughw:CARD=seeed2micvoicec,DEV=0 -r 22050 -c 1 -f S16_LE -t raw' --awake-wav /home/willem/wyoming-satellite/sounds/awake.wav --done-wav /home/willem/wyoming-satellite/sounds/done.wav --debug
is this an issue with user-rights? ( I asume the service runs a different user than manual option? )