Design, Implementation and Power Analysis of Pervasive Adaptive Resourceful Smart Lighting and Alerting Devices in Developing Countries Supporting Incandescent and LED Light Bulbs

Nowadays, there is an increasing demand for energy saving techniques in residential, industrial, institutional, clinical and other multipurpose indoor and outdoor applications. Lights play an ubiquitous role around the Earth in all types of structures and outdoor surroundings. Hence, the authors propose a universal lighting control device—named Pervasive Adaptive Resourceful Smart Lighting and Alerting Device—accomplished mainly by the use of Arduino UNO R3. The Pervasive Adaptive Resourceful Smart Lighting and Alerting Device works in two modes, namely, light control and alert, by deploying the perceptive light automation and perceptive light automation with buzzer activation algorithms, respectively. The contributions of the paper are: a common lighting control solution for both incandescent and light emitting diode light bulbs for all indoor and outdoor environments. A profound power consumption analysis, and investigation of the proposed device by estimating the Energy Consumption Ratio (ECR) and Relative Energy Saving Ratio (RESR) through the real time deployment in diverse circumstances with 60 W incandescent, 8 W and 0.5 W LED light bulbs is executed. In addition to the evaluation of RESR and ECR characteristics the power consumption of light bulbs in terms of scalable conditions of number of light bulbs is also analyzed. The proposed model is proved to work efficiently for both incandescent and LED light bulbs.


Introduction
Smart automation is used primarily for patient monitoring [1], activity recognition [2,3] and energy management [4,5]. Though smart automation is now made possible with the enormous growth in Internet of Things (IoT); it faces three main difficulties, namely device heterogeneity, inconsistency and conflicting decisions [6]. Heterogeneity is mainly due to the varied volume and format of data from different sensors deployed for sensing the environment. These diverse data become incomparable and unpredictable, leading to contradictions when predicting the environment conditions to proceed further in a sequence of automated actions. Thus, heterogenous data causes inconsistency which eventually ends up in conflicting decisions. The electronic accessories deployed can be categorized into four types, such as basic utilities, comfort gadgets, pleasure-providing appliances and heavy Sung [6] proposed a smart LED lighting system with the use of a wireless light dimmer, a multimeter, IR modules, a touch pad as a human computer interface and a self-adaptive weighted data fusion algorithm. A smart home energy management was built with a low power microprocessor using light, humidity and temperature sensors along with a disjoint multipath routing protocol, Zigbee and IEEE 802.15.4 [31]. A LED lighting system for green buildings was presented with CC2530 for Zigbee management, MSP430 for smoothing control of LED panel, and a dimmable LPF-40D-42 MeanWell commercial driver [32]. Lighting control for multipurpose outdoor environments [33] addressed efficiency at the component level and optimized the performance of LED drivers at the system level, by defining the control strategy and associated hardware infrastructure. Pellegrino et. al. developed a lighting control system for historical buildings using daylight harvesting, absence control, Thermoken SR-MDS solar sensors, Eltako switches, Eltako actuators and ST-Microelectronics smart plugs [34]. An automation system for controlling streetlights [28], was designed with an Arduino microcontroller, a light dependent resistor (LDR) and infraredsensors. In this work, the number of vehicles crossing the street lights was also counted. Xu et. al. analyzed the energy saving potential of various lighting control strategies [35]. A wireless mesh networked lighting system [25], was considered with daylight and occupancy adaptive control through multiple sensor-equipped luminaires and a central controller. Building-in-Briefcase (BiB) [17] is a portable sensor network platform for continuous monitoring of building occupancy and the environment. A lighting automatic control system [36] made adjustments in lighting intensity, incorporating user illumination requirements based on their activities and achieved changes based on external lighting. An architecture [21], centralizing the control of lighting was merged with numerous artificial intelligence methods.
After a study of the relevant literature, the task is to provide one common solution for both  After a study of the relevant literature, the task is to provide one common solution for both indoor and outdoor lighting solutions. Also, the proposed model is suitable for developing countries that have both incandescent and light emitting diode bulbs in use. The Pervasive Adaptive Resourceful Smart Lighting and Alerting Device (PARSLAD) has an alarm system in the operation of the alert mode, so, monitoring and control can be achieved with one device. The alert mode is for future development with deep learning and video surveillance in the next upcoming work planned by the authors. Further, this is an initial prototype designed and tested on a small scale for future expansion by the authors to control surveillance and light bulbs in a city. In future, the enhanced PARSLAD system will focus on control of all the light bulbs (outdoor and indoor) along with cameras for monitoring an entire city in India. A short analysis of the proposed system in comparison with existing methods is given in Table 1.
The foremost contributions of the paper are summarized as follows: a universal adaptive and efficient lighting control device implemented through a perceptive light automation (PLA) algorithm and perceptive light automation with buzzer activation (PLABA) for smart supervision of both LED and incandescent light bulbs. Next, operation of PARSLAD in two modes of operation: light control (LC) and alert (AL) is studied. Compared to the available literature on lighting solution, the authors' Sensors 2019, 19, 2032 4 of 20 work starts with the suggestion of a unique device for controlling light along with protection actions, followed by analysis of power, energy consumption ratio (ECR) and relative energy saving ratio (RESR) of a PARSLAD prototype under diverse conditions and numerous situations. Lastly, our future work on a Raspberry Pi-based lighting control solution with surveillance features is indicated. The remainder of the paper is organized as follows: Section 2 deals with the materials and methods for the design and implementation of PARSLAD. Section 3 provides details of the power analysis of PARSLAD performance in three scenarios. Section 4 discusses the energy consumption of for different number of bulbs in varied scenarios along with the characteristics of ECR, RESR and ES and cost analysis. Section 5 concludes the paper along with future work.

