You are reading a single comment by @user158534 and its replies.
Click here to read the full conversation.
-
Hello,
Bangle.getHealthStatus('day')
should give you only the steps of the current day. So depending on your usecase this might solve your problem.
You can try to reset the counter using
Bangle.setStepCount(0)
If this is working like you want it then you could trigger it by a timer. Make sure the timer is setup correctly. Maybe you need to set it up in onInit as well to survive reboots.
Maybe there are better solutions :-)
Hello,
how to extract data of sensors from bangle.js ?
how to reset stepsCount() to "0" each midnight? i am lost in its documentation please HELP 🩷