Audio DAC Core

The audio_dac component allows your ESPHome devices to use audio DAC hardware components, allowing the playback of audio via the microcontroller from a range of sources via Media Player Components.

# Example configuration entry
audio_dac:
  - platform: ...

Platforms Copy link to header

Configuration variables: Copy link to header

  • id (Optional, ID): Manually specify the ID used for code generation.

Automations Copy link to header

audio_dac.mute_off Action Copy link to header

This action unmutes the output of the DAC.

Configuration variables:

  • id (Required, ID): The ID of the audio_dac platform.

audio_dac.mute_on Action Copy link to header

This action mutes the output of the DAC.

Configuration variables:

  • id (Required, ID): The ID of the audio_dac platform.

audio_dac.set_volume Action Copy link to header

This action sets the output volume of the DAC.

Configuration variables:

  • id (Required, ID): The ID of the audio_dac platform.
  • volume (Required, percentage, templatable): The desired volume level for the output from 0% to 100%.

See Also Copy link to header

CURRENT