Materials and Methods
Pervasive Adaptive Resourceful Smart Lighting Device (PARSLAD) uses perceptive light automation (PLA) and perceptive light automation with buzzer activation (PLABA) algorithms. The device comprises the components tabulated in Table 2. An Arduino UNO [37,38] R3 board is the heart of the circuit. The light dimmer module has AC input and an AC load port along with Vcc, ground, gate and SYNC pin. In certain models, SYNC pins are denoted as ZC or PWM pin. The gate and SYNC of the dimmer light module are connected to the 7 th and 3 rd pins of the Arduino Uno, respectively. The light dimmer works based on the zero crossing detector and opening the triac after a delay that gives a dimming effect to light bulbs [39]. The relay has six pins, with the signal pin connected to the 10 th pin of Arduino Uno board and C and NO pin given to the control device. The PiR sensor has three pins and the output pin is connected to the 2 nd pin of the Arduino Uno board. A LDR is connected between the power and the A0 pin. A push button and the buzzer are assigned to the 13 th and 5 th pin of the Arduino. All the components are supplied power through a 5 V pin and are grounded to the GND pin. Figures 2 and 3 illustrate implementation and methodology of PARSLAD with an Arduino board, respectively.
An Arduino UNO [37,38] R3 board is the heart of the circuit. The light dimmer module has AC input and an AC load port along with Vcc, ground, gate and SYNC pin. In certain models, SYNC pins are denoted as ZC or PWM pin. The gate and SYNC of the dimmer light module are connected to the 7 th and 3 rd pins of the Arduino Uno, respectively. The light dimmer works based on the zero crossing detector and opening the triac after a delay that gives a dimming effect to light bulbs [39]. The relay has six pins, with the signal pin connected to the 10 th pin of Arduino Uno board and C and NO pin given to the control device. The PiR sensor has three pins and the output pin is connected to the 2 nd pin of the Arduino Uno board. A LDR is connected between the power and the A0 pin. A push button and the buzzer are assigned to the 13 th and 5 th pin of the Arduino. All the components are supplied power through a 5 V pin and are grounded to the GND pin. Figures 2 and 3 illustrate implementation and methodology of PARSLAD with an Arduino board, respectively  7 th and 3 rd pins of the Arduino Uno, respectively. The light dimmer works based on the zero crossing detector and opening the triac after a delay that gives a dimming effect to light bulbs [39]. The relay has six pins, with the signal pin connected to the 10 th pin of Arduino Uno board and C and NO pin given to the control device. The PiR sensor has three pins and the output pin is connected to the 2 nd pin of the Arduino Uno board. A LDR is connected between the power and the A0 pin. A push button and the buzzer are assigned to the 13 th and 5 th pin of the Arduino. All the components are supplied power through a 5 V pin and are grounded to the GND pin. Figures 2 and 3 illustrate implementation and methodology of PARSLAD with an Arduino board, respectively  Two modes of operation are possible in PARSLAD-light control (LC) and alert (AL) based on the condition of the push button. In LC mode of operation, merely the lighting control works driving PLA whereas, in the AL mode, lighting control along with buzzer works to indicate intervention by stimulating with the perceptive light automation with buzzer activation algorithm. PARSLAD is operated in the LC mode for places like restrooms, small homes, offices, hospitals, institutions, all time public gathering places, roads, gardens, and parks that have frequent human intervention. AL mode functions when monitoring is required like for high security places, trespassing in restricted environments, lonely places, locked homes and offices itemized as spots with rare human intervention. Moreover the use of modes is based on the device user's choice. A comparison of two modes based on the specific functionality is tabulated in Table 3. Table 3. Comparison of two modes.

