miband2-python-test
miband2-python-test copied to clipboard
Playing around with the Mi Band 2 and Linux
Hello, Great Python code! I would like to use it on my RPi3 to fetch my daily activity. Do you think it's possible to get steps and other data from...
` #!/usr/bin/env python2 import struct import time import sys import argparse from Crypto.Cipher import AES from bluepy.btle import Peripheral, DefaultDelegate, ADDR_TYPE_RANDOM from gpiozero import Buzzer from time import sleep buzzer...
There is a problem in lines: if arg.heart: print("Cont. HRM start") band.hrmStopContinuous() band.hrmStartContinuous() for i in range(30): band.waitForNotifications(1.0) More specifically: for i in range(30): band.waitForNotifications(1.0) There are only ten requests...