The document presents an opportunistic routing algorithm for relay node selection in wireless sensor networks, aimed at minimizing energy consumption and maximizing network lifetime. The proposed Energy Saving via Opportunistic Routing (ENS_OR) algorithm is designed to optimize energy efficiency based on the distance to the sink and residual energy of sensor nodes. Simulations and real test results indicate that ENS_OR significantly enhances network performance in energy savings and connectivity compared to existing routing schemes.