Skip to main content

Configuration

Configure Aida Platform for your specific building and requirements.

Environment Configuration

Frontend Configuration

Configure the React frontend application:

# API Configuration
VITE_API_BASE_URL=http://localhost:8000/api
VITE_WS_URL=ws://localhost:8000/ws

# Supabase Configuration
VITE_SUPABASE_URL=https://your-project.supabase.co
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key

# Feature Flags
VITE_ENABLE_AI_ASSISTANT=true
VITE_ENABLE_VOICE_CONTROL=true
VITE_ENABLE_ANALYTICS=true

Backend Configuration

Configure the Node.js backend server:

# Database Configuration
LOCAL_DATABASE_URL=postgresql://aida_user:aida_password@localhost:5432/aida_platform
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_SERVICE_ROLE_KEY=your_service_role_key

# Server Configuration
PORT=8000
NODE_ENV=development
JWT_SECRET=your_jwt_secret_key

# Feature Configuration
ENABLE_AI_FEATURES=true
ENABLE_VOICE_CONTROL=true
ENABLE_ANALYTICS=true

Building Configuration

Building Setup

Configure your building structure:

  1. Building Information

    • Name and address
    • Building type and size
    • Number of floors
    • Total area
  2. Floor Configuration

    • Floor names and numbers
    • Floor area and layout
    • Floor-specific settings
  3. Zone Configuration

    • Zone names and types
    • Zone boundaries
    • Zone-specific settings

Device Configuration

Configure smart devices:

  1. Device Discovery

    • Auto-discover devices on network
    • Manual device addition
    • Device type configuration
  2. Device Mapping

    • Map devices to zones
    • Configure device properties
    • Set up device relationships
  3. Device Control

    • Configure control parameters
    • Set up device schedules
    • Configure device automation

User Management

User Roles

Configure user roles and permissions:

  • Admin: Full system access
  • Facility Manager: Building management
  • IT Director: Technical configuration
  • Energy Analyst: Energy management
  • User: Basic device control
  • Guest: View-only access

Authentication Setup

Configure authentication methods:

  1. Supabase Authentication

    • Enable email/password login
    • Configure OAuth providers
    • Set up 2FA
  2. Local Authentication

    • Configure local admin accounts
    • Set up emergency access
    • Configure password policies

System Configuration

Performance Settings

Optimize system performance:

  • Caching: Configure Redis caching
  • Database: Optimize database settings
  • API: Configure API rate limiting
  • WebSocket: Configure real-time updates

Security Settings

Configure security features:

  • Encryption: Set up data encryption
  • Access Control: Configure permissions
  • Audit Logging: Enable audit trails
  • Network Security: Configure firewalls

Next Steps


Configuration complete! Your Aida Platform is now ready for use.