A console-based Smart Home simulation built in C++ using Object-Oriented Programming. The system manages smart devices through a central hub and allows real-time control via simple commands.
Control smart devices (ON/OFF)
Smart Light & Thermostat support
Temperature control for thermostats
Device status monitoring
OOP-driven design with smart pointers
C++ (OOP) Inheritance & Polymorphism
Abstract Classes
shared_ptr
STL (map, string)
Command Action
toggle - Toggle device by ID
status - View all devices
exit - Quit program.
light1 – Living Room Light
thermo1 – Living Room Thermostat