DGT IoT Feed

Store and share (sensor) data in less than 15 seconds.





ESP32 Example

Storing data per subject, per subject property:

POST http://iotfeed.dgtaware.com/api/feed/update
{
  "token":"YOUR_TOKEN",
  "subject":"livingroom",
  "values":
  {
    "temperature":23.5,
    "humidity":61
  }
}

Optionally provide the unit:

POST http://iotfeed.dgtaware.com/api/feed/insert
{
  "token":"YOUR_TOKEN",
  "subject":"livingroom",
  "property":"temperature",
  "value":23.5,
  "unit":"°C"
}

cURL Example


Storing data per subject using multiple properties:

curl -X POST http://iotfeed.dgtaware.com/api/feed/update \
-H "Content-Type: application/json" \
-d '{
  "token":"YOUR_TOKEN",
  "subject":"livingroom",
  "values":{
    "temperature":22.1,
    "humidity":61.5
  }
}'

Or:

curl -X POST http://iotfeed.dgtaware.com/api/feed/insert \
-H "Content-Type: application/json" \
-d '{
  "token":"YOUR_TOKEN",
  "subject":"livingroom",
  "property":"temperature",
  "value":22.1,
  "unit":"°C"
}'

Using a Form


You can also use a form to submit data: