Fasting Widget
· v1.2.0
About
TL;DR: Pressing the enter button will flip between pages, holding it will open menus. For touch devices tapping the screen will advance pages and long pressing will open menus. Some devices seem to require a mix between touch controls and physical buttons. You can add your birth date in the user settings to improve the accuracy of the calorie estimation.
For more information about the available settings and calorie calculation logic please consult the readme: https://github.com/pyrob2142/FastingWidget/blob/master/README.md
Fasting Widget allows you to keep track of your fast right on your wrist.
Features:
- Set a goal by choosing from various popular fast lengths, add your own lengths or fast freely without any commitment
- Keep track of your fast's duration and how long you have left until you meet your goal.
- Get an estimate of your real-time calorie burn based on implementations of BMR and activity formulas (see section Real-time Calories Estimation for details)
- Keep yourself accountable by maintaining a streak
- The widget can be configured via Garmin Connect Mobile or Garmin Express
- No account or registration required. All data comes from either your user settings (date of birth, body fat percentage) or your user profile (weight, height) and is only used during runtime for the calorie calculations
Credits:
Fire graphic made by Freepik from www.flaticon.com.
Translators are credited on the respective GitHub section.
If you want to support my work, feel free to fuel my caffeine addiction: https://paypal.me/rfeiner
Thank you for your support!
What's new
1.2.0:
- Thanks to Oleksiy Mishchenko's contribution you can now track the time since your last fast. It will show up in the widget glances, as well as in the widget. For the widget it will replace the noun for fasting in the streak view, due to space constraints. This feature is optional, but enabled by default, you can always adjust it to your liking in the settings, if you don't want to be guilt tripped by your watch. It will take effect the next time you end a fast. Due to limitations for widgets this is also the best we can do regarding an "eating window" timer. There is no way for CIQ widgets to wake up at a set time, so automatically starting or prompting a fast after let's say 8 hours of eating is sadly not possible.
- You can now set streak goals as well, so you have something to work towards for long-time motivation. The streak view will change to something like "10/100" both in the widget and the glance and you will get a progress indicator. It is nothing fancy though, because the widget is nearing its memory limit plus contingency. Once you surpass the goal the indicators will turn green and you can adjust the goal at any time in the settings. Also note that due to some number fonts being absurdly wide, the streak view will switch to the next smaller font, if the text would touch the ring. Theoretically it should be able to accommodate a few years worth of fasts. It's quite a large step and certainly not as cool to look at as the large number font, but I didn't want to limit your progress to 999 or 99 fasts depending on the device.
I'm currently in the middle of my finals, so updates will be less frequent (also I think we are nearing feature completion, as I don't want this to become too bloated and want to focus on fixing bugs and inconsistencies). I hope I haven't forgotten anything before deploying this (at least unlike last time fasts should still work...), as always if something is not working, please contact me via the "Contact Developer" form and I will investigate and try to work it out. I will also monitor ERA more closely over the weekend, to see if something major went terribly wrong.