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.3k
    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

      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

      RussR 1 Reply Last reply Reply Quote 0
      • RussR
        Russ @Bryan W
        last edited by Russ

        @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

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

          A 1 Reply Last reply Reply Quote 0
          • A
            alon @Bryan W
            last edited by

            @bryan-w

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

            RussR 1 Reply Last reply Reply Quote 0
            • RussR
              Russ @alon
              last edited by Russ

              @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 Reply Quote 0
              • A
                alon @Russ
                last edited by

                @russ 👍

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