Text this: Optimized smart home energy management system: Reducing grid consumption and costs through real-time pricing and hybrid architecture