## 4 Discussion
The analysis of the level and share of reactive power in the measurements carried out was summarized in the form of data of the power factor value from the analyzer. The results are shown in Figure 19.  
For the toaster load only, the power factor was 1.0. The worst results in the range of 0.4 to 0.6 were measured for LED lamp loads. This is a very important observation, because this type of load is currently commonly used in building lighting installations, and as can be seen from the measurements, it has a very negative impact on the power supply network. This is an issue for a separate study and publication in the field of electricity quality and it is considered by the author for future works. \begin{table}
\begin{tabular}{l c c c c} \hline \multirow{2}{*}{**Module/Load**} & **Active Power** & **Operation Time** & **Energy (Wh)** & **Module Total** \\  & **(W)** & **(h)** & **Energy Amount** \\  & & & **(Wh)** \\ \hline LED lamp 4 W & 4.00 & 8 & 32.0 & \\ \hline Sonoff ZBMINI, relay ON & 0.43 & 8 & 3.44 & \\ Sonoff ZBMINI, relay OFF & 0.07 & 16 & 1.12 & Total: 4.56 \\ tplink socket, relay ON & 0.45 & 8 & 3.60 & \\ tplink socket, relay OFF & 0.48 & 16 & 7.68 & Total: 11.28 \\ Blebox & 0.44 & 8 & 3.52 & \\ Switchbox, relay ON & 0.79 & 16 & 12.64 & Total: 16.16 \\ Blevox & 0.79 & 16 & 80 & \\ Switchbox, relay OFF & 0.59 & 8 & 4.72 & \\ \hline Sonoff ZBMINI, relay ON & 0.59 & 8 & 4.72 & \\ Sonoff ZBMINI, relay OFF & 0.07 & 16 & 1.12 & Total: 5.84 \\ tplink socket, relay ON & 0.59 & 8 & 4.72 & \\ tplink socket, relay OFF & 0.48 & 16 & 7.68 & Total: 12.4 \\ Blebox & 0.58 & 8 & 4.64 & \\ Switchbox, relay ON & 0.79 & 16 & 12.64 & Total: 17.28 \\ Blevox & & & & \\ Switchbox, relay OFF & 0.59 & 8 & 4.64 & \\ Switchbox, relay OFF & 0.59 & 16 & 12.64 & Total: 17.28 \\ \hline \end{tabular}
\end{table} 
Table 9: Energy analysis of a simple lighting control scenario for two different LED light sources and several different smart home modules. A SWOT analysis was carried out regarding the use of smart home modules with wireless communication in installations in houses and buildings. **S--Strengths:**  
* Convenience and flexibility: wireless communication allows easy integration and control of various smart home modules from anywhere in the building using a smartphone or tablet. * Fast installation: no need for wiring, and modules can be installed quickly and easily, which is especially beneficial for existing buildings. * Scalability: wireless systems can be easily expanded with new modules and devices, which allows for gradual modernization and adaptation to changing needs. **W--Weaknesses:**  
* Interference: wireless communications may be susceptible to interference from other electronic devices or other wireless networks, which may affect signal reliability and quality. * Range and connectivity: depending on the building and its structure, the range of the wireless network may be limited, which may lead to a loss of communication between modules. * Dependence on technology: the functioning of smart home systems is most often based on the availability of a stable Internet connection, which may result in problems in the event of a network failure. **O--Opportunities:**  
* Development of communication standards: the continuous development of wireless technologies, such as Wi-Fi 6 and ZigBee, creates the opportunity to improve the speed and reliability of communication. * Integration with other technologies: wireless modules can be easily integrated with other technologies, such as the Internet of Things (IoT), allowing for more complex systems. * Personalization: the development of artificial intelligence can enable more and more personalized experiences for users by adapting systems to their preferences and habits. Figure 19: Power factor value for smart home modules with various loads considering near and far distances from the Wi-Fi access point. T--Threats:
* Network security: wireless communication carries the risk of network attacks and security breaches, which may compromise privacy and system functionality.