In the talk, we will demonstrate how IoT helps to prevent apple trees from dying off due to faults in the irrigation system. The benefits of using IoT are demonstrated in practical implementation in the apple orchard in South-East Slovenia that uses a timer-based irrigation system. The pain of farmers was not knowing whether the irrigation works or not. In spite of water softening, the system seldomly clogs. Due to the differences in soil type in different parts of the farm apple trees can have too much or not enough water. For both cases the result is the same – apple trees die off. LoRaWAN soil moisture sensors network provides the solution for the challenge. In collaboration with the ITC – Innovation Technology Cluster, we have employed TTN, a network of sensors, and insights platform. In collaboration with farmers, we have built the interface that gives just crucial data, since they reported that existing platforms are too complicated for them. The project will be upgraded with microclimate sensors to predict frost, for which active protection (water spraying) is used. The system consumes enormous amounts of water that cannot even cover the entire orchard. With the help of IoT and AI, farmers will be able to localize areas with potential frost and reduce the consumption of water for active protection.