The user demand increment and resource restrictions in IoT can provide efficient services without considering the service cost and service quality. Nowadays various computing technologies like fog, cloud, and edge computing and their confluence of IoT are required. The standard IoT services can be transformed into composite services via the incorporation of cloud computing with IoT. These IoT composite services are not suitable for various QoS scenarios which results in performance degradation and exhibited real-time adaptive sensing issues. Therefore, a novel Deep Q-learning Network-based Hybrid Enhanced Chimp Artificial Hummingbird (DQNHybrid ECAH) approach is proposed to overcome the state-of-art approach problems. The DQN-Hybrid ECAH approach represents a significant novelty in the field of IoT, as it utilizes a combination of advanced techniques to overcome the challenges posed by composite services in IoT. In particular, the use of deep Q-learning networks allows for the optimization of composite service quality, while the enhanced chimp artificial hummingbird techniques ensure that the approach is both efficient and effective. From the experimental evaluation, it is evident that the proposed approach is superior to other state-of-the-art methods. Specifically, the packet delivery ratio (PDF) and throughput rate obtained were high, with minimum jitter and average end-to-end delay. This demonstrates the effectiveness of the DQN-Hybrid ECAH approach in enhancing composite service quality in IoT applications. Overall, the proposed DQN-Hybrid ECAH approach represents a significant contribution to the field of IoT, providing a novel solution to the challenges associated with composite services in IoT. The approach has the potential to significantly improve the performance of IoT applications, while also reducing the real-time adaptive sensing issues that are often encountered in this context.