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

Bewertungen

Diese App hat noch keine Bewertungen.

Du kannst eine Bewertung abgeben, sobald du diese App nutzt.

Danke für deine Bewertung.

Bewertung abschicken

Eine Bewertung schreiben

Webhook Manager installieren auf

Webhook Manager wird kürzlich auf Homey installiert.

Installieren

Erfahre als Erstes von Homeys neuesten Entwicklungen.

Abonniere unseren Newsletter und bleibe über neue Homey-Funktionen, exklusive Angebote und mehr auf dem Laufenden.