address incomplete at trigger
-
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!!!
-
@ilm-hom, assuming you're using Chrome as your browser, you could do something like this:
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.
-
@russ Thank You Very Much!!!! Worked with chrome, the only stranger thing is whitch before worked the other 3 times. Again thank you !!!!