Skip to content

Basic deployable IoT application. Includes Broker MQTT, TimescaleDB database, Grafana and Node-RED.

License

Notifications You must be signed in to change notification settings

bonastreyair/basic_iot_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic IoT App

Basic deployable IoT application which includes:

  • Broker MQTT: mosquitto
  • Timeseries SQL database: TimescaleDB (PostgreSQL)
  • Dashboard: Grafana
  • Application: Node-RED

Requirements

  • Docker

How to use

  1. Clone the repository

    git clone https://github.com/bonastreyair/basic_iot_app.git
  2. Set configurations

    • TimescaleDB Database: .env POSTGRES_USER and POSTGRES_PASSWORD
    • Mosquitto MQTT Broker: mosquitto/config/mosquitto.conf
    • Grafana Dashboard: grafana/grafana.ini
    • Node-RED Application: node-red/settings.json
  3. Run the aplication with Docker Compose

    docker compose up -d
  4. Install Node-RED dependencies

    • node-red-contrib-re-postgres
  5. Create Database and Table using Node-RED

  6. Connect Grafana to TimescaleDB Database

About

Basic deployable IoT application. Includes Broker MQTT, TimescaleDB database, Grafana and Node-RED.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published