Emerging use of the Internet of Things concept in various fields has led to the introduction of new technologies to meet the new application requirements in recent years. IPv6 over IEEE 802.15.4e TSCH (6TiSCH) standard is one of the innovations that integrates IPv6-based upper protocol layers with IEEE 802.15.4e time-slotted channel hopping (TSCH)-based medium access control layer. TSCH has received much attention in the industrial field due to its features, like high reliability and low power consumption. End devices, e.g., sensors and actuators, of these networks usually generate sporadic heterogeneous traffic in which quality of service (QoS) criteria are difficult to meet with existing scheduling strategies. To that end, we introduce a shared cell schedule optimization method and an algorithm, referred to as DIVVY, for those networks. The proposed method grounds on a heuristic network model and aims to find the most energy-efficient network configuration while considering the QoS constraints.