# dustin-08/led_fever_control_wemeet architecture

> Architecture diagram of the GitHub repository dustin-08/led_fever_control_wemeet, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-05-07). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/dustin-08/led_fever_control_wemeet
- Repository: https://github.com/dustin-08/led_fever_control_wemeet

## Overview

##### File structure
– firmware/ or src/: embedded C/C++ or MicroPython code that drives the LEDs
– web-client/ or mobile-client/: code for the “WeMeet” user interface
– backend/ or api/: a REST or WebSocket service coordinating commands between UI and hardware
– docs/, configs/, scripts/: build/deploy tooling

##### README for additional insights
– Hardware platform (e.g., ESP32, Arduino Mega)
– Communication protocol (e.g., Wi-Fi, BLE)
– Description of “WeMeet” (web dashboard, mobile app, video‐call integration?)

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Documentation
    Documentation["Project Documentation"]:::external
    click Documentation "https://github.com/dustin-08/led_fever_control_wemeet/blob/main/README.md"

    %% Hardware Domain
    subgraph "Hardware Domain"
        HC["LED Microcontroller Board"]:::hardware
        subgraph "Firmware Module"
            HAL["Hardware Abstraction Layer"]:::firmware
            Pattern["Pattern Engine"]:::firmware
            NetClient["Network Client"]:::firmware
            Sensor["Sensor Interface"]:::firmware
        end
    end

    %% Network Connectivity
    Network["Wi-Fi / BLE Connectivity"]:::external

    %% Cloud Domain
    subgraph "Cloud Domain"
        subgraph "Backend Service"
            API["API Gateway (REST/WebSocket)"]:::cloud
            MQTT["MQTT Broker"]:::cloud
            Auth["Auth Service (OAuth/TLS)"]:::cloud
        end
        subgraph "Databases & Monitoring"
            DB["MongoDB / PostgreSQL"]:::cloud
            Cache["Redis Cache"]:::cloud
            Grafana["Grafana Monitoring"]:::external
        end
    end

    %% WeMeet UI
    subgraph "WeMeet UI"
        WebApp["WeMeet Web App (React)"]:::ui
        MobileApp["WeMeet Mobile App (Flutter)"]:::ui
    end

    %% External Services
    VideoConf["Video-Conference SDK"]:::external

    %% Connections
    WebApp -->|"REST/WebSocket"| API
    MobileApp -->|"REST/WebSocket"| API
    API -->|"Publish/Subscribe"| MQTT
    MQTT -->|"MQTT over Wi-Fi/BLE"| NetClient
    NetClient -->|"Control Commands"| Pattern
    Pattern -->|"LED PWM Signals"| HC
    Sensor -->|"Telemetry Data"| NetClient
    NetClient -->|"Telemetry"| MQTT
    API -->|"Auth Requests"| Auth
    WebApp -->|"Auth Flows"| Auth
    MobileApp -->|"Auth Flows"| Auth
    API -->|"Read/Write"| DB
    API -->|"Cache Lookup"| Cache
    API -->|"Push Metrics"| Grafana
    MQTT -->|"Broker Metrics"| Grafana
    API -->|"Integration Calls"| VideoConf

    %% Styles
    classDef hardware fill:#b3ffb3,stroke:#006600,color:#000;
    classDef firmware fill:#ccffcc,stroke:#339933,color:#000;
    classDef cloud fill:#b3d1ff,stroke:#004d99,color:#000;
    classDef ui fill:#fff2b3,stroke:#b38f00,color:#000;
    classDef external fill:#e6e6e6,stroke:#666666,color:#000;
```
