SmartFall Docs

SmartFall Documentation

Welcome to the SmartFall documentation. SmartFall is an advanced IoT-based fall detection and health monitoring system designed for independent living and eldercare.

What is SmartFall?

SmartFall is a comprehensive platform that combines wearable IoT devices with cloud-based analytics to detect falls, monitor health metrics, and enable real-time alerts for caregivers. The system supports:

  • Real-time fall detection with multiple confidence levels
  • Vital sign monitoring (heart rate, oxygen saturation, blood pressure)
  • Multi-user management (patients, caregivers, administrators)
  • Device management with firmware updates and status monitoring
  • Secure authentication with role-based access control

Key Features

  • IoT Integration: Seamless sensor data streaming from wearable devices
  • Database Adapter Pattern: Flexible database provider switching (Prisma/Convex)
  • REST API: 48+ endpoints for device management, fall detection, and patient monitoring
  • Real-time Notifications: Immediate alerts for fall events and anomalies
  • Multi-role Dashboard: Patient, caregiver, and admin interfaces
  • Responsive Design: Mobile-first UI for on-the-go monitoring

Documentation Structure

Getting Started

Quick start guide, installation instructions, and environment setup.

Architecture

System design, database adapter pattern, IoT pipeline, and authentication flow.

API Reference

Complete documentation for all 48 REST API endpoints, organized by resource type.

Database

Schema overview, 10 database models, and Prisma vs. Convex comparison.

IoT Device

Sensor stream format, fall detection algorithms, device status, and firmware integration.

Frontend

Patient dashboard, caregiver dashboard, admin dashboard, and authentication pages.

Deployment

Deployment guides for Vercel and Docker environments.

Admin Guide

User management, device management, fall management, and system logs.

  • GitHub Repository: View the source code
  • API Base URL: https://smartfall.example.com/api (production)
  • Device Documentation: See IoT Device for sensor integration

Getting Help

If you encounter issues or have questions:

  1. Check the relevant documentation section
  2. Review the API reference for your use case
  3. Check the admin guide for system management questions

Last updated: March 2026