5
votes

I would like to control blinds using google smart home action. How can I create commands like "turn/put my blind up/down" ? What device traits should I use? It seems OnOff trait doesn't understand up and down, can I custom it? Thanks!

1

1 Answers

0
votes

You could use the undocumented (use at your own risk) device type: action.devices.types.BLINDS.

Instead you could use for traits:

  • On/Off: action.devices.traits.OnOff
  • Brightness: action.devices.traits.Brightness

In this way, you can ask Google to set a specific position, to close (in Italian it works as a turn off command, in English, I did not try yet), to turn on or to turn off. The open command instead seems to be not recognized as a turn on command.

Hope to help you and hope that Google releases soon types and traits for blinds/curtain control.

EDIT as pointed out by @robin-thoni is not documented: https://developers.google.com/actions/smarthome/guides/blinds