mirror of
https://github.com/sascha-hemi/hacs_waste_collection_schedule.git
synced 2026-03-21 00:04:11 +01:00
* Adding Bury Council, UK * Changing ID to UPRN * Adding docs and info.md * Adding docs and info.md * Changing regex and uprn to ID * reformatting + one id test case integer + change UPRN to id in md file --------- Co-authored-by: Joe Ashworth <joe@joeashworth.io> Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
1.3 KiB
1.3 KiB
Bury Council
Support for schedules provided by Bury Council, serving Bury, UK.
Configuration via configuration.yaml
waste_collection_schedule:
sources:
- name: bury_gov_uk
args:
id: PROPERTY_ID
postcode: POSTCODE
address: ADDRESS
Configuration Variables
id
(string) (optional)
postcode
(string) (optional)
address
(string) (optional)
Example using UPRN
waste_collection_schedule:
sources:
- name: bury_gov_uk
args:
id: "647186"
Example using Address and Postcode
waste_collection_schedule:
sources:
- name: bury_gov_uk
args:
address: "1 Oakwood Close"
postcode: "BL8 1DD"
How to find your PROPERTY_ID
Your PROPERTY_ID is the collection of numbers at the end of the url when viewing your collection schedule in Developer Tools on the Bury Council web site.
For example: https://www.bury.gov.uk/app-services/getPropertyById?id=647186
You have to navigate to https://www.bury.gov.uk/waste-and-recycling/bin-collection-days-and-alerts, open Dev Tools, Select Network and then input your Postcode and select your Address. The URL should appear as network traffic.