Autorestart Mi Fitness after losing connection to band

219 views
Skip to first unread message

DezertE4gle

unread,
Feb 21, 2024, 2:49:32 AM2/21/24
to Automate for Android
Hello to everyone, dear automators!
I recently bought a new fitness bracelet from Xiaomi, and despite the fact that everything new is usually better than the old one, it has one annoying drawback - it periodically, completely randomly, in my opinion, loses connection with the phone. As far as I was able to understand, the reason is in the new Mi Fitness application. And the problem seems to be solved if the application is turned off and started again. The search for a solution to automate these actions led me to the application page that this forum is dedicated to. After delving into the various blocks from which you can make your own flow, I came to the conclusion that it seems like I can’t do it without competent help.
How I see my flow:
1. The flow must work constantly.
2. Flow should check the status of the Bluetooth connection between the bracelet and the phone.
3. If the connection is lost, the Mi Fitness application must be closed and reopened.
4. After execution, the flow should return to its original state of waiting and checking the connection status.
How can I arrange blocks in a flow correctly to achieve the result I need?
Thanks to all payed attention!

Henrik "The Developer" Lindqvist

unread,
Feb 21, 2024, 6:02:53 AM2/21/24
to Automate for Android
Try:
1. Flow beginning
N. App start: Package=<click and pick Mi Fitness>
(loop back to #2)
Reply all
Reply to author
Forward
0 new messages