satcar77 / miband4

Access Xiaomi MiBand 4 from Linux using Bluetooth LE
MIT License
481 stars 109 forks source link

Obtaining realtime sensor data #11

Closed maxxxpavlov closed 4 years ago

maxxxpavlov commented 4 years ago

I want to receive accelerator data from mi band 4, but there is no callback in start_heart_rate_realtime.

rayavarapuvikram1 commented 4 years ago

How to get accelerometer values?

satcar77 commented 4 years ago

Assign a callback function to accel_raw_callback and call start_heart_rate_realtime . See if you can get any values. I haven't implemented the feature fully.

rayavarapuvikram1 commented 4 years ago

Is it possible to set an alarm with python?

satcar77 commented 4 years ago

That feature is in the project's TODO list.