## 3 Materials and Methods
This can help ensure that older adults have adequate lighting to perform daily tasks and prevent falls or accidents caused by inadequate lighting. Light sensors can also be integrated with other monitoring technologies, such as motion sensors, to provide a comprehensive view of an individual's living conditions and wellbeing. A gyroscope sensor is a device used in monitoring applications for older adults in their homes to detect and report changes in orientation and movement. Gyroscope sensors can detect orientation changes, such as when an individual changes position from sitting to standing and can report them. Additionally, gyroscope sensors can be used to monitor movement patterns, such as walking or exercise routines. This can be particularly useful for older adults who may need to maintain a certain level of physical activity for their health and wellbeing. Gyroscope sensors can detect turns on bathroom doors at night to count the number of times a person may have entered the bathroom. This indicates the person's sleep conditions. An air quality sensor can help ensure that living conditions are safe, healthy and comfortable. Air quality sensors can detect a range of pollutants, such as dust, pollen and smoke, as well as harmful gases, such as carbon monoxide and radon. This can be particularly useful for older adults who may have respiratory conditions or allergies and those who may be sensitive to changes in air quality. When using Wi-Fi communications and sensors that communicate within the scope of these technologies, it is necessary to consider the permitted radiation for humans. This is particularly important when dealing with a large number of sensors that may be in close proximity to a person, such as in wearable devices. The specific sensors listed, such as the motion sensor, pressure/temperature/humidity sensor, noise sensor, light sensor, gyroscope and air quality monitoring sensor, have different power requirements and may emit varying levels of electromagnetic radiation. Therefore, it is important to ensure that these sensors comply with relevant safety standards and regulations and that appropriate measures are taken to minimize any potential risks to human health. Based on the alerts of the system based on the previously described sensors, a series of alerts are established for the user. In addition, every day, each person has some vital signs measured to analyze whether people feel calmer as the days go by due to the presence of the system. Alternatively, if, on the contrary, people feel some stress in the presence of the system installed in their homes. These vital sign measurements are performed using standard medical equipment. The measurements are heart rate, respiratory rate, temperature and sleep behavior. This last metric is carried out with a conventional smart watch at night and is reported daily. The methodology of this work consists of implementing a wireless sensor system in the home of the elderly. The monitoring system is not invasive and is located in strategic areas of the house to alert to parameters such as changes in air quality, noise level, movement in the rooms, light, etc. With this monitoring, the system provides an alert system in case the standard measurements are not within normal parameters. In this way, family and friends can be informed about sudden changes in the home of the older adult who lives alone. In addition, we implement two algorithm techniques for routing (cooperative and collaborative) to know which is the most efficient in sending messages and in the network's energy consumption. The proposed work consists of two parts. (1) The experimental part of monitoring the conditions of the house and the person's vital signs daily are evaluated to see if the presence of the network impacts their wellbeing and if their vital signs remain controlled or show a state of relaxation. (2) The technical part in which the network performance is evaluated under two schemes of the routing protocol algorithm: cooperative and collaborative.