Now you can get the result of a remote command in your API response.



  • Here's a Youtube video to demonstrate: https://youtu.be/q0Uu4SNFKFY

    You can use the https://www.triggercmd.com/api/run/triggerSave API or the tcmd tool to see the result of the remote command. The Youtube video shows me using the tcmd utility to call the API.

    Send the result back to the server using the SendResult.bat (or .sh) script in the .TRIGGERcmdData subfolder of your user's home folder.

    The script only has about 4 seconds to send the result.

    The SendResult script has to run in the context of a running remote command - generally as the last command in a script.

    Your command's "Voice Reply" field has to have {{result}} in it because that's the result's placeholder in the voiceReply field the API returns.


Log in to reply