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

My command doesn't trigger from the web, triggers from the app

General Discussion
2
4
1.2k
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.
  • ?
    A Former User
    last edited by Jan 2, 2018, 1:41 PM

    Hi, I created command to turn off displays, I would like to trigger it by Google Assistant. It works when I test it from the app (the displays turn off). But when I try it from the web interface or Google Assistant, nothing happens. But the log says "Command ran". Can you help?

    R 1 Reply Last reply Jan 3, 2018, 10:57 PM Reply Quote 0
    • R
      Russ @A Former User
      last edited by Russ Jan 3, 2018, 10:58 PM Jan 3, 2018, 10:57 PM

      @david-vávra, does it work to trigger Calculator and Notepad from the web?

      If even those don't run, you could try closing and re-opening the TRIGGERcmd agent.

      Also it's a foreground command right? Not background.

      Russell VanderMey

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User
        last edited by Jan 4, 2018, 2:59 PM

        @Russ It was background, it started to work when I changed it to foreground. I suggest you remove this foreground/background or rename it. It's confusing, I thought that command should be background if I have background service installed.

        R 1 Reply Last reply Jan 4, 2018, 10:29 PM Reply Quote 0
        • R
          Russ @A Former User
          last edited by Russ Jan 4, 2018, 10:30 PM Jan 4, 2018, 10:29 PM

          @david-vávra, it seems that command was actually running, but in the context of your TRIGGERcmd background service, and in that context it couldn't turn off your displays.

          The background service is meant to run things that need to be able to run while you're not logged on, like a reboot command or something. It has limited value on Windows, so I set the default to foreground. I think background commands are more useful on a Linux box because they run as root.

          Anyway, in my next version I'll try to make it clearer what that background/foreground field means.

          Russell VanderMey

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