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

    address incomplete at trigger

    General Discussion
    2
    3
    110
    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.
    • Ilm HomI
      Ilm Hom
      last edited by

      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!!!

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

        @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

        Ilm HomI 1 Reply Last reply Reply Quote 0
        • Ilm HomI
          Ilm Hom @Russ
          last edited by

          @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
          • First post
            Last post