Connect Guardian

Featured
to Product
IoT ESP8266 Python Web development Networking Server configuration
Technical preview of the Connect Guardian IoT sensor project

Overview

Connect Guardian is a full-stack IoT platform for connecting sensors and other devices to a web dashboard. It combines ESP8266 boards, custom hardware, and a web application into one system for monitoring sensor data and controlling connected devices.

The project was created as a third-year school project at Resslova Secondary School.

Technologies

  • ESP8266 boards for sensor and device integration.
  • React and Vite for the web application.
  • Chakra UI for the frontend component library.
  • Python and FastAPI for the backend API.
  • MariaDB for persistent data storage.
  • NAS hosting and network configuration.

Devices

ESP board number 1 with sensors, button, servo motor and breadboard

ESP #1 with multiple peripherals.

ESP board number 2 with a relay module

ESP #2 with a relay module and RGB LED control.

ESP board number 3 with a magnet sensor

ESP #3 with a magnetic sensor.

Dashboard

The dashboard gives users a single place to view the devices they own, inspect their sensor data, and control connected hardware.

The dashboard used the following technology stack:

Server & Networking

The project was hosted on a personal NAS. DNS records, NAT, and a public IP address routed external traffic to the services running on the device.

Database

The database stored users and their credentials, JWT tokens, homes, boards, and connected devices.

A separate data_record table stored historical sensor readings for display as charts in the user dashboard.

Schema

Database schema