An IoT architecture for continuous livestock monitoring using LoRa LPWAN