Posts: 3,716
Threads: 196
Joined: Aug 2006
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.
do the needful ...
Hue | Sonos | Harmony | Elk M1G // Netatmo / Brultech
Posts: 7,970
Threads: 554
Joined: Mar 2005
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?
Posts: 3,716
Threads: 196
Joined: Aug 2006
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.
also, ill have an Echo in my hands Tuesday (maybe Wednesday), so I want to get going ... :-D
do the needful ...
Hue | Sonos | Harmony | Elk M1G // Netatmo / Brultech
Posts: 40,483
Threads: 491
Joined: Aug 2002
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.
Dean Roddey
Explorans limites defectum
Posts: 3,716
Threads: 196
Joined: Aug 2006
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
do the needful ...
Hue | Sonos | Harmony | Elk M1G // Netatmo / Brultech
Posts: 7,970
Threads: 554
Joined: Mar 2005
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.
Posts: 3,716
Threads: 196
Joined: Aug 2006
(╯├é┬░□├é┬░)╯︵ ┻━┻
do the needful ...
Hue | Sonos | Harmony | Elk M1G // Netatmo / Brultech
Posts: 3,716
Threads: 196
Joined: Aug 2006
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.
do the needful ...
Hue | Sonos | Harmony | Elk M1G // Netatmo / Brultech
Posts: 40,483
Threads: 491
Joined: Aug 2002
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.
Dean Roddey
Explorans limites defectum
Posts: 3,716
Threads: 196
Joined: Aug 2006
$#%^!
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.
do the needful ...
Hue | Sonos | Harmony | Elk M1G // Netatmo / Brultech
|