Automated bin collection reminders for Bath & North East Somerset (BANES) Council. Sends a reminder the evening before your collection day via macOS Reminders and email.
- Fetches real collection dates from BANES Council API
- Handles bank holiday schedule changes automatically
- macOS Reminder + email notifications
- Runs daily at 7pm, only notifies when collection is tomorrow
- macOS
- Python 3
- Gmail account with App Password
Look up your property at uprn.uk using your postcode.
- Go to Google App Passwords
- Create a password for "Mail" on "Mac"
- Copy the 16-character password
cp config.example.py config.pyEdit config.py with your details:
UPRN = "your_uprn_here"
EMAIL_TO = ["you@gmail.com"] # Can be multiple addresses
EMAIL_FROM = "you@gmail.com"
GMAIL_APP_PASSWORD = "xxxx xxxx xxxx xxxx"./install.shThis installs a launchd job that runs daily at 7pm.
python3 bin_reminder.py./uninstall.shThe BANES API endpoint is in bin_reminder.py. For other UK councils, check UKBinCollectionData for API details.