Skip to content

Micro-service that subscribes to MQTT topics and saves to the Cloudant database

License

Notifications You must be signed in to change notification settings

openeew/openeew-ibmdatadump

Repository files navigation

OpenEEW IBM Data Dump code

Introduction

The algorithm subscribes to MQTT detections and events and saves them to IBM Cloudant storage.

Create an .env file that contains details for your Cloudant and MQTT

To build this docker image execute the following command:

docker build --tag ibm-data-dump:dev .

To run the docker image locally run the following command:

docker run \
  --interactive \
  --detach \
  --env-file .env \
  --name ibm-data-dump \
  ibm-data-dump:dev

Development

This repository is written in Python and runs Black on all Pull Request.

To install and run black linter:

pip install black
black /path/to/file

About

Micro-service that subscribes to MQTT topics and saves to the Cloudant database

Topics

Resources

License

Stars

Watchers

Forks