/SmartHomeControlSystem

A C++ simulation of a smart home control system

Primary LanguageC++

SmartHomeControlSystem

A C++ simulation of a smart home control system

Features

  1. Multiple smart device types:
    • SmartLight
    • SmartThermostat
    • SmartLock
    • SmartCamera
    • SmartSpeaker
  2. Device control and status monitoring
  3. Energy usage tracking and reporting
  4. Scheduling system for automated actions
  5. User notification system
  6. User preferences management
  7. Voice control simulation

Getting Started

Prerequisites

  • C++17 compatible compiler (e.g., GCC 7+, Clang 5+, MSVC 2017+)
  • CMake 3.10 or higher

Building the Project

  1. Clone the repository: git clone this repo cd SmartHomeControlSystem

  2. Create a build directory and navigate to it: mkdir build cd build

  3. Generate the build files: cmake ..

  4. Build the project: cmake --build .

Running the Project

After building, you can run the executable:

  • On Unix-like systems: ./SmartHomeControlSystem
  • On Windows: SmartHomeControlSystem.exe

Usage

The Smart Home Control System provides a text-based interface for interacting with various smart devices. Follow the on-screen prompts to:

  1. Add new devices
  2. Control devices (turn on/off, adjust settings)
  3. View device status
  4. Set up schedules for automated actions
  5. View energy usage reports
  6. Manage user preferences
  7. Use voice control simulation