Dependable Sensing System for Pig Farming