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

v2.0 refactor - modular config and VPE components #108

Open
wants to merge 9 commits into
base: v2.0
Choose a base branch
from

Conversation

tetele
Copy link
Owner

@tetele tetele commented Jan 15, 2025

Total refactoring of the config with the following updates:

  • usage of VPE components
  • split config into smaller, reusable modules (in order to serve multiple similar configs, as per this idea)
  • extraction of the touchpad self-regulating functionality from the config to ESPHome, thus saving a lot of config lines

Modular config component architecture (components can be used overlappingly, in this order):

  • base.yaml - the core of the config + LED control placeholder scripts which do nothing
  • ble_improv.yaml - implements improv over BLE
  • leds.yaml - defines the LEDs on the unit and allows external light control
  • controls.yaml - defines touchpads and buttons. Some LED control implemented based on touches
  • microphone.yaml - defines a microphone placeholder
  • media_player.yaml - defines a media player placeholder and some volume control +display automations
  • audio-nabu.yaml - implements audio devices using the VPE components, overrides microphone and media_player
  • voice_assistant-nabu.yaml - implements the voice_assistant component using audio devices defined in audio-nabu.yaml
  • micro_wake_word.yaml-nabu - implements micro_wake_word component

Lights, controls, BLE improv
@tetele tetele added enhancement Enhancement of the code, not introducing new features. breaking-change A breaking change for existing users. major This PR causes a major version bump in the version number. dependencies Upgrade or downgrade of project dependencies. refactor Improvement of existing code, not introducing new features. labels Jan 15, 2025
@tetele tetele added this to the 2.0 milestone Jan 15, 2025
@tetele tetele changed the title v2.0 refactor - modular config and VPE refactoring v2.0 refactor - modular config and VPE components Jan 15, 2025
@tetele tetele changed the base branch from main to v2.0 January 15, 2025 15:31
@tetele tetele marked this pull request as ready for review January 15, 2025 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change A breaking change for existing users. dependencies Upgrade or downgrade of project dependencies. enhancement Enhancement of the code, not introducing new features. major This PR causes a major version bump in the version number. refactor Improvement of existing code, not introducing new features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant