Commit Graph
15 Commits
Author SHA1 Message Date
imonlinux 01a40e641f Add support for Grove Interface
Add Grove interface support for APA102 LEDs instead of the built in spi.
2025-09-29 19:41:28 -07:00
imonlinux 14779b4439 Refactored file with support for PW, PA, ALSA 2025-09-27 22:05:47 -07:00
imonlinux 74032adb9b Update mpv_player.py to support PipeWire
Updated the mpv_player.py to support PipeWire native devices (pipewire/default) instead of using the pipewire-pulse compatibility.
2025-09-27 21:19:06 -07:00
imonlinux cd83ee018f Add HAL and Marvin led files 2025-09-20 18:21:21 -07:00
imonlinux b982f9f990 Disabled watchdog for pulseaudio.
Will reintroduce this function at a later date if needed.
2025-09-14 18:37:58 -07:00
imonlinux 7654d43e09 Introduced a bug that fires during HA registration 2025-09-14 18:02:19 -07:00
imonlinux 38fc8227f3 Fix watchdog misfire in mpv_player.py
The current watchdog is a simple “N-seconds since play()” timer, so it can fire during legit playback (longer TTS, slower network). Convert it to a no-progress watchdog that only trips if mpv makes no progress for N seconds.
2025-09-14 11:54:54 -07:00
imonlinux a0c5af9d4c Modifed mpv_player.py to support PA and ALSA
1. **`linux_voice_assistant/mpv_player.py`**
   - Supports both **PulseAudio** and **ALSA** backends.
   - Device strings now accept:
     - Pulse: `pulse/<PA SINK NAME>` (e.g. `pulse/alsa_output.platform-soc_sound.stereo-fallback`)
     - ALSA: `alsa/plughw:CARD=seeed2micvoicec,DEV=0`
     - `default`: tries Pulse first, then ALSA.
   - Added **fast end-of-playback detection** using **either** `eof-reached` **or** `idle-active` (fixes the “hang until watchdog” after short clips).
   - Added a **watchdog** (default **8s**) to fail fast if playback never starts/finishes.
   - Pulse-friendly defaults: `audio-samplerate=44100`, `audio-channels=stereo`, `keep-open=no`, `network-timeout=7`.
   - mpv logging bridged to Python logging; level set by env **`LVA_MPV_MSG_LEVEL`** (default `all=warn`).
2025-09-13 19:58:15 -07:00
imonlinux 07eb4ed3bf Add files via upload 2025-09-11 20:45:18 -07:00
imonlinux 364aef1a74 Delete linux_voice_assistant/wakeword_indicator.py 2025-09-10 12:40:19 -07:00
imonlinux 9ccd186ae4 Revert api_server.py changes 2025-09-10 12:39:10 -07:00
imonlinux 0337d28bce Add wakeword engine indicator for HA 2025-09-10 10:04:03 -07:00
imonlinux 5d1df036f8 ChatGPT modified code for the option of using OWW
If the arguments for OWW are included, microwakeword will be disabled and OWW will be used for detection. Requires a running instance of OWW on the local machine using port 10400. If the OWW arguments are excluded, microwakeword is used for detection.

--wake-uri 'tcp://127.0.0.1:10400' \
  --wake-word-name 'marvin'
2025-09-09 16:51:44 -07:00
Michael Hansen cda08235de Remove experimental external wake words 2025-08-26 10:53:23 -05:00
Michael Hansen 4356633ed6 Rename to Linux Voice Assistant 2025-08-26 09:30:58 -05:00