Commit Graph
9 Commits
Author SHA1 Message Date
imonlinux 6866358dfe Update config.py
Add volume max percentage and config for volume sync.
2026-01-06 13:36:28 -08:00
imonlinux cfc24f6b73 Update config.py
Fix self shot foot.
2026-01-06 12:03:44 -08:00
imonlinux eb4c4c26c8 Update config.py
What this fixes:

On boot, if PipeWire/Pulse starts with the sink at ~40%, LVA now pushes the sink volume to match the persisted LVA volume (0.0–1.0).

When you move the HA media_player volume slider, LVA now updates:

wpctl (PipeWire) if available

pactl (PulseAudio / PipeWire-Pulse) if available

amixer (ALSA) as a fallback

No reboot / alsactl store required — LVA simply re-applies the persisted volume at start.
2026-01-05 21:51:21 -08:00
imonlinux 70079d6a61 Update config.py
Bug fix.
2025-12-09 07:57:02 -08:00
imonlinux a52b503cdb XVF3800 Mute Button Support
linux_voice_assistant/config.py – adds button.mode + poll_interval_seconds
2025-12-08 11:31:18 -08:00
imonlinux edc66183c3 Update config.py
Added a new ButtonConfig dataclass:

enabled: bool = False

pin: int = 17 (BCM pin for the button)

long_press_seconds: float = 1.0

Extended the main Config dataclass with a button: ButtonConfig field.

Updated load_config_from_json() to construct button_config from the "button" section in config.json.

This allows enabling/disabling the button, changing the GPIO pin, and tuning the long-press threshold (and optional poll interval) without code changes.
2025-11-29 23:40:16 -08:00
imonlinux f033595649 Update config.py
Added download_dir and removed old oww_ model paths
2025-11-17 20:17:44 -08:00
imonlinux d2a9057dde Update config.py
Updated for the new soundcard library
2025-11-17 20:17:08 -08:00
imonlinux 94e13f2c13 Add linux_voice_assistant/config.py
Adds new dataclasses (AppConfig, AudioConfig, LedConfig, etc.) to define the application's configuration structure. Includes a load_config_from_json() helper to parse the JSON file and provide default values for any omitted sections
2025-11-17 17:13:02 -08:00