How notifications work
The notification system works by:- Checking your configured check time every day
- Planning journeys from your home to your destination address
- Calculating when you need to leave to arrive by your arrival time
- Automatically sending you the journey options in Telegram
Notifications use your saved home and destination addresses along with all your configured preferences (walking speed, transport types, etc.).
Notification timing
You configure two key times for the notification system:Check time
The check time is when the bot sends you the journey notification each day. This should be set to a time when you’re typically getting ready to leave for work. Example: If you usually leave home around 7:30 AM, set your check time to 7:00 AM to receive journey options with enough time to prepare.Arrival time
The arrival time is when you need to arrive at your destination. The bot plans journeys backwards from this time to show you when to depart. Example: If you need to be at work by 9:00 AM, set your arrival time to 9:00 AM. The bot will show journeys that arrive by this time.Configuring notification times
Change check time
Select “Change check time” and enter the time in 24-hour format (HH:MM).Example:
07:00 for 7:00 AMChange arrival time
Select “Change arrival time” and enter your desired arrival time in 24-hour format.Example:
09:00 for 9:00 AMNotification behavior
Once configured, the notification system:- Runs continuously in the background
- Checks all registered users every 15 seconds
- Sends notifications when the current time matches a user’s check time
- Only sends one notification per day (uses
is_notifiedflag) - Resets notification flags daily to allow the next day’s notification
Notification content
When you receive a notification, it includes:- Multiple journey options (based on your
max_journeyssetting) - Full journey details for each option:
- Departure time from home
- Arrival time at destination
- Total duration
- Number of transfers
- All transport legs with line numbers and directions
- Platform information
- Walking segments
- Navigation buttons to browse through different journey options
The notification message is interactive - you can navigate through different journey options using the Previous/Next buttons directly in the message.
Notification schedule examples
Early morning commute
- Check time: 06:30
- Arrival time: 08:00
- Result: Receive journey options at 6:30 AM to arrive at work by 8:00 AM
Flexible morning schedule
- Check time: 08:00
- Arrival time: 09:30
- Result: Receive journey options at 8:00 AM to arrive by 9:30 AM
Afternoon shift
- Check time: 13:00
- Arrival time: 15:00
- Result: Receive journey options at 1:00 PM to arrive by 3:00 PM
Disabling notifications
Currently, there’s no direct toggle to disable notifications. However, you can effectively disable them by:- Setting your check time to a time when you won’t need the information (e.g., 23:59)
- Or leaving the notification unread - the system tracks sent notifications
Notification reliability
The notification system is designed to be reliable:- Runs continuously as a background process
- Checks every 15 seconds to ensure timely delivery
- Uses Berlin timezone (
Europe/Berlin) for all time comparisons - Prevents duplicate notifications with the
is_notifiedflag - Automatically resets for the next day
Notifications are sent based on the minute precision. For example, if your check time is 07:00, you’ll receive the notification sometime during the 07:00-07:01 minute window.
Troubleshooting
Not receiving notifications
Not receiving notifications
Check that:
- Your check time and arrival time are correctly configured in settings
- The bot has permission to send you messages in Telegram
- Your home and destination addresses are properly saved
- You haven’t already received today’s notification (only one per day)
Wrong journey times
Wrong journey times
Verify that:
- Your arrival time is set correctly
- Your timezone preferences are correct (system uses Berlin time)
- Your home and destination addresses are accurate
Too many or too few journey options
Too many or too few journey options
Adjust your
max_journeys setting in preferences to control how many journey options appear in the notification.