This is a small IoT project which will help you determine which bin will be collected by the Local Council each week.
This script requests the HTML of the Local Council’s webpage. XPath expressions are then used to navigate the DOM, returning information relating to the dates various bins will be emptied (e.g. refuse, recycling, food waste, etc.).
This information is then written to an Inky pHAT e-paper display from Pimoroni, attached to a Raspberry Pi Zero W. In addition to this, a reminder SMS will be sent to the owner as a reminder that a bin day is approaching.
It is suggested the script is run regularly as a cron job.
The GitHub repo can be viewed at: https://github.com/Lynsay/BinDayAlert