swgiacomelli / home-sensor-network

A simple home sensor network in a box

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Home Sensor Network

About

This repository contains code and instructions to setup a simple home sensor network using ESP82866 modules with the Arduino IDE connected via an MQTT network backed by Mosquitto, Telegraf, InfluxDB and Grafana.

Architecture

Initially the IoT device is not configured.

IoT device creates a WiFi access point to run a configuration web server

After being configured the IoT device start publishing to the MQTT server.

Once the IoT device is configured it switches to sensor mode and connects to the MQTT server via an existing WiFi access point

Finally the backend services via the MQTT server subscribe to the sensor data published by the IoT device allowing dashboards and more to be created.

The backend database then subscribes via the MQTT server to the sensor data published by the IoT device with the dashboard connected to the database

Tutorial

Step 1 - Configuring Sensors

Step 2 - Configuring Backend Services

Step 3 - Customizing Dashboards and Monitoring

Step 4 - Securing Services [TODO]

Step 5 - Triggering Actions [TODO]

Step 6 - Custom Enclosures [TODO]

Step 7 - Next Steps [TODO]

About

A simple home sensor network in a box

License:GNU General Public License v3.0


Languages

Language:C++ 74.8%Language:Shell 7.4%Language:Python 7.1%Language:HTML 4.0%Language:JavaScript 3.4%Language:CSS 2.8%Language:Dockerfile 0.4%