This paper proposes energy-efficient solutions for the smart light-emitting diode (LED) lighting system, which provides minimal energy consumption while simultaneously satisfying illuminance requirements of the users in a typical office space. In addition to artificial light from dimmable LED lamps, natural daylight coming from external sources, such as windows, is considered as a source of illumination in an indoor environment. In order to reduce total energy consumption, the smart LED system has the possibility to dim LED lamps, resulting in reduced LED output power. Additionally, various LED lamps’ functionality, such as semi-angle of the half illuminance and LED tilting, are introduced as an additional parameter to be optimized to achieve greater energy saving of the designed system. In order to properly exploit external lighting, the idea to reduce overall daylight intensity at a users’ location is realized by the option to dim the windows with a shading factor. Based on the users’ requirements for a minimal and desired level of illumination, the proposed optimization problems can be solved by implementing different optimization algorithms. The obtained solutions are able to give instructions to a smart LED system to manage and control system parameters (LEDs dimming levels, semi-angles of the half illuminance, orientation of LEDs, the shading factor) in order to design total illumination, which ensures minimal energy consumption and users’ satisfaction related to illuminance requirements.