Simple SummaryAnimal monitoring through electronic methods requires a continuous Internet connection to guarantee timely human intervention. Internet access depends on the coverage of the communications network, which does not always exist in agricultural and rural environments, as is the case on the slopes of the Douro River. This work documents the optimization process of a monitoring and alarm generation system and its integration with a satellite communications system to guarantee alarm messages are sent in places without Internet access coverage. The results functionally demonstrated the viability of the solution for the timely delivery of alarms with an acceptable expected operating cost.AbstractThe application of IoT-based methods to support pastoralism allows the smart optimization of livestock operations and improves the efficiency of the activity. The use of autonomous animal control mechanisms frees the shepherd to carry out other tasks. However, human intervention is still needed in cases such as system failure, the bad or unpredicted behavior of the animals, or even in cases of danger, the welfare of the animal. This study documents the enhancement of an alarm generation system, initially developed within the scope of the SheepIT project, to monitor animal behavior and equipment, which warns the human operator of the occurrence of undesirable events that require intervention. Special attention was given to the use of case scenarios in places without Internet access, such as rural areas. Therefore, the system was integrated with a satellite interface, as a way of guaranteeing the timely delivery of the alarm messages. To ensure an acceptable operating cost, the system was further optimized in terms of message encoding, considering the cost of this type of communication. This study assessed the overall performance of the system, evaluated its scalability, and compared the efficiency gains from the optimization, as well as the performance of the satellite link.