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

Recensioni

Questa app non ha ancora recensioni.

Puoi lasciare una recensione dopo aver utilizzato questa app.

Grazie per la tua recensione.

Invia recensione

Scrivi una recensione

Installa Webhook Manager su

Webhook Managerverrà installato a breve su Homey.

Installa

Sii il primo a conoscere gli sviluppi più recenti di Homey.

Iscriviti alla nostra newsletter per essere sempre aggiornato sulle nuove funzionalità di Homey, le offerte esclusive e altro ancora.