Functionality Light Control (LC) Alert (AL)
Use of mode The main purpose is energy saving. Intrusion monitoring with alarm.
Function of mode Controls light only when the PiR senses motion.
Controls lights and buzzers when the PiR senses motion.

Indoor application
In indoor applications, when the inhabitants are present.
In indoor application, when the people are away and have locked their homes. Similarly, in closed offices during holidays and a nighttime when employees are not present.

Outdoor application
In outdoor places with frequent human intervention areas like highways, malls, beaches, gardens and parks.
In outdoor places with rare human intervention like high risk places, trespassing into restricted environments, lonely places.

Future Scope of mode
Much more extensive research can enhance the mode to control all appliances (fans, computers, air conditioners).
Can be paired with GSM or a camera facility to send messages or capture images on detection of intervention. This area has wide future scope.

Future method of mode selection
Currently, in this proposed the mode is selected with a push button. In future, neural networks can be incorporated for switching between two modes which can be time-based or event-based, making the system fully automatic.
The light dependent resistor (LDR) is a variable resistor which reading fluctuates according to the incident light intensity. The conversion of LDR readings into illuminance values (lx) is performed in the PARSLAD device. The resistance value of the LDR declines with increasing light intensity. The LDR reading obtained t Arduino pin A0 is the LDR voltage referenced to 5 V. In the Arduino, 5 V is fragmented into 1024 values., so the LDR voltage at the present illumination is obtained by Equation (1) and the illuminance by Equation (2). The recommended illuminance value [40] for most types of activity lies between 300 lx and 500 lx. The threshold illuminance values are set as 300 lx and 500 lx for light operations:

Perceptive Light Automation Algorithm for Light Control Mode
PLA algorithm functions with the light bulbs in three states-ON, DIM and OFF-as tabulated in Table 4 by checking two conditions: (1) PIR sensor detection of intervention (2) Daylight detector sensing the intensity of daylight in the deployment site. On true conditions of the first case with illuminance value less than 300 lx, light bulbs will be turned on while for factual condition of the first instance with illuminance value greater than 300 lx but less than 500 lx the lights will turn to a dim state. False of the first condition will not invoke the PLA algorithm. Thus, a reduction in unwanted energy consumption is possible when there is an essential daylight distribution and when no intrusion occurs around the adjacent zone of the bulb.

Perceptive Light Automation with Buzzer Activation Algorithm for Alert Mode
PARSLAD uses the PLABA algorithm for the AL mode, operating the light bulb in three states and the buzzer for alarms in two states. The operation of the light is similar to that of the PLA algorithm but, in PLABA, the buzzer is initiated to the ALARM ON state in ON and DIM states of lights (Table 5). Specifically, the buzzer sound triggers at detection of any intervention. Therefore, this alert with buzzer helps becoming aware of any sort of snooping in highly protected places. The AL mode of PARSLAD monitors homes or offices when the usual inhabitants are unavailable. This mode empowers the PARSLAD as a surveillance system avoiding the need for a separate monitoring device and thus lessens the cost and power consumption of a separate surveillance system. Figure 4 provides the full overview of PARSLAD with PLA and PLABA in flowchart form. where, EB is the energy expended in base Scenario, EM is the energy consumed in the manually controlled scenario and Es is the energy spent in a smart scenario in KWh.

