An Internet of Thing-based approach for single animal monitoring in a distributed farms environment