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

Recensioner

Den här appen har inga recensioner än.

Du kan lämna en recension när du använder den här appen.

Tack för din recension.

Skicka recension

Skriv en recension

Installera Webhook Manager på

Webhook Manager installeras på Homey inom kort.

Installera

Bli den första att höra om Homeys senaste utveckling.

Prenumerera på vårt nyhetsbrev och så får du veta allt om nya Homey-funktioner, exklusiva erbjudanden och mer.