Recent advances in sensor network provide more and more equipment with a large amount of sensors and actuators. However, their adoptions in modern life face several challenges. First, sensor network design is complex and requires several steps including network sizing, hardware and software development, deployment, and data exploitation. Often, each step is managed by a particular tool. These tools are rarely connected to each other. Therefore, descriptions are required in each used tool. These multiple descriptions are costly in terms of development time and can lead to design errors. In order to address these issues, we propose a new model-driven framework named Modesene to efficiently design a sensor network for different kind of application. Modesene is designed to ensure four main process including multifacets modeling, network simulations, deployment, and data exploitation. The proposed framework supports sensor network tools by providing bridges with these tools. Therefore, one description in Modesene can be automatically transformed in each used tool. The framework can perform simulations and code generation. It promotes a data-driven approach; in fact, data obtained by simulations is used to drive design choices. We validate our framework through use case of smart building with two possible solutions. Based on Omnet++ simulator, Modesene can assess node lifetime, costs, and packets loss. Thereafter, the obtained results drive the choice of the suitable solution. Then, the code generator provides source codes for sensor nodes, gateway nodes, and for data exploitation. Compared to existing frameworks, Modesene deals with all design steps. Abbreviations: IoT, internet of things; WSN, Wireless sensor network Trans Emerging Tel Tech. 2019;30:e3560. wileyonlinelibrary.com/journal/ett communication technologies), and sink node (to collect and process data). Nodes can use different communication media to transmit and receive data (eg, wired channel, wireless channel, optical channel). Wireless communications are the most used in modern sensor networks because, in a large scale network, it becomes difficult or impossible to link nodes by wired channels. In Wireless Sensor Network (wsn), nodes can have different communication technologies (eg, ZigBee, 4 Bluetooth, 5 rfid, 6,7 ). Each technology has specific characteristics such as throughput and range. Sensor network development involves different steps including network sizing, software and hardware development, analyses and simulations, physical deployment, and data exploitation. These steps can be grouped in sensor network life cycle terminology. The motivations of our work are related to the fact that sensor network design requires to deal with many domains, involving many actors such as hardware engineer, software developer, and network expert. Data collected from sensor network may be also used by nontechnical actor, such as doctors in health domain. Therefore, many domain specific tools are used through the life cycle to help actors involved in each step. T...