This document discusses building a lighting control management system (LCMS) using the Joomla framework. An LCMS is used to control and automate lighting devices. It allows for device management, scheduling, and other features. The system presented here uses Raspberry Pi devices as gateways to connect physical lights and controls to a central Joomla-based server through APIs. This provides a scalable and open-source way to build an IoT-enabled LCMS.