GEMESH is a universal IoT gateway designed for smart homes and buildings, integrating Blockchain, IoT, Fog, and Cloud technologies to enable secure, decentralized control and real-time monitoring. It supports predictive maintenance, device interoperability, and data integrity through smart contracts and edge computing.