Power Analysis of PARSLAD and the light bulbs
An Absolute Native Electronics OLED USB detector which has built-in measurement devices like a voltmeter, ammeter, power capacity tester meter is used for the power analysis of devices. The range of voltage and current is 3.5-9 V and 0-3.3 A, respectively.

Power Analysis of varied scenarios of Pervasive Adaptive Resourceful Smart Lighting and Alerting Device (PARSLAD)
Details of the analysis of ten varied scenarios of the PARSLAD and with different possible combinations of daylight distribution and residents' auxiliary are provided in Table 6. The table also details the power, annual energy consumed, annual cost in both domestic and commercial conditions. Annual Kilowatt/hour values are calculated assuming that the device operates for 12 hours a day for a year, resulting in 4380 operating hours annually. Time of operation is considered 12 hours (5 pm to

Energy Assessment Parameters Introduction and Formulation
For the purpose of investigation, four energy estimation parameters are used in this paper. They are energy consumption ratio of base scenario contrary to smart scenario (ECR BS ), energy consumption ratio of manually controlled scenario counter to smart scenario (ECR MS ), relative energy saving ratio of base scenario contrary to smart scenario (RESR BS ) and relative energy saving ratio of manually controlled scenario counter to smart scenario (RESR MS ).
ECR BS and ECR MS are the ratios of energy consumed for a particular strategy by PARSLAD deployment to the energy consumed in the base and manually controlled scenario, respectively. RESR BS and RESR MS is the ratio of energy saved through use of PARSLAD device in a specific condition relative to the energy consumed in base and manually controlled scenario, respectively under the same specific conditions: where, E B is the energy expended in base Scenario, E M is the energy consumed in the manually controlled scenario and Es is the energy spent in a smart scenario in KWh.

Power Analysis of PARSLAD and the Light Bulbs
An Absolute Native Electronics OLED USB detector which has built-in measurement devices like a voltmeter, ammeter, power capacity tester meter is used for the power analysis of devices. The range of voltage and current is 3.5-9 V and 0-3.3 A, respectively.

Power Analysis of Varied Scenarios of Pervasive Adaptive Resourceful Smart Lighting and Alerting Device (PARSLAD)
Details of the analysis of ten varied scenarios of the PARSLAD and with different possible combinations of daylight distribution and residents' auxiliary are provided in Table 6. The table also details the power, annual energy consumed, annual cost in both domestic and commercial conditions. Annual Kilowatt/hour values are calculated assuming that the device operates for 12 h a day for a year, resulting in 4380 operating hours annually. Time of operation is considered 12 h (5 pm to 5 am) in a day because inclusive of all seasons, the sunrise is between 5 am and 6 am while sunset is between 5 pm and 6pm in India. The cost for the annual operation is calculated in two aspects-domestic (Dom) and commercial (Com). In India, the electricity cost differs for Dom and Com use. In both Dom and Com use, base rates are fixed based on the user consumption, so for commercial use [41], the mean cost is taken as 0.12$ (8 Rupees and 30 Paise) per unit (1 KWh) and for domestic use [42], the mean cost is taken as 0.059$ (4 Rupees and 5 Paise) per unit (1 KWh). For commercial electricity rates, the mean value considering all the distributors is calculated. For the domestic electricity rate, the mean value for cost of >500 consumption units is calculated as more homes consume more than 500 units. From Table 6, it could be noted that the annual Dom and Com consumption cost of the proposed device is very cheap and could be used in developing countries and interior village people too for effective power savings.  Table 7 charts the power analysis for the 60 W incandescent, 8 W LED and 0.5 W LED bulbs for two major conditions -deprived of PARSLAD and controlled by PARSLAD. Time of operation, domestic and commercial cost are fixed as stated above in Section 3.2.1.

