TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. legtod2
    3. Topics
    L
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 12
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by legtod2

    • L

      Logging

      General Discussion
      • • • legtod2
      7
      0
      Votes
      7
      Posts
      382
      Views

      RussR

      @legtod2, if you want to use the TRIGGERcmd Smart Home Alexa skill to turn on and turn off galculator, I'd recommend using the offCommand field like this:

      {"trigger":"Open Calculator","command":"/home/pi/open_galc.sh","offCommand": "/home/pi/close_galc.sh","ground":"foreground","voice":"calculator","allowParams": "true"},

      Notice I set "allowParams": "true" which is necessary to use offCommand, but because you're using offCommand, your /home/pi/open_galc.sh command won't receive the on parameter.

      Alternatively you could use one shell script that expects the on or off parameter like I did here.

    • L

      Echo show cards

      General Discussion
      • • • legtod2
      7
      0
      Votes
      7
      Posts
      212
      Views

      RussR

      @legtod2, I remember your fruitbox jukebox project. It's a cool idea. I might end up dedicating one of my own Pi's to that use-case.

      You're apparently using the TRIGGERcmd or TRIGGER command skill. Both of those skills allow you to specify text that Alexa will say and display after the command runs.
      8edfe45d-df88-4397-a3d3-af9a4650f026-image.png

      You can set that text for the command in the GUI editor:
      37419987-f5b0-4523-8ea3-044ce681b730-image.png

      In my commands.json it looks like this:

      "voiceReply": "Also try, \"Alexa, next song.\"",

      BTW, for "Alexa, next song" to work, you'd need to create an Alexa Routine to run the next song command when you say that.

    • L

      Alexa -->TriggerCmd-->Pi-->Fruitbox Jukebox integration

      General Discussion
      • • • legtod2
      5
      0
      Votes
      5
      Posts
      484
      Views

      L

      @russ Very cool suggestion. Send the equivalent to pressing a local keyboard keypress.