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

    extending the smart home skill

    General Discussion
    2
    3
    220
    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.
    • Steve LeeS
      Steve Lee
      last edited by Steve Lee

      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

      RussR 1 Reply Last reply Reply Quote 0
      • RussR
        Russ @Steve Lee
        last edited by Russ

        @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

        Steve LeeS 1 Reply Last reply Reply Quote 1
        • Steve LeeS
          Steve Lee @Russ
          last edited by

          @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
          • First post
            Last post