Here is a smart activity sensor that uses Earth’s magnetic field to provide you with accurate activity monitoring. The 3Dmagnetic Smart Sensor works for cycling, running, swimming, and other sports. It can measure speed, cadence, kicks while swimming, swings while playing tennis, or paddling.
The sensor detects the angle of motion with 1-degree accuracy. It can be used as a smart home automation tool too.[where to find more info]