Cattle management is a task that requires an enormous amount of physical energy and human resources. A novel approach using a Wireless Sensor Network (WSN) system based on ZigBee and Wi-Fi is proposed and has the potential to decrease cattle rustling and improve the quality of remote cattle management. The WSN application determines and circumscribes a safe zone where the herd has to be according to the behaviour of the animal and the herd in general.