This is just a little idea I had on the bus.
Outside my apartment, I have a bucket for umbrellas.
A program checks the local weather on weather.com from time to time. If there’s any chance of rain, it switches on the lights installed in the bucket.
So when I walk out the door, I know whether or not I should take an umbrella to work.