This document presents a brain-computer interface (BCI) based system for automatically adjusting smart home environments based on the user's cognitive state, as detected through a single-channel EEG acquisition module. The system architecture consists of 3 modules: 1) a wireless EEG acquisition module using Bluetooth, 2) an embedded signal processing module to detect cognitive states from alpha and theta brain waves, and 3) a host system that controls smart home devices via signals from the processing module. The system aims to adapt environments like lighting based on detected alert vs. drowsy cognitive states over a 10 minute period, providing a low-cost, portable alternative to existing BCI systems.