0

I've looked up device traits in manual https://developers.google.com/actions/smarthome/traits/ but I don't see any way to control speaker type devices (volume up/down/mute). But I see that it can control its own speaker volume, chromecast, and maybe some other smart speakers. Am I missing something or is it a functionality for some special cases and is not publicly available?

Poma
  • 8,174
  • 18
  • 82
  • 144

1 Answers1

1

There is no trait for Volume at the moment for developers to use. Even if there were, the traits would only be usable on third party devices like for smart home devices (like a smart TV).

The behavior in a Google Home is a handler specific to the client device.

Nick Felker
  • 11,536
  • 1
  • 21
  • 35
  • Are you saying if there was such a trait I won't be able to define a device that uses it? Why? I didn't understand that part – Poma Nov 29 '18 at 03:26
  • You can use a hypothetical volume trait to control the volume of your device through smart home in your cloud. However, you could not use it to control the volume of your Google Home. – Nick Felker Nov 29 '18 at 06:24
  • oh ok got it. I was trying to control my other speakers. I guess for now I'll just emulate it with brightness. – Poma Nov 29 '18 at 07:17