Webhook Driver

Information

Accepts data delivered from the web via REST webhooks.

Driver InfoDetail
Driver Type:Live Only
Platforms:All

Driver Settings

This driver has a couple of options.

OptionDescription
Port NumberThe HTTP port that requests will be sent to
JSON KeyAdds the named JSON elements as part of the point address.

For example, a JSON key of device.id and wanted to extract the 'temp' value from the payload below…

{
   "device": "Alpha",
   "id": 92,
   "temp": 32
}

…you would use the address 'Alpha.92.temp' to bind data to the temperature.

Access Control

Before any device can send data, you'll need to register it using the webhook addon.

The basic flow is…

* In Administration, press Webhook Setup.
* Click Add Source,
* Enter a human-readable name for the device,
* Optionally, enter a set of filters as a JSON object. Any values will be required.

Once you've done this, you'll be given a unique API key you can add to your requests (either as a parameter or as an HTTP header) to sign your requests.

Installation

In Beta
This driver is not available to the general public at this point of time. It will be made available once it has undergone further testing.

If you'd like to participate in testing this driver, please contact Optrix.