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

address incomplete at trigger

General Discussion
2
3
131
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.
  • I
    Ilm Hom
    last edited by Dec 17, 2021, 10:19 PM

    Hi!
    i try to chrome open this "http://192.168.0.xxx:6095/controller?action=keyevent&keycode=power" and worked for 3 times. After that i changed only the ip address because the fist one was a test.
    The trigger is now:
    "command": "start http://192.168.0.203:6095/controller?action=keyeventkey&code=power",
    "offCommand": "",
    "ground": "foreground",
    "voice": "",
    "voiceReply": "",
    "allowParams": "false"

    but doesnt work anymore, after the "&" trigger not consider anymore in address, i saw it is "&" because if i changed the place in address, trigger only goes until that.

    I look in another issues in forum and saw a answer by Russ tell for put "c:\program file..." etc but doesnt work for me.

    Someone could help me? Thank you in advance!!!

    R 1 Reply Last reply Dec 17, 2021, 11:47 PM Reply Quote 0
    • R
      Russ @Ilm Hom
      last edited by Russ Dec 17, 2021, 11:48 PM Dec 17, 2021, 11:47 PM

      @ilm-hom, assuming you're using Chrome as your browser, you could do something like this:

      61e8ea69-b4f0-4d09-9235-718058d531a8-image.png

      This is the text version, notice the escapted quotes \" inside the json quotes.

      "command": "start chrome "http://192.168.0.203:6095/controller?action=keyeventkey&code=power"",

      You might also consider using curl instead of chrome if you don't actually need it to come up in a browser.

      Russell VanderMey

      I 1 Reply Last reply Dec 18, 2021, 12:43 AM Reply Quote 0
      • I
        Ilm Hom @Russ
        last edited by Dec 18, 2021, 12:43 AM

        @russ Thank You Very Much!!!! Worked with chrome, the only stranger thing is whitch before worked the other 3 times. Again thank you !!!!

        1 Reply Last reply Reply Quote 1
        3 out of 3
        • First post
          3/3
          Last post