Comparison of PARSLAD Performance in Three Scenarios
On a normal sunny day a real time deployment was carried out at 12.9898 • N, 80.1434 • E latitude and longitude location on 17 th August 2018. For the purpose of calculating the efficiency of the PARSLAD device on the power consumption of a 60 Watts incandescent bulb inside a room, the sensor is placed near the window where there is a possibility of penetration of sunrays in ON state from 5:00 pm to 9:00 pm was noted. Examination of sunset timing demonstrates the efficiency of PARSLAD, as the value of daylight changes drastically and changes the LDR values resulting in variations of illumination. Similarly, the existence of intervention is in two time slots one; between 5:00 pm to 6:00 pm and another between 7:00 pm to 8: 00 pm.The observation was carried out for three scenarios simultaneously -base, manually controlled traditional and smart. In the base scenario, the bulb is always in ON state from 5:00 pm to 9:00 pm. The bulb is not controlled automatically or manually and retained in ON state. In the manually controlled scenario, the light switched to OFF condition manually as the obstacle moved away from the place. The smart scenario is one where PARSLAD device assists the light bulb. Detailed description of three scenarios is provided in Table 8. In the same location and under quite similar conditions, the measurement for 0.5 W and 8 W LED bulb was done for the three scenarios as stated before. Table 9 provides the energy spent from 5:00 pm to 9:00 pm for three scenarios with three light bulbs and also shows the annual energy consumption. Annual energy consumption is calculated considering the occurrence of intervention that took place in same manner for 365 days from 5:00 pm to 9:00 pm. In Table 10, the annual cost is calculated for three scenarios in both domestic and commercial use.
Graphs as shown in Figures 5-7 for the 60 W incandescent, 0.5 W LED and 8 W light bulb, respectively, for 4 h of observation of the base, manually controlled and smart scenarios. It can be noted that PARSLAD with 60 W incandescent, reduces energy consumption by 58% in contrast to the base scenario and 16% in contrast to the manually controlled scenario, respectively.   Graphs as shown in Figures 5-7 for the 60 W incandescent, 0.5 W LED and 8 W light bulb, respectively, for 4 hours of observation of the base, manually controlled and smart scenarios. It can be noted that PARSLAD with 60 W incandescent, reduces energy consumption by 58% in contrast to the base scenario and 16% in contrast to the manually controlled scenario, respectively.    In home switches turn on the light when needed and then turns OFF manually.
In all types of environment, the light is in ON or DIM state based on the motion sensing and daylight illuminance value.

Advantage and Disadvantage
Though the street light in ON condition throughout in the evening and night time is beneficiary in highways as it is always busy. The criteria is also followed in rare streets in village as the street lights are controlled centrally. This leads to unnecessary power consumption. Even in the case of presence of partial sunlight at sun rising and setting time dim operation is not possible. So light should be either ON or OF The lights may be in on condition if it is not switched off manually. Example using toilets in night time and forgetting to turn off. Even in the case of presence of partial sunlight at sun rising and setting time dim operation is not possible. So, light should be either ON or OFF.
The light is OFF when there is no intervention. Even in centralized control, outdoor environments, only the lights near the obstacle intervention is in ON or DIM mode and other light bulbs are in OFF state. In case of partial daylight, illuminance light is operated in DIM state on the detection of motion. In indoor environment, if the light is not put off due to forgetfulness of inhabitants the PARSLAD device switches to OFF state. Further this system uses alert control mode to surveillance the nearby areas of light bulbs and alert the surrounding. On future expansion of alert mode with GSM and camera facility will lead to enhanced surveillance and lighting control in one structure. Graphs as shown in Figures 5-7 for the 60 W incandescent, 0.5 W LED and 8 W light bulb, respectively, for 4 hours of observation of the base, manually controlled and smart scenarios. It can be noted that PARSLAD with 60 W incandescent, reduces energy consumption by 58% in contrast to the base scenario and 16% in contrast to the manually controlled scenario, respectively.    PARSLAD with the 8 W LED bulb gives 57.5% and 15% of energy consumption reduction in comparison to the base and manually controlled scenario, respectively. Thus, the device works efficiently for both incandescent and LED bulbs. PARSLAD with 0.5 W LED reduces energy consumption by 35% in comparison to the base scenario. On comparing the smart and manually controlled scenario, energy consumption shoots up by 0.0003 KWh. Thus, the manually controlled scenario works better than PARSLAD for a 0.5 W LED light bulb. But this is surpassed and PARSLAD PARSLAD with the 8 W LED bulb gives 57.5% and 15% of energy consumption reduction in comparison to the base and manually controlled scenario, respectively. Thus, the device works efficiently for both incandescent and LED bulbs. PARSLAD with 0.5 W LED reduces energy consumption by 35% in comparison to the base scenario. On comparing the smart and manually controlled scenario, energy consumption shoots up by 0.0003 KWh. Thus, the manually controlled scenario works better than PARSLAD for a 0.5 W LED light bulb. But this is surpassed and PARSLAD provides an improved solution when additional numbers of LED light bulbs are added, as shown in Table 11. Figures 5-7 clearly show the increased energy consumption at 7:00 pm to 8:00 pm when intrusion is perceived in the absence of the prescribed daylight distribution. This upsurge in the smart scenario is due to the power expended for the operation of device along with ON state of light bulb. The energy upshot meant for one hour is adjustable when bearing in mind the reduction of power consumption in the four hours instance of 60 W incandescent and 8 W LED light bulbs. Nevertheless, in the case of a 0.5 W LED bulb, the smart scenario consumes more energy during the monitored four hours. Thus, the number of light bulbs controlled by a PARSLAD device is increased for the purpose of demonstrating the efficiency of the device.
The readings for three scenarios along with four energy comparison parameters are shown in Table 11 (energy consumption ratio of base scenario contrary to smart scenario (ECR BS ), Energy consumption ratio of manually controlled scenario counter to smart scenario (ECR MS ), relative energy saving ratio of base scenario contrary to smart scenario (RESR BS ) and relative energy saving ratio of manually controlled scenario counter to smart scenario (RESR MS )).
ECR MS can be seen as above 100% and RESR MS as negative for 0.5 W LED light bulb for up to 8 light bulbs indicating a smart scenario for consumption of a larger volume of energy than manually controlled, but it is to be noted that in the manually controlled scenario, the light is in OFF state for two hours whereas, in a smart scenario, the PARSLAD is in ON state during the course of the four hours providing better lighting control and monitoring. The device turns out to be highly resourceful in large indoor and outdoor buildings which deploy many LED bulbs and high wattage consuming bulbs. The device is efficient for 0.5 W LED bulbs which has power consumption smaller than that for zero-watt incandescent light bulbs. Consequently, in LED light bulbs, the device is efficient even for miniscule power consumption commencing with 12 light bulbs. Though the system can be incorporated for both indoor and outdoor environments, slight tailoring of the illuminance threshold values and lighting power sources should be made to support environment-based precision activity.

