Method (50, 750) using ultra wide band communication for determining a location of an object inside a plant growing environment, such as a greenhouse or an indoor growing facility, wherein: - the object is an agent, such as a human operator or robot, provided with an UWB transmitter; - the plant growing environment is provided with multiple UWB receivers; and - the receivers are connected to a processing unit, the method (50, 750) comprising: a) broadcasting (51, 751) a message from the object over UWB using the transmitter; b) receiving (52, 752) the message at at least some of the receivers; and c) determining (53, 753) a location estimate for the object through lateration and/or angulation, by the processing unit, characterized in that the method (50, 750) further comprises: d) associating the object with a plant or group of plants, by the processing unit, by: - comparing the location estimate with predetermined locations of plants or groups of plants; and - associating the object with the plant or group of plants of which the predetermined location is closest to the location estimate; and e) determining, by the processing unit, an operation performed on the plant or group of plants by the agent, wherein step e) comprises: - retrieving a preplanned operation to be performed from a database; and - determining that said retrieved, preplanned operation on the plant or group of plants is being performed. - the object is an agent, such as a human operator or robot, provided with an UWB transmitter; - the plant growing environment is provided with multiple UWB receivers; and - the receivers are connected to a processing unit, the method (50, 750) comprising: a) broadcasting (51, 751) a message from the object over UWB using the transmitter; b) receiving (52, 752) the message at at least some of the receivers; and c) determining (53, 753) a location estimate for the object through lateration and/or angulation, by the processing unit, characterized in that the method (50, 750) further comprises: d) associating the object with a plant or group of plants, by the processing unit, by: - comparing the location estimate with predetermined locations of plants or groups of plants; and - associating the object with the plant or group of plants of which the predetermined location is closest to the location estimate; and e) determining, by the processing unit, an operation performed on the plant or group of plants by the agent, wherein step e) comprises: - retrieving a preplanned operation to be performed from a database; and - determining that said retrieved, preplanned operation on the plant or group of plants is being performed. a) broadcasting (51, 751) a message from the object over UWB using the transmitter; b) receiving (52, 752) the message at at least some of the receivers; and c) determining (53, 753) a location estimate for the object through lateration and/or angulation, by the processing unit, characterized in that the method (50, 750) further comprises: d) associating the object with a plant or group of plants, by the processing unit, by: - comparing the location estimate with predetermined locations of plants or groups of plants; and - associating the object with the plant or group of plants of which the predetermined location is closest to the location estimate; and - comparing the location estimate with predetermined locations of plants or groups of plants; and - associating the object with the plant or group of plants of which the predetermined location is closest to the location estimate; and e) determining, by the processing unit, an operation performed on the plant or group of plants by the agent, wherein step e) comprises: - retrieving a preplanned operation to be performed from a database; and - determining that said retrieved, preplanned operation on the plant or group of plants is being performed. - retrieving a preplanned operation to be performed from a database; and - determining that said retrieved, preplanned operation on the plant or group of plants is being performed.