AudioVolume device driver help

I was wondering what capabilitys are required in my custom driver for google home to recognise it as an audio device.

Im writing the driver for my old pioneer stereo for control over telnet, would also like to know if it would be possible to change inputs from the google home and use the mute function.

AudioVolume, and probably switch would be my guess.

AudioVolume

Device Selector

capability.audioVolume

Driver Definition

capability "AudioVolume"

Attributes

mute - ENUM ["unmuted", "muted"]

volume - NUMBER, unit:%

Commands

mute()

setVolume(volumelevel)

volumelevel required (NUMBER) - Volume level (0 to 100)

unmute()

volumeDown()

volumeUp()

1 Like