I’m running a C-7 and I have a Rule Machine rule that sends a notification (phone + TTS) the evening before garbage/recycling pickup. Right now it alternates between “garbage” and “recycling” every week using a Boolean variable, all year long.
My city’s actual schedule is seasonal:
Early May to early October: pickup every week, for both garbage and recycling.
Second week of October to end of April: pickup every two weeks, alternating garbage and recycling.
Pickup day is Friday, and I want the notification on Thursday at 6:00 PM.
What I’d like to achieve:
During the summer period, send a single notification each week: “Don’t forget to put out the garbage AND the recycling.”
During the winter period, keep my current alternation: one week garbage, the next week recycling.
Ideally, no manual intervention when seasons change, and the rule should repeat every year without editing the dates.
You can keep it in one rule. Leave the Thursday 6:00 PM trigger as is, and split the actions with IF / ELSE-IF.
IF "Between two dates" May 1 to Oct 10: notify "Garbage AND recycling tonight."
ELSE-IF your Boolean is true: notify garbage, set Boolean false.
ELSE: notify recycling, set Boolean true.
Set the dates by month and day only so it repeats every year. Worth testing once on your firmware to confirm it ignores the year.
Two catches. "Early May" and "second week of October" move a bit each year, so fixed dates can be off by a week. And the first winter week might land on the wrong bin, so check it once in October and flip the Boolean by hand if needed.
Just offering ideas - since this programmatically is not overly complex (compared to some of the rules I've seen!), my Waste Management company publishes the schedule online through something called 'recollect'. (Digital Waste Management Tools for Municipal Communication)
I used it once a few years ago when I was in a major city (Portland, OR). I'm rural now, so I just wrote the rules instead but I think the idea could be explored by some folks if they enjoy that sort of thing!