###### Abstract  
Embedded devices are gaining popularity day by day due to the expanded use of Internet of Things applications. However, these embedded devices have limited capabilities concerning power and memory. Thus, the applications need to be tailored in such a way to perform the specified tasks within the constrained resources with the same accuracy. In Real-Time task scheduling, one of the challenging factors is the intelligent modelling of input tasks in such a way that it produces not only logically correct output within the deadline but also consumes minimum CPU power. Algorithms like Rate Monotonic and Earliest Deadline First compute hyper-period of input tasks for periodic repetition of the same set of tasks on CPU. However, at times when the tasks are not adequately modelled, they lead to an enormously high value of hyper-period which result in more CPU cycles and power consumption. Many state-of-the-art solutions are presented in this regard, but the main problem is that they limit tasks from having all possible period values; however, with the vision of Industry 4.0, where most of the tasks will be doing some critical manufacturing activities, it is highly discouraged to prevent them of a certain period. In this paper, we present a resource-aware approach to minimise the hyper-period of input tasks based on device profiles and allows tasks of every possible period value to admit. The proposed work is compared with similar existing techniques, and results indicate significant improvements regarding power consumptions. internet of things; real-time systems; Industry 4.0; input tasks admission control; embedded devices; IoT task scheduling [1] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [20] [21] [22] [28] [29  
A more recent advancement in the field of IoT is the vision of Industry 4.0. In Germany, this becomes a buzzword since its inception. In this paradigm, the concept of smart factories is introduced by automating the real-time manufacturing process and mass customisation of the products [13]. The convergence of Industry 4.0 and IoT applications gives rise to another field of research known as a Cyber-Physical System (CPS). Real-time IoT and CPS extend the traditional concept of IoT by further interjecting timeliness in every perspective. In reality, real-time IoT and CPS suggest the coupling and coordination between computational and physical entities in real time. These applications are generally closed-loop control applications such as Industry 4.0 and thus demand end-to-end latency thresholds, which can be served by analysing every aspect of the wireless networks, constraint tasks scheduling, real-time cloud service, real-time data analytics, and so on. Consequently, it has become crucial how we can design real-time IoT and CPS that can satisfy the end-to-end real-time performance. Real-time processes are referred to as those whose accuracy of the program not only depends on the logically correct outcome of computations but also depends on the time consumed for the correct outcome [14; 15]. Real-time systems exist in almost in every field, such as command and control systems and process control systems that can be in any domain depending on scenarios. Some other examples of real-time systems are flight control systems, defence systems and space shuttle avionics systems. The main drawback of real-time systems can be their dependence on the coming events' knowledge that increases the cost and makes them inflexible to uncertain situations. In the coming ages, a true real-time system should be a hard real-time system, which meets the design goal of Industry 4.0 and Cyber-Physical Systems [16]. When activities have timing constraints, scheduling them in a such a way to meet their timing constraints is one major problem that comes to mind. Two primary categories of algorithms, namely static priority and dynamic priority, are suggested in the literature for traditional real-time systems.