Wireless sensor networks (WSNs) have emerged as a promising technology for various Internet of Things (IoT)-based sensing applications. Generally, sensor nodes are powered by non-rechargeable and low-capacity batteries; they only last for a small amount of time. Due to their dispersed nature, sensor nodes cannot have their batteries replaced or maintained locally. The energy harvesting (EH) concept shows commitment as a method for addressing the current energy shortage. Another problem is the intra-energy control of various network load functions, including coverage preservation, routing, clustering, etc. This study proposes an ERAS (efficient routing awareness scheduling) algorithm to address the abovementioned issues. The ERAS method employs a solar harvesting system as a hierarchical clustering-based routing protocol. The presented scheme dynamically alters nodes between states and adjusts to new states based on the insides of sensed data packets. Synchronization-based scheduling ensures proper coordination between the cluster head (CH) and cluster members (CMs). It selects the CH based on both remaining and harvested energy and the number of active nodes to improve throughput. Surprisingly proposed EASR algorithm performs efficiently while considering various performance matrices, including network lifetime, packet delivery ratio, energy consumption, and network sustainability. Extensive simulation results exhibit the network lifetime of the proposed ERAS technique (79.8%) compared to ERA, SEED and CREST methods as 67.3%, 73.8%, and 75.2%, respectively.