Power Analysis of PARSLAD in Alert Mode
The power consumption of PARSLAD with push button in AL mode is tested. It is found that the power consumption is same as in light control mode. As the power consumed by buzzer in ON state is very negligible, the analysis of light control mode and alert mode gives the same result.

Comparison of Three Scenarios
Details of the power consumptions seen in three scenarios for different numbers of bulbs are given in Figure 8. Figure 8a,b, show the smart scenario of 60 W incandescent and 8 W LED light bulbs as having the lowest consumption in all the cases. Figure 8c shows the smart scenario of a 0.5 W LED light bulb as having less consumption when compared to the base for all the cases, but it also shows a reduction in the energy consumption in the smart scenario for a 0.5 W LED light bulb in comparison to the manually controlled scenario from eight bulbs. Thus, the authors' proposed model consumes less power for any number of light bulbs for both incandescent and LED light bulbs, but for very low power watt bulbs like 0.5 W, the power is reduced only when it is deployed with eight or more than eight bulbs. For less than eight light bulbs, the consumption of power for smart and manually controlled scenarios was almost the same. As the proposed work can be deployed in any indoor or outdoor lighting application, it is customary to have more than eight LED bulbs if it is only a low wattage for effective use for the low power solution.
ECRMS can be seen as above 100% and RESRMS as negative for 0.5 W LED light bulb for up to 8 light bulbs indicating a smart scenario for consumption of a larger volume of energy than manually controlled, but it is to be noted that in the manually controlled scenario, the light is in OFF state for two hours whereas, in a smart scenario, the PARSLAD is in ON state during the course of the four hours providing better lighting control and monitoring. The device turns out to be highly resourceful in large indoor and outdoor buildings which deploy many LED bulbs and high wattage consuming bulbs. The device is efficient for 0.5 W LED bulbs which has power consumption smaller than that for zero-watt incandescent light bulbs. Consequently, in LED light bulbs, the device is efficient even for miniscule power consumption commencing with 12 light bulbs. Though the system can be incorporated for both indoor and outdoor environments, slight tailoring of the illuminance threshold values and lighting power sources should be made to support environment-based precision activity.

