Smart Hajj

A research gateway for safer Hajj health monitoring pilots.

Smart Hajj connects ESP32 BLE telemetry, an iOS/Android gateway app, and a pilot FastAPI backend so engineering teams can validate low-power pilgrim monitoring workflows before field deployment.

Mode
Internal beta
Transport
ESP32 BLE
API
HTTPS-ready pilot
RX ESP32-C3
TX ECG stream
HTTPS API api.smarterhajj.com pilot telemetry endpoint

Research prototype supported by KAUST and the Communication and Computing Systems Lab.

KAUST King Abdullah University of Science and Technology

Built for practical pilot validation.

The current system is designed to test the engineering loop from low-power hardware capture through mobile upload and server-side storage, not to deliver clinical diagnosis.

01

BLE telemetry gateway

The mobile app connects to HajjHealth ESP32-C3 nodes, reassembles chunked BLE payloads, and handles JSON and binary session frames.

02

Offline upload queue

Telemetry is queued locally when the pilot server is unreachable and retried when network connectivity returns.

03

Mock inference boundary

Server responses expose activity and risk indicators while clearly reserving clinical inference for future validated research work.

04

Field deployment path

Runtime capture windows, mode-aware data layouts, CSV exports, and HTTPS deployment notes support repeatable field rehearsals.

A measured end-to-end research loop.

Smart Hajj focuses on the gateway layer between prototype sensors and secure research infrastructure.

  1. 1

    ESP32 sensor nodes

    RX and TX nodes capture temperature, IMU, ECG, and derived heart-rate data.

  2. 2

    Smart Hajj mobile app

    The app scans, connects, buffers BLE frames, displays live status, and queues uploads.

  3. 3

    HTTPS pilot API

    Telemetry is posted to the pilot backend for validation, storage, and response parsing.

  4. 4

    Research exports

    SQLite, JSONL backup, CSV export, and live CSV mirrors support downstream analysis.

Designed for feasibility testing with safety-first language.

The prototype helps internal teams study whether lightweight wearable nodes and a phone gateway can support situational awareness during Hajj operations. It does not replace medical judgment, emergency services, or approved clinical monitoring systems.

Current pilot boundaries

  • Internal TestFlight distribution for team evaluation.
  • Prototype sensor data and mock/research inference only.
  • Participant IDs should remain pseudonymous during testing.
  • Formal study deployment requires institutional and legal review.

Before installing the beta.

Is Smart Hajj a medical device?

No. It is a research prototype for pilot testing and engineering validation. It should not be used as the sole basis for medical decisions.

Can iOS testers use real BLE hardware?

Yes, a physical iPhone is required for real BLE testing. Simulators are useful for UI, privacy notice, settings, and server checks.

Which URLs are used for App Store Connect?

Use the public Privacy Policy, Terms of Use, and Support pages on this domain after confirming the support contact is monitored.

Internal beta distribution is coming soon.

Team members will receive TestFlight invitations after the iOS build is archived, uploaded, processed, and assigned to an internal tester group.

View beta support