Charmed Quark Systems, Ltd. - Support Forums and Community
Train HTTP Trigger Driver - Printable Version

+- Charmed Quark Systems, Ltd. - Support Forums and Community (https://www.charmedquark.com/vb_forums)
+-- Forum: General Discussion (https://www.charmedquark.com/vb_forums/forumdisplay.php?fid=3)
+--- Forum: Installation/Configuration (https://www.charmedquark.com/vb_forums/forumdisplay.php?fid=10)
+--- Thread: Train HTTP Trigger Driver (/showthread.php?tid=9384)

Pages: 1 2 3


Train HTTP Trigger Driver - jkmonroe - 06-26-2015

Dean, can you post the How-To on the HTTP Trigger driver here? There is no documentation for it. I am setting up stuff to test for when the Echo arrives.


Train HTTP Trigger Driver - IVB - 06-26-2015

jkmonroe Wrote:Dean, can you post the How-To on the HTTP Trigger driver here? There is no documentation for it. I am setting up stuff to test for when the Echo arrives.

dude thats 3 weeks away. Shouldn't you be running wires for the Elk you're going to order?


Train HTTP Trigger Driver - jkmonroe - 06-26-2015

jeez. let me get to the weekend first!

im setting up a test channel with IFTTT and Maker right now, but figured that i would start the prep for when the Echo's get delivered so the forum wouldn't be inundated with folks asking how to train the driver. Smile

also, ill have an Echo in my hands Tuesday (maybe Wednesday), so I want to get going ... :-D


Train HTTP Trigger Driver - Dean Roddey - 06-26-2015

You just send it a GET URL. You can pass query parameters if you want. The names are ignored and the values are just put together into a single, space separated string that you get as the 2nd action parameter. The first one I think is the string that invoked you.

Be careful what you use to train it. Some browsers send other things than just the URL you enter, which will mess things up, because the driver needs to see the same input a few times in a row. IE usually does OK. It'll mess up once when it sends out a query for the default icon, but after that it tends to just send the URL.


Train HTTP Trigger Driver - jkmonroe - 06-26-2015

you know how sometimes, usually when i'm helping IVB try to do something new, and i have to go step by step like ... (1) "open IE. no wait, IE is INTERNET EXPLORER. go ahead and open Internet Explorer" (2) "now in the URL bar; no, thats Google Search, go to the URL bar. no. yes, right there. Type the URL of your CQC Server, and make sure it starts with HTTP://" (3) "so put in the full string you wish to train, like http://server:port/string. No, you have to actually use your server name and your port number, and your string. You know what, just use localhost."?

can you do that for me? :-D


Train HTTP Trigger Driver - IVB - 06-26-2015

jkmonroe Wrote:you know how sometimes, usually when i'm helping IVB try to do something new, and i have to go step by step like ... (1) "open IE. no wait, IE is INTERNET EXPLORER. go ahead and open Internet Explorer" (2) "now in the URL bar; no, thats Google Search, go to the URL bar. no. yes, right there. Type the URL of your CQC Server, and make sure it starts with HTTP://" (3) "so put in the full string you wish to train, like http://server:port/string. No, you have to actually use your server name and your port number, and your string. You know what, just use localhost."?

instructions unclear, accidentally ended up reformatting my machine.


Train HTTP Trigger Driver - jkmonroe - 06-26-2015

(╯├é┬░□├é┬░)╯︵ ┻━┻


Train HTTP Trigger Driver - jkmonroe - 06-26-2015

well, i am having issues training my driver.

can someone try to train something random and let me know what browser it works from? none of mine seem to be doing anything.

it's been a while since i trained my URLs, so I could be doing something wrong, but i dont think so.

http://localhost:port/string

the webserver responds on the correct port, but i get no action with the training window open.


Train HTTP Trigger Driver - Dean Roddey - 06-26-2015

You shouldn't be talking to the web server, you need to talk to the driver itself. So whatever port you have the driver on.


Train HTTP Trigger Driver - jkmonroe - 06-26-2015

$#%^!

OK, it works. The IFTTT Maker event was *instant*. Not even a 1 second delay.

I created a Maker Receive a Web Request, and got my custom URL. I made a recipe that when the Receive Web Request URL was hit, it would Make a Web Request which was configured to CQC.

So I entered the receive URL in the browser, and my MBR light turned on.

Neat! This should be great with Echo.