A Home Assistant custom integration for displaying bin collection day and which bins need to go out based on your address. This integration scrapes the data from the Stockport bin collection website every 12 hours and will fetch the next bins to go out.
- Go to the HACS panel in Home Assistant.
- Click on the three dots in the top right corner and choose "Custom repositories".
- Enter
b0mbays/stockport-bin-collections
in the "Add custom repository" field, select "Integration" from the "Category" dropdown, and click on the "Add" button. - Once the custom repository is added, you can install the integration through HACS. You should see "My Bin Collection" in the "Integrations" tab. Click on "Install" to add it to your Home Assistant instance.
- Clone this repository to your local machine.
- Copy the
custom_components/stockport-bin-collections
directory to thecustom_components
directory in your Home Assistant configuration.
- In your Home Assistant instance, go to Configuration > Integrations > Add Integration.
- Search for "Stockport Bin Collections" and click on it.
- Enter your unique number (the numbers at the end of your bin collection URL, find your address here: https://myaccount.stockport.gov.uk/address-finder/bin-collection and grab the unique numbers at the end of the URL) and click "Submit".
After setting up the integration, a new sensor named sensor.bin_collection
will be created. You can add this sensor to a Lovelace dashboard to display the bin collection information.
If you encounter any issues or have questions, please open an issue on GitHub.
This project is licensed under the MIT License. See the LICENSE file for details.