Skip to Content
🚀 We just launched! Please star us on Github!

Speaker Device

Device Category: speaker

The Speaker device represents an audio output system capable of producing sound and potentially supporting media playback and input functionality.


Required Channels

These channels are mandatory for the functionality of the speaker:

ChannelDescriptionMultipleDetails
speakerControls speaker devices, including volume, mute state, and audio output modes.YesSee details
device_informationProvides metadata about the device, including manufacturer details, model information, and operational statuses.NoSee details

Optional Channels

These channels are optional and provide additional features:

ChannelDescriptionMultipleDetails
switcherOptional power control for speakers/soundbars when supported (hard power / standby).NoSee details
electrical_energyMeasures the total energy consumption over time, typically reported in kilowatt-hours (kWh).NoSee details
electrical_powerReports real-time power metrics such as voltage, current, and wattage for monitoring and diagnostics.NoSee details
media_inputManages the input sources of multimedia devices like TVs, projectors, or audio receivers.NoSee details
media_playbackProvides playback controls for multimedia devices, excluding volume control.NoSee details

Use Case Scenarios

  1. Audio Output:

    • Control volume, mute state, and audio modes using the speaker channel. Support for multiple speaker zones.
  2. Media Playback:

    • Play audio content with optional media_playback channel. Switch between input sources with media_input.
  3. Power Management:

    • Control speaker power state with optional switcher channel.

Developer Notes

  1. The speaker channel is required and supports multiple instances.
  2. Media playback and input channels are optional for smart speakers.
  3. Switcher provides power control when available.
Last updated on