Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Train HTTP Trigger Driver
#1
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
Reply
#2
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?
------------------------------------
Some of my devices: Sonos, Aeotec zWave, Nest, Rain8Net, Various H/T
What's next: CQC-Voice, Brultech GEM
My vlogs: https://www.youtube.com/c/IVBsHomeAutomation
Reply
#3
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
do the needful ...
Hue | Sonos | Harmony | Elk M1G // Netatmo / Brultech
Reply
#4
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
Reply
#5
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
Reply
#6
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.
------------------------------------
Some of my devices: Sonos, Aeotec zWave, Nest, Rain8Net, Various H/T
What's next: CQC-Voice, Brultech GEM
My vlogs: https://www.youtube.com/c/IVBsHomeAutomation
Reply
#7
(╯├é┬░□├é┬░)╯︵ ┻━┻
do the needful ...
Hue | Sonos | Harmony | Elk M1G // Netatmo / Brultech
Reply
#8
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
Reply
#9
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
Reply
#10
$#%^!

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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Trigger on Russound F1 button xlurkr 6 2,116 06-01-2020, 01:17 PM
Last Post: Dean Roddey
  RFXcom driver or Tellstick driver kernal69 8 4,281 01-25-2020, 03:06 PM
Last Post: simplextech
  Simple HTTP Call to Device from CQC mjwhite214 19 7,876 01-23-2020, 03:35 PM
Last Post: simplextech
  Dune driver wait for config error ellisr63 44 15,602 11-28-2019, 06:35 PM
Last Post: ellisr63
  Sending HTTP PUT Commands gReatAutomation 2 1,859 09-17-2019, 01:11 PM
Last Post: gReatAutomation
  TTS II Driver requirements znelbok 1 1,425 05-20-2019, 09:34 PM
Last Post: Dean Roddey
  CQC to PowerView Hub via Serial Driver Deane Johnson 18 9,804 05-14-2018, 01:11 PM
Last Post: Deane Johnson
  HAI Driver Issue avtexan 6 4,644 04-06-2018, 02:06 PM
Last Post: Dean Roddey
  Monoprice 8x8 HDMI matrix Driver NightLight 13 11,083 09-04-2017, 09:45 AM
Last Post: Dean Roddey
  ELK V2 Driver - AreaArm field & Triggers? sic0048 4 4,396 08-19-2017, 04:46 PM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)