silkeh/cloudburst

By silkeh

Updated about 3 years ago

Cloudburst is an HTTP/CoAP SenML broker

Image
0

377

CloudBurst

CloudBurst is an HTTP/CoAP frontend for storing/retrieving SenML in/from InfluxDB using a simple API.

This docker image makes it easy to run CloudBurst in Docker. The docker compose file and example configuration can be used to host a simple Cloudburst instance with HTTP and CoAP (udp and tcp) listeners against an InfluxDB2 backend.

Using this compose file, data can be submitted over both HTTP and CoAP. For example:

curl -D- \
     -X POST \
     -H 'Content-Type: application/json' \
     -d '[{"bn":"urn:dev:ow:10e2073a0108006:","bt":1.276020076001e+09,"bu":"A","bver":5,"n":"voltage","u":"V","v":120.1},{"n":"current","t":-5,"v":1.2},{"n":"current","t":-4,"v":1.3},{"n":"current","t":-3,"v":1.4},{"n":"current","t":-2,"v":1.5},{"n":"current","t":-1,"v":1.6},{"n":"current","v":1.7}]' \
     http://localhost:8080/api/v1

And to retrieve the data:

curl -H "Accept: application/json" http://localhost:8080/api/v1

Docker Pull Command

docker pull silkeh/cloudburst