TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • RussR

      Trigger a command with a Shortcut via Siri

      Mac
      • • • Russ
      5
      0
      Votes
      5
      Posts
      937
      Views

      RussR

      @gajahduduk, the sendresult.sh script is not executable by default, so you could probably solve it by running this:

      chmod +x ~/.TRIGGERcmdData/sendresult.sh

      Or make your command:

      osascript -e 'tell application "Music" to set result to "This song is " & name of current track & " by " & artist of current track & " on the " & year of current track & " album " & album of current track' | sed 's/^/"/;s/$/"/' | xargs -I{} bash ~/.TRIGGERcmdData/sendresult.sh {}

      If you run a command like this:

      curl 'https://TRIGGERcmd.com/api/run/trigger?computer=maclaptop&trigger=result&token=(your token)'

      ... and your command has {{result}} in the Voice Reply field, you'll get a response like this:

      {"message":"Trigger sent. Result was: YOURRESULT"}

      So your Shortcut will need to parse that message using "Get Dictionary Value".

      This post has some detail about it.

      EDIT: I changed that response to the following to make it easier to get the command's result.

      {"message":"Trigger sent. Result was: YOURRESULT", "result":"YOURRESULT"}
    • G

      Alexa Plus

      Alexa
      • • • gajahduduk
      4
      0
      Votes
      4
      Posts
      23
      Views

      RussR

      @gajahduduk, ok - you're right you do have to use one the Trigger Command, TC, or TRIGGERcmd skill to hear the result of your command.

      To answer your question about adding that to the new TRIGGERcmd Smart Home skill - no, it's not possible.

    • TheDreamer68T

      TRIGGERcmd with Smarthings using Schema Cloud Connector

      General Discussion
      • smartthings • • TheDreamer68
      4
      1
      Votes
      4
      Posts
      176
      Views

      RussR

      @Cristian-Dindinelli, yes so far I haven't been able to get it working after the recent change Samsung made.

    • ?

      TRIGGERcmd not starting at boot

      General Discussion
      • • • A Former User
      50
      1
      Votes
      50
      Posts
      4.1k
      Views

      Fabrizio HolsteinF

      @Russ yes, when I run manualy it start.

    • G

      Crashing & translocation & ARM

      Mac
      • • • gajahduduk
      9
      0
      Votes
      9
      Posts
      198
      Views

      RussR

      @gajahduduk, that's great. Thank you for testing it and letting me know.

    • Jordel MirandaJ

      TriggerCMD não carrega a tela de comandos

      Windows
      • • • Jordel Miranda
      2
      0
      Votes
      2
      Posts
      5
      Views

      RussR

      @Jordel-Miranda, I think you have something in your commands.json that's causing the issue. Please try renaming it. It's in this folder:

      C:\Users\(your user)\.TRIGGERcmdData
    • RussR

      New SmartThings integration (2023)

      Announcements
      • smartthings • • Russ
      45
      0
      Votes
      45
      Posts
      5.9k
      Views

      Cristian DindinelliC

      @Cristian-Dindinelli said in New SmartThings integration (2023):

      hi, i just changed my pc and i messed up everything so i deleted triggercmd from smartthing, but now i can't install it anymore. This link https://developer.smartthings.com/workspace/projects/new won't make me create a new project but send me to an other page.

      After some extra step, I could connect to smartthing, but only devices with "voice" command are shared, any advice?

    • RussR

      Trigger your commands in VR with Immersive Home

      Home Assistant
      • • • Russ
      1
      0
      Votes
      1
      Posts
      5
      Views

      No one has replied

    • RussR

      Upgrade all of your software.

      Windows
      • • • Russ
      1
      0
      Votes
      1
      Posts
      130
      Views

      No one has replied