satcar77 / miband4

Access Xiaomi MiBand 4 from Linux using Bluetooth LE
MIT License
482 stars 110 forks source link

miband: Add alarms #40

Closed nico202 closed 3 years ago

nico202 commented 3 years ago

based on https://github.com/satcar77/miband4/issues/7 and gadgetbridge

nico202 commented 3 years ago

example:

        band.setAlarm(days=(Weekdays.monday, Weekdays.friday),
                      hour=21, minute=4, snooze=True)