I realize this piston will need to be redone and customized by each person to fit their own collection schedule, here is mine…
Trash collection is every other weekday (except holidays), recycling is every Monday (only on collection days).
This piston will fire every night at 1am and check an HTTP endpoint to see if today is a national observing holiday. It will then calculate if today is trash and/or recycling pickup day and display as piston status. You can also easily add a push notification if you’d like.
The HTTP url endpoint is:
http://holidayapi.riccardoravaro.com/api/v1/holidays?country=US&year={$year}&month={$month}&day={$day}