DATABASE-DRIVEN CONTROL ALGORITHM FOR A SMART HOME SYSTEM THAT ADAPTS TO USER HABITS
Keywords:
Smart home, adaptive control, database-driven systems, user habits, occupancy prediction, energy management, Internet of Things, user preferences.Abstract
This article proposes a database-driven control algorithm for a smart home system that adapts to user habits. The proposed approach integrates historical sensor readings, device operating records, environmental conditions, and explicit user preferences into a structured framework for household automation. Its objective is to support a balance between occupant comfort, energy efficiency, and user control through decisions informed by recurring patterns of household activity. The algorithm combines time-dependent occupancy estimates, preference profiles, and rule-based safety constraints to generate device control actions. A feedback mechanism records manual overrides and uses them to update preference estimates while distinguishing recurring choices from temporary exceptions. The database supports both operational decision-making and the traceability of automated actions. The framework is considered in the residential context of Uzbekistan, with attention to seasonal variation, household diversity, internet interruptions, and the feasibility of local data processing. An evaluation methodology is outlined using comfort deviations, energy consumption, override frequency, response latency, and system availability as performance indicators. The article presents a conceptual design and a proposed evaluation framework rather than experimentally validated performance improvements. Its contribution is an explicit connection between persistent household data, adaptive decision-making, and user supervision, providing a foundation for subsequent implementation and empirical assessment.





