Charmed Quark Systems, Ltd. - Support Forums and Community

Full Version: Train HTTP Trigger Driver
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
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.
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?
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
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.
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
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.
(╯├é┬░□├é┬░)╯︵ ┻━┻
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.
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.
$#%^!

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.
Pages: 1 2 3