1. Introduction In modern agriculture, the use of innovative technologies has become a necessity to improve efficiency, productivity, and sustainability. The use of sensors to increase efficiency is characteristic of Agriculture 4.0. In the context of climate change, managing water more efficiently has become essential. A key tool for improving water use in agriculture, particularly irrigation, is the Internet of Things (IoT) [1] and connected sensor networks (WSNs) [2].