The automatic control operates lighting, air conditioning, and sound devices inside and outside the mosque automatically according to the pre-programming of prayer times, in addition to the techniques of automatic closing and locking of doors and lighting, ventilation and air conditioning systems, and even water after finishing the prayer to save water and .electricity