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

    Trigger an Alexa or SmartThings device?

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 555 Views 1 Watching
    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.
    • T Offline
      TomberWolf
      last edited by

      Dear community,

      I'm completely new with TRIGGERcmd, so please excuse if this was asked before, I wasn't able to find something about that.

      I want TRIGGERcmd to trigger an Alexa device or a SmartThings (virtual)device to be able to switch off a smart plug after the PC was shutted down.

      Is this possible?

      Stay healthy and best regards

      Tom

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

        @TomberWolf, good question. You can have TRIGGERcmd run a "curl" command that calls the IFTTT Webhooks API to run an applet that turns your SmartThings switch on.

        You'll need your IFTTT webhooks key, which you can get at this page:
        https://ifttt.com/maker_webhooks/settings

        You'll see a URL like this: https://maker.ifttt.com/use/**asdfasdfblahblah**

        The bold part of that URL is your webhooks key.

        Setup a TRIGGERcmd command like this, where front_light is your Webhook applet's Event Name.

        curl https://maker.ifttt.com/trigger/front_light/with/key/asdfasdfblahblah
        

        When you make your applet, search for Webhooks as your This part.

        85f37092-5ae6-47a6-b3eb-b2f75ff0e684-image.png

        e0c34fde-96a7-45ce-960d-170a17cd0ba1-image.png

        If you use Windows, you can download curl from here.

        Russell VanderMey

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post