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

Running "Trigger Commands" via Windows Command Line

Windows
2
5
500
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.
  • F
    Furkan Cevik
    last edited by Dec 22, 2023, 11:43 PM

    Heyho,
    long time no see 😄 When i always get bored, i come back here to play around.
    I recently got a new Philips Hue Light in my home. It works via Bluetooth, but my Alexa was able to connect with it so I am able to just turn on/off my light by saying "Turn off/on my light".
    Now to TriggerCMD:
    I wanna control my light via a Hotkey on my keyboard. I know that the Linux Version can run Commands via CLI, but can Windows do it too? I couldnt find a .exe which supports CLI commands (maybe im blind):
    Idea:

    %TriggerCMDInstallationPath%\TRIGGERCMD-CLI.exe -trigger "Light off" --computer "%computername"
    

    This would then run the Command from my PC called "Light off", which would then do the amazon alexa action.

    I feel like you prb did this, but i am just blind to find it, prb cuz its late for me 😄
    Thanks ^^
    Furkan

    F 1 Reply Last reply Dec 22, 2023, 11:55 PM Reply Quote 0
    • F
      Furkan Cevik @Furkan Cevik
      last edited by Dec 22, 2023, 11:55 PM

      ok i think i confuse myself.
      I can not make it work to turn on/off my Lights because TRIGGERcmd isnt made for it.

      But maybe you can do it? Like i only want a way to "talk" to Alexa by saying only like "Alexa, turn on my light". Can triggercmd simulate this?

      R 1 Reply Last reply Dec 23, 2023, 3:30 AM Reply Quote 0
      • R
        Russ @Furkan Cevik
        last edited by Russ Dec 23, 2023, 3:34 AM Dec 23, 2023, 3:30 AM

        @Furkan-Cevik, you can use TRIGGERcmd to turn your Hue bulb on/off using commands like this:

        tcmd -c laptop -t light_on
        tcmd -c laptop -t light_off
        

        You can download the tcmd program for Windows here.

        You need to create a light_on and light_off command, then associate the "light_on" command with an Alexa routine that turns on the Hue bulb on, and the "light_off" command with another Alexa routine that turns the Hub bulb off.

        See this page for instructions and a Youtube video.

        For example, here's my Alexa routine that turns a few lights on whenever I trigger the "ar_lights_on" command.

        656c6d27-db3c-49e8-b25a-aa5137b0c794-Screenshot_20231222_222237_Amazon Alexa.jpg

        Russell VanderMey

        F 1 Reply Last reply Dec 23, 2023, 12:51 PM Reply Quote 0
        • F
          Furkan Cevik @Russ
          last edited by Dec 23, 2023, 12:51 PM

          @Russ Cheers Russ, works now perfectly with this 🙂
          Time to subscribe again after a year 😄
          have a nice day ^^

          R 1 Reply Last reply Dec 23, 2023, 2:54 PM Reply Quote 0
          • R
            Russ @Furkan Cevik
            last edited by Russ Dec 23, 2023, 2:55 PM Dec 23, 2023, 2:54 PM

            @Furkan-Cevik, nice, I'm glad you got it working. Also, thank you for subscribing!

            Russell VanderMey

            1 Reply Last reply Reply Quote 0
            1 out of 5
            • First post
              1/5
              Last post