Skip to content
Faryan Rajabi
All work

Real-Time Monitoring and Data Architecture

Public repository

Smart Home IoT System

Microservices-based IoT system for real-time monitoring, alerts, and device control across a multi-level building.

In numbers

In numbers

sensor types
2
MQTT actuators
2
public MQTT brokers tested
3

Context

A microservices-based IoT system for real-time monitoring, alerts, and device control, covering temperature and voltage across building, floor, and room levels.

Approach

I built the system as Python microservices communicating over MQTT, with a central device catalog, thresholds, alerts, and REST APIs.

MQTT communication was tested with 3 public brokers, and sensor data was stored in InfluxDB Cloud.

Features

  • Real-time monitoring

    Temperature and voltage monitoring across building, floor, and room levels.

  • Device catalog

    A central catalog of devices shared by the services.

  • Thresholds and alerts

    Configurable thresholds that raise alerts.

  • Telegram notifications

    Alerts delivered through Telegram.

  • MQTT actuators

    2 MQTT actuators for device control.

  • REST APIs

    REST APIs alongside MQTT messaging.

Architecture

  1. Devices
    • 2 sensor types
    • 2 MQTT actuators
  2. Messaging
    • MQTT
    • 3 public brokers tested
  3. Services
    • Python microservices
    • Device catalog
    • Thresholds and alerts
    • REST APIs
  4. Data and alerts
    • InfluxDB Cloud
    • Telegram notifications

Tech stack

  • Python
  • MQTT
  • Microservices
  • REST APIs
  • InfluxDB Cloud
  • Telegram