Power Analysis of PARSLAD in Alert Mode
The power consumption of PARSLAD with push button in AL mode is tested. It is found that the power consumption is same as in light control mode. As the power consumed by buzzer in ON state is very negligible, the analysis of light control mode and alert mode gives the same result.

Comparison of Three Scenarios
Details of the power consumptions seen in three scenarios for different numbers of bulbs are given in Figure 8. Figures 8 a,b, show the smart scenario of 60 W incandescent and 8 W LED light bulbs as having the lowest consumption in all the cases. Figure 8c shows the smart scenario of a 0.5 W LED light bulb as having less consumption when compared to the base for all the cases, but it also shows a reduction in the energy consumption in the smart scenario for a 0.5 W LED light bulb in comparison to the manually controlled scenario from eight bulbs. Thus, the authors' proposed model consumes less power for any number of light      The study shows the reduction in ratio of energy consumption with increase in the number of light bulbs. It depicts a decrease in ECR BS with an increase in the power of light bulbs and a decrease in ECR MS with decrease in the light bulb power. Consequently, the power consumption of light bulbs is indirectly proportional to ECR MS and ECR BS , respectively. ECR BS and ECR MS parameters are scenario-based and it can be seen that as the number of light bulbs increases ECR BS and ECR MS maintain a typical straight line for 60 W incandescent and 8 W LED light bulbs, but they give a quite indirect line for 0.5 W LED light bulb up to eight light bulbs. This is because for up to eight very small power light bulbs, the PARSLAD device alone consumes 50% more power (0.3006 W) than the required power of a low value wattage bulb (0.5 W) to operate in ON state. This problem diminishes by deploying more than eight8 bulbs. We could see the linearity of ECR BS and ECR MS diminishes and an approximate straight line is observed for eight to 12 light bulbs. It can be stated that above 12 number of 0.5 W LED bulbs we observe a straight line similar to the 60 W incandescent and 8 W LED bulb. Thus, the energy consumption ratio parameter is resistant to scalability of light bulbs but in case of very low power bulb, the parameter becomes unaffected only after eight light bulbs. Figure 10 shows a plot of the RESR parameters against the number of light bulbs. Figure 10a,b, display the increase in RESR BS and RESR MS with an increase in the number of light bulbs.

Characteristics o f Relative Energy Saving Ratios
Thus, more energy savings are achieved when the system is deployed with a higher number of light bulbs. It also points out RESR BS and RESR MS are directly proportional to the power of light bulbs. It can also be noted that like the energy consumption ratio parameters, the relative energy saving ratios shows a typical straight line for 60 W incandescent and 8 W LED bulbs. While considering 0.5 W LED bulbs, a low power watt bulb, the RESR parameters varies in a quite logarithmic curve pattern for up to 8 bulbs. Then, the line approaches a straight line like the 60 W incandescent and 8 W LED bulbs. energy consumption ratio parameter is resistant to scalability of light bulbs but in case of very low power bulb, the parameter becomes unaffected only after eight light bulbs. Figure 10 shows a plot of the RESR parameters against the number of light bulbs. Figure 10a,b, display the increase in RESRBS and RESRMS with an increase in the number of light bulbs. Thus, more energy savings are achieved when the system is deployed with a higher number of light bulbs. It also points out RESRBS and RESRMS are directly proportional to the power of light bulbs. It can also be noted that like the energy consumption ratio parameters, the relative energy saving ratios shows a typical straight line for 60 W incandescent and 8 W LED bulbs. While considering 0.5 W LED bulbs, a low power watt bulb, the RESR parameters varies in a quite logarithmic curve pattern for up to 8 bulbs. Then, the line approaches a straight line like the 60 W incandescent and 8 W LED bulbs. Figure 11a,b depict that the energy savings due to implementation of PARSLAD increases linearly with an increase in the number of light bulbs compared with both the base and manually controlled scenarios, so the energy savings have a linear trend but the scenario-based energy parameters are not only affected by scalability of the light bulbs. Further, the scenario-based energy parameters are linear for a small number of bulbs for very low power. Energy savings of the smart scenario in contrast to the base scenario (ESBS) is the difference between the energy consumption of two scenarios, and similarly, for the energy savings of the smart scenario in contrast to the manually controlled scenario (ESMS).  Figure 11a,b depict that the energy savings due to implementation of PARSLAD increases linearly with an increase in the number of light bulbs compared with both the base and manually controlled scenarios, so the energy savings have a linear trend but the scenario-based energy parameters are not only affected by scalability of the light bulbs. Further, the scenario-based energy parameters are linear for a small number of bulbs for very low power. Energy savings of the smart scenario in contrast to the base scenario (ES BS ) is the difference between the energy consumption of two scenarios, and similarly, for the energy savings of the smart scenario in contrast to the manually controlled scenario (ES MS ).

