Giter Club home page Giter Club logo

brood's Introduction

Brood

Brood uses Docker for infrastructure management. To use this repository, make sure you have Docker installed on your target machine.

Brood consists of the following software

  • VerneMQ - MQTT
  • InfluxDB - Timeseries database
  • Grafana - Timeseries visualization
  • Brood - Middleware

Brood forces an encrypted MQTT connection. The following steps show how to create self-signed certificates to get RosettaHome talking to Brood.

  1. $ cd priv
  2. $ ../script/generate_ca.sh
  3. make sure to fill in the questions
  4. copy the generated certificate .crt file to priv/ssl/ca.crt
  5. $ ../script/generate_server_crt.sh
  6. copy the generate key and certificate to priv/ssl/brood.crt and priv/ssl/brood.key respectively
  7. $ ../script/generate_client_crt.sh
  8. copy the generated key and certificate to RosettaHome's rosetta_home/app/cloud_logger/priv/ssl/cicada.key and rosetta_home/app/cloud_logger/priv/ssl/cicada.crt
  1. $ docker-compose up
  2. All logging is directed to syslog
  3. Go to http://localhost:3000
  4. Login:
  • un: admin
  • pw: admin
  1. Setup data source
  • Main Menu > Data Sources > Add data Source
    • Name: Brood InfluxDB
    • Default: true/check
    • Type: InfluxDB
    • URL: http://influxdb:8086
    • Access: Proxy
    • Database: brood
  1. Import pre-configured dashboards
  • Dashboard Menu > import
  • preconfigured dashboards are available in brood/priv/dashboards
  • Select InfluxDB data source configured above.

unfortunately Grafana does not allow for auto-selecting datasources when automatically importing dashboards, so it's manual for now

Example Dashboard

Location Overview

Location Overview

Weather

Weather

brood's People

Contributors

entone avatar johnosullivan avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.