|Many studies have shown that smart homes can use energy more efficiently than traditional buildings. Thus, several researchers have advocated building a smart home in order to reduce energy consumption.
In the literature, Wireless Sensor Network is adopted as the dominant technology for every proposed smart home . In this thesis I explain the challenges of the state of the art technology in WSN for energy management in a smart home using one of the most prominent LPWAN technologies: LoRa TM . The system is not only low-cost but is also flexible enough to accept multiple sensor nodes and collect the data, irrespective of the distance from the gateway to the various appliances in the smart home. Leveraging on LPWAN technologies, I establish a series of models that cover various aspects of a LoRa
network. Then, a new Network Simulator 3 (NS3) module is introduced to simulate a LoRa-based IoT network in a typical urban scenario. Finally, the performance of the LoRa system is evaluated and analysed. I emphasize the importance of having a generic system in which its LoRaWAN network configuration function set (router and coordinator) mode of data transmission will be implemented in API mode to accommodate any sensor node for better packet reception (RX) and transmission (TX).