I am going to make three prototype using esp8266

Hello, I am planning to build a project for my school exhibition. My project idea is to build a smart irrigation system for farming. So i am using nodemcu, dht11, and soil humidity sensor. With these three components I am going to do three models. And these three components should be interconnected to blynk. It means individual prototype values and make an average of it. And then according to the humidity. Another esp8266 is connected to relay and motor.
Each prototype will be palced at 10 meters difference. And the motor is 1km away. But I have wifi connection. Firstly it reads the data from the three prototype and then average it. If the humidity is less. Then it sends the data to another esp8266 in which the motor and relay is connected. I needed help with this project.