import mibanda

sd = mibanda.DiscoveryService()
print (sd)
device = mibanda.BandDevice("88:0f:10:1E:8f:74", "MI")
print (device)
device.connect()
direccion = device.getAddress()
print (direccion)
nombre = device.getName()
print (nombre)
info = device.getBatteryInfo()
statusinfo = info.status
print (statusinfo)
statusinfolevel = info.level
print (statusinfolevel)
statusinfocargas = info.charge_counter
print (statusinfocargas)
statusinfolast = info.last_charged
print (statusinfolast)
pasos = device.getSteps()
print (pasos)