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

    Topics

    • L

      Logging

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      7
      0 Votes
      7 Posts
      2k 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

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      7
      0 Votes
      7 Posts
      1k 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. [image: 1645381608767-8edfe45d-df88-4397-a3d3-af9a4650f026-image.png] You can set that text for the command in the GUI editor: [image: 1645381717228-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

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      5
      0 Votes
      5 Posts
      3k Views
      L
      @russ Very cool suggestion. Send the equivalent to pressing a local keyboard keypress.