M2M device detects heart arrhythmia