Smoke Free Companion
· vv0.5.0
About
Smoke Free Companion is your personal companion on the journey to a smoke-free life. Keep track of your progress, celebrate milestones, and stay motivated with real-time updates on how long it's been since your last cigarette, the number of cigarettes not smoked, and the money saved.
With Smoke Free Companion, take control of your health and embrace a fresh start.
To set up your quit date and personalize your experience, follow these simple steps:
1. Open the Connect IQ app on your mobile device.
2. Select the Garmin device where you've installed the Smoke Free Companion widget.
3. Navigate to the widget settings for Smoke Free Companion.
4. Follow the prompts to enter your quit date and other relevant data.
Once set up, Smoke Free Companion will start tracking your progress and providing real-time updates on your journey to a smoke-free life.
I developed this widget primarily for my own use as a fun project to help me quit smoking. Debugging across multiple devices isn't my idea of fun, so the widget is currently only available for the Fenix 6 and Fenix 7 lineup. The source code is open to the public—if you'd like to make it compatible with other devices, feel free to submit a pull request.
What's new
- All five settings (quit date, cigarettes per day, currency, pack price, pack size) can now be edited directly on the watch: long-press UP on any stat view to open the on-watch settings menu.
- The widget now remembers the last-viewed stat page and reopens to it on next launch.
- Picking a different currency now resets the pack price to a sensible default for that currency (USD/EUR: 9.0, HUF: 2100), so existing values aren't left at a nonsensical scale.
- Settings edits (quit date, pack price, cigarettes per day, currency, etc.) now take effect immediately without needing to relaunch the widget.
FIXES
- Elapsed-time display no longer drifts by ~5 days per year past your 1-year anniversary (was showing e.g. `2y 0m 10d` instead of `2y 0m 0d`).
- Cigarettes-not-smoked count now updates continuously within each hour, instead of staying at zero until a full hour elapses.
- Milestone progress bar no longer overflows past the screen edge for users beyond the last milestone (50 years).
- Glance view no longer crashes on launch