Webhook Manager

Jorden Chamid

Voeg waardes toe aan Homey vanuit externe 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

Recensies

Deze app heeft nog geen recensies.

Je kunt een recensie achterlaten als je deze app gebruikt.

Bedankt voor je recensie.

Recensie opslaan

Schrijf een recensie

Installeer Webhook Manager op

Webhook Manager zal binnenkort op Homey installeren.

Installeren

Mis geen enkele update over Homey

Meld je aan voor onze nieuwsbrief en blijf up-to-date over Homey's functies en ontwikkelingen.