## 4 The System Experiments
The proposed solution depends on the number of workers in the office as the beacon has a limited range of detecting the signal of smartphones and how wide the office is for workers. For instance, we used two types of beacons: each user has one beacon at the desk, and another beacon installed in the ceiling lighting fixture to detect the movement of the worker inside the office. \begin{table}
\begin{tabular}{c c c c c c c c} \hline \hline \multirow{2}{*}{**Cases**} & \multicolumn{6}{c}{**The Ratio of Forgetting to Toggle the Status of the System**} \\ \cline{2-7}  & **0\%** & **20\%** & **40\%** & **60\%** & **80\%** & **100\%** \\ \hline \multirow{4}{*}{**The Ratio of Occupancy**} & **100\%** & 42 & 42 & 42 & 42 & 42 & 42 \\  & **70\%** & 29 & 32 & 34 & 37 & 40 & 42 \\ \cline{1-1}  & **40\%** & 17 & 22 & 27 & 32 & 37 & 42 \\ \cline{1-1}  & **10\%** & 4 & 12 & 19 & 27 & 35 & 42 \\ \cline{1-1}  & **0\%** & 0 & 8 & 17 & 25 & 34 & 42 \\ \hline \hline \end{tabular}
\end{table} 
Table 1: The ratio of occupancy and the ratio of forgetting to toggle the status of the system for all the workers in the office. Figure 4: The history of the energy consumption at the office. Each beacon detects the signals of the smartphone by the distance and sends the received signal to the intelligent lighting system. Each worker will use the smartphone as an interface to change the target illuminance. In the next experiments, we have four workers to validate the intelligent lighting system in realizing the target for each worker. The illuminance targets 350 lx, 500 lx, 400 lx, and 600 lx are distributed for each worker, respectively. Each worker changes the illuminance target using the smartphone, and the smartphone is close to the beacon on the desk. Based on RSSI, the smartphone received the signal from the close beacon. Then the system detects the beacon and the intelligent lighting system realizes the target for each worker. The target was realized as 378.76 lx, 494.24 lx, 383.41 lx, and 581.45 lx for each worker, respectively, as depicted in Figure 6.  
After that, each worker moves to change the position inside the office. For example, worker A moved to different places inside the office in a short time, and the worker came back to the desks. The workers B and C moved as well to different places in a short time, and then they left the office. Also, worker D left the office in a short time and came back later to the office. Based on this scenario, the intelligent lighting system with beacons works properly, and the system was activated based on the user movement inside the office. In the first case of the workers,  
Figure 5: The load capacity of energy for the occupancy status compared with forgetting to toggle the status of the intelligent lighting system. Figure 6: The illuminance history of the sensor devices is during the different status of the occupancy inside the office. the intelligent lighting system does not detect the signals of beacons in the desks received by the smartphones of the workers. However, the system detected the signals of beacons in the ceiling lighting fixture received by the workers A, B, and C, while the system did not receive the signal of worker D as the worker left the office. The main purpose of the beacon on the ceiling lighting fixture is only to detect the user movement inside the office. After the workers B and C left the office, the system did not detect the signals of beacons in the ceiling lighting fixture received by the workers B and C. However, worker D came back to the office, and worker A went back to the desk, and the intelligent lighting system changed based on the user movement. The system detected the signals of beacons in the desks received by the smartphones of the workers A and D.  
The intelligent lighting system behavior changed dramatically based on the users needs and movement. The system provides the target illuminance for each user in the office, while the system controls the toggle of the status of the illuminance sensing devices based on the user movement.