Skip to content

swgiacomelli/home-sensor-network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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