PowerShell scripts and a module to scrape waste (bin!) collection schedule data from Cheshire East council, send it as an email along with a "night before" reminder calendar invitation.
Well, each week on the same day, I have a bin (waste/garbage) collection, like most households do. I found myself checking the online portal for Cheshire East Council for the type of bin that needed to go out on the kerb every single week. Every time I did I thought "there must be a better way". I'm holding my phone 99.9% of the time, I have email, I have a calendar so I should just use that. Why don't you just schedule a reminder every week? My bin collections alternate and there are some parts of the year such as winter where the garden waste bin isn't collected so it isn't that simple. Rather than assume what type of bin is to be collected (or, you know, waiting for my neighbours to put theirs out!) I thought I'd see what I could do in PowerShell to automate the process.
The first version of the script just scraped the site (http://online.cheshireeast.gov.uk/MyCollectionDay/), cleaned up the formatting a little and sent an email with the data I'd scraped. A good first attempt that saved the hassle of submitting the postcode and house number on their website but I still had to check my email for the info. It's quicker but not as automated as I want.
Since I had a lot of time on my hands on an evening while working away from home, I decided to see if I could improve the process by sending a calendar event/invite as well. This gives the added benefit that there's a reminder that the bin (waste/garbage) needs to go out on the kerb for the following day and it tells me what bin by colour (we have three bins for different purposes in Cheshire East: Recyclables (Silver/Grey), Garden (Brown) & Other (Black)) that needs to go out.
Yes, really. It's an over-engineered solution to a first world problem but as a I mentioned, I had a lot of time on my hands.
In its current guise, probably not unless you live in Holmes Chapel, Cheshire East, UK or have a decent grasp of how to change the scripts to suit your purposes. If you do have a decent grasp of PowerShell, I'm sure you could adapt the code to suit your purposes, they're fairly simple to understand and have plenty of comments so you can see what's going on. The iCal event creation code is, I imagine, the most interesting part of this whole solution for most people looking at it. I don't mind admitting it took me nearly two weeks of mid-week evenings to work out how to properly format and send an iCal invite like this.
To learn about GitHub more than anything else. I'm not a developer but I know where the IT world is going. I've come from a Windows infrastructure/architecture background but I do have a fairly advanced grasp of PowerShell (at least, I think I do) and a desire to stop having to check a website every week to find out what bin I need to stick on the kerb the night before.