IoT analysis of cattle activity "U-motion(R)" -- Long version