Webhook Manager

Jorden Chamid

Add external values to Homey webhooks

Webhook Manager Make it easier to POST information to Homey from external sources, using Webhooks. WANT TO SHOW YOUR APPRECIATION FOR THIS APP? A DONATION IS POSSIBLE VIA HTTP://WWW.D2C.NL After installing the app, go to the ‘Settings’ page and see the Webhook Manager settings. It shows the URL you can POST to and example code in PHP with the correct URL for your installation. For example, in PHP using CURL: <?php $data = array("event" => "MyEvent", "data1" => "test1", "data2" => "test2", "data3" => "test3"); $datastring = jsonencode($data); $ch = curl_init('https://webhooks.athom.com/webhook/57274085acb3bd6d24b3d200/?token='); curlsetopt($ch, CURLOPTCUSTOMREQUEST, "POST"); curlsetopt($ch, CURLOPTPOSTFIELDS, $data_string); curlsetopt($ch, CURLOPTRETURNTRANSFER, true); curlsetopt($ch, CURLOPTHTTPHEADER, array( 'Content-Type: application/json', 'Content-Length: ' . strlen($data_string)) ); $result = curl_exec($ch); var_dump ($result); ?> (You only have to fill in the token= part) WANT TO SHOW YOUR APPRECIATION FOR THIS APP? A DONATION IS POSSIBLE VIA HTTP://WWW.D2C.NL CHANGELOG VERSION 0.2.4 - Bugfix (all events were triggered) VERSION 0.2.3 - SDK v2 version VERSION 0.2.2 - Webhook now also supports GET command, just call an URL in the form of: https://webhooks.athom.com/webhook/57274085acb3bd6d24b3d200/?token=<token as shown in app>&event=<event name>&data1=<data>&data2=<data>&data3=<data> VERSION 0.2.1 - Initial release

Reviews

This app has no reviews yet.

You can leave a review once you're using this app.

Thank you for your review.

Submit review

Write a review

Install Webhook Manager on

Webhook Manager will install on Homey shortly.

Install

Be the first to hear about Homey’s latest developments.

Subscribe to our newsletter and be on top-of-mind about new Homey features, exclusive offers and more.