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

Is it possible to use IFTTT to issue a command to multiple computers?

General Discussion
3
6
2.4k
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.
  • B
    Bryan W
    last edited by Mar 7, 2018, 4:06 AM

    I'm trying to make a command that will put both of my PCs into hibernation when I say, "Hey Google, turn off my computers." I've tried messing with the webhook a little, but I really don't know what I'm doing haha. I have an identical command set up on two PCs called "Hibernate" and I'm capable of hibernating them individually, but it would be nice if I could tell them both to hibernate with just a single command.

    Thanks for the help!

    (Here's a picture of something I've tried)
    https://gyazo.com/3f556b4ea17c748976a39b6ad55c111a

    R 1 Reply Last reply Mar 8, 2018, 12:51 AM Reply Quote 0
    • R
      Russ @Bryan W
      last edited by Russ Mar 8, 2018, 12:54 AM Mar 8, 2018, 12:51 AM

      @bryan-w, the TRIGGERcmd API only allows one trigger per API call, and IFTTT only allows one thing in the That slot in the If This then That formula.

      If you want to multiple API calls at one time, I recommend using Stringify instead of IFTTT.

      This screenshot shows how you'd have a command run on two computers at once:

      TRIGGERcmd Stringify2

      Setup each Connect: Maker like this:

      TRIGGERcmd Stringify3

      Install it by searching for Stringify in the Home app:
      TRIGGERcmd Stringify1

      Russell VanderMey

      1 Reply Last reply Reply Quote 0
      • B
        Bryan W
        last edited by Mar 8, 2018, 7:06 AM

        Thank you for the help, I'll try that out!

        A 1 Reply Last reply Mar 24, 2018, 8:54 AM Reply Quote 0
        • A
          alon @Bryan W
          last edited by Mar 24, 2018, 8:54 AM

          @bryan-w

          Another idea is for one of your triggers to trigger the other one using an API call for example using curl.

          R 1 Reply Last reply Mar 24, 2018, 9:59 PM Reply Quote 0
          • R
            Russ @alon
            last edited by Russ Mar 24, 2018, 10:00 PM Mar 24, 2018, 9:59 PM

            @alon, good idea. I didn't think of that, but yea that's smart - you'd make a script with multiple curl commands that run other commands via TRIGGERcmd.

            https://www.triggercmd.com/forum/topic/25/use-curl-to-run-a-command-via-the-api

            Russell VanderMey

            A 1 Reply Last reply Mar 24, 2018, 11:48 PM Reply Quote 0
            • A
              alon @Russ
              last edited by Mar 24, 2018, 11:48 PM

              @russ 👍

              1 Reply Last reply Reply Quote 0
              • First post
                Last post