Cost Consumption Analysis
The cost analysis for the three scenarios indicates that the smart scenario costs less for all conditions of 60 W incandescent and 8 W LED bulbs. Thus, the proposed method is efficient for both incandescent and LED light bulbs. For 0.5 W, the smart scenario costs more than the manually controlled one for one, two and four light bulbs. The smart and manually controlled scenarios cost the same for eight 0.5 W LED bulbs. The smart scenario starts to show a significant reduction of cost for 12 0.5 W LED bulbs. The cost analysis is detailed in Table 12. The cost of domestic and commercial use is fixed as in Section 3.

Cost Consumption Analysis
The cost analysis for the three scenarios indicates that the smart scenario costs less for all conditions of 60 W incandescent and 8 W LED bulbs. Thus, the proposed method is efficient for both incandescent and LED light bulbs. For 0.5 W, the smart scenario costs more than the manually controlled one for one, two and four light bulbs. The smart and manually controlled scenarios cost the same for eight 0.5 W LED bulbs. The smart scenario starts to show a significant reduction of cost for 12 0.5 W LED bulbs. The cost analysis is detailed in Table 12. The cost of domestic and commercial use is fixed as in Section 3.

Conclusions
This proposed PARSLAD device, attempts to reduce energy consumption in lights included in the basic utilities as illumination devices. The planned module can work according to the occurrence of intervention and daylight intensity conditions prevailing around the deployed home due to its adaptive nature. This component can equally be used as a prototype for smart light automation from sheds, shelters to royal residences. Hence, the device is pervasive, adaptive and resourceful. The power analysis of PARSLAD proves that the device provides considerable power savings both for incandescent and LED light bulbs. A detailed power analysis of the device is measured. Power consumption of three different light bulbs: 60 W incandescent, 8 W LED and 0.5 W LED bulb for varied scenarios are estimated. The characteristics of scenario-based energy parameters, energy consumption ratio and relative energy saving ratio are detailed. These scenario-based parameters are found to be stable and not affected by the scalability of light bulbs. The problem of exceeding power consumption using the PARSLAD device with very low power (0.5 W) LED bulbs is pointed out. The point to overcome the exceeding power consumption of PARSLAD by deploying it with more than eight light bulbs is depicted clearly. On testing for 800 lumens, higher energy savings for incandescent than LED light bulbs is indicated. Cost consumption analysis also specified that the PARSLAD is efficient for both incandescent and LED light bulbs.
Future studies of device can be carried out in many ways. The main future expansion of the authors is the AL mode of PARSLAD. AL mode can be expanded with GSM facilities for sending alert messages and calls to desired numbers. This mode can also be expanded to facilitate camera to capture image and video for enhanced surveillance. Another upcoming direction is the concept of implementing PARSLAD with a Raspberry Pi system along with a deep learning network to elevate the Arduino-based PARSLAD to an intelligent machine learning-based lighting control and surveillance system (IMLS). Thus, an effectual system could efficiently and simultaneously control the lighting and monitoring in both indoor and outdoor environments. The power consumption of the device can also be reduced further by implementing the device with tier-based activity. In tier-based implementation, PiR and LDR sensing will be carried out in the first tier. On sensing motion, the second tier consisting of light, buzzer and camera will be activated. Currently, the authors are working with the deployment of IMLS. The long time goal of the proposed work is to control all light bulbs (indoor and outdoor) and allow surveillance of a city with a single network technology. The module can be slightly tailored to control more apparatus in the future to automatically satisfy the needs of users with large power savings.

Acknowledgments:
The authors would like to thank the Editor and the anonymous reviewers for their perceptive comments and productive suggestions that certainly enhanced the quality of this paper.

Conflicts of Interest:
The authors declare no conflict of interest.