Devlog #3:
Changes
In this update, I focused on refining the user metrics and implementing the automated weekly reset mechanism.
- Metric Adjustments: Removed water intake tracking from the list of monitored metrics. Simply put, I personally don’t track my daily water intake, so I decided to streamline the bot’s focus.
-
Automated Weekly Reset: Spent most of my development time implementing a scheduled automated reset system that triggers every Saturday at 12:00 PM.
- While the underlying logic isn’t overly complex, working through it while learning Python took more time than expected.
- As shown in the screenshot, where test data entered before 11:31 AM was automatically cleared upon trigger.
Learnings
-
Logging (
logger.info): Discovered how extremely valuablelogger.infois for debugging scheduled jobs and tracking state transitions. Without proper logging, diagnosing automated execution bugs would have been significantly harder.
Next Steps
- End-of-Week Summary Reporting: Implement logic to show results right before the automated reset occurs.
- Weekly Analytics & Graphs: Add visual statistics showing daily progress over the past week
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.