• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
TRIGGERcmd
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

extending the smart home skill

General Discussion
2
3
259
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    Steve Lee
    last edited by Steve Lee Aug 30, 2023, 12:55 PM Aug 30, 2023, 12:47 PM

    One limitation I soon hit is that the smart home predefined language model of alexa only supports: on, off a number, a percentage or a colour.

    reading the skill docs I see modes are supported, ie one of a set of named values. This or similar use of custom words in utterances would be really useful in my application. You can also provide alias for words like set.

    It would be great if the commands file had a field where you provide list of words and the allowable values for each. Or other lists of words for the controls that support them.

    The spoken option could be passed as an argument to the command field. I guess it would need to be encoded as a name,value pair.

    Just an idea.

    https://developer.amazon.com/en-GB/docs/alexa/device-apis/alexa-modecontroller.html#utterances

    https://developer.amazon.com/en-GB/docs/alexa/device-apis/alexa-rangecontroller.html

    R 1 Reply Last reply Aug 30, 2023, 4:52 PM Reply Quote 0
    • R
      Russ @Steve Lee
      last edited by Russ Sep 2, 2023, 12:43 AM Aug 30, 2023, 4:52 PM

      @Steve-Lee, it might work. I'll need some time to read about it and test it. Thanks again for the suggestion.

      EDIT: I read through the Mode and Range controller docs. Neither one allows arbitrary lists of words. At this point I'm using PowerController, BrightnessController, and ColorController so you can pass on, off, a number from 0 to 100, or a color to your command as a parameter.

      Russell VanderMey

      S 1 Reply Last reply Sep 2, 2023, 5:52 PM Reply Quote 1
      • S
        Steve Lee @Russ
        last edited by Sep 2, 2023, 5:52 PM

        @Russ Oh, I must have misunderstood, they seemed to in the articles I linked. Oh well, shame and very limiting to skill creators. may words get pick on my Alexa for other purposes - eg play - so it's hard.

        1 Reply Last reply Reply Quote 0
        1 out of 3
        • First post
          1/3
          Last post