mirror of
https://github.com/sascha-hemi/hacs_waste_collection_schedule.git
synced 2026-03-21 04:06:03 +01:00
* Adding RM of Morris to recollect * add test case to recollect.yaml --------- Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
2.7 KiB
2.7 KiB
ReCollect
ReCollect is supported by the generic ICS source. For all available configuration options, please refer to the source description.
How to get the configuration arguments
- To get the URL, search your address in the recollect form of your home town.
- Click "Get a calendar", then "Add to Google Calendar".
- The URL shown is your ICS calendar link, for example.
https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics?client_id=6FBD18FE-167B-11EC-992A-C843A7F05606 - You can strip the client ID URL parameter to get the final URL:
https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics
known to work with:
| Region | Country | URL |
|---|---|---|
| Ottawa, ON | Canada | ottawa.ca |
| Simcoe County, ON | Canada | simcoe.ca |
| City of Bloomington, IN | USA | api.recollect.net/r/area/bloomingtonin |
| City of Cambridge, MA | USA | cambridgema.gov |
| City of Georgetown, TX | USA | texasdisposal.com |
and probably a lot more.
Examples
Cambridge, MA, USA
waste_collection_schedule:
sources:
- name: ics
args:
split_at: '\, (?:and )?|(?: and )'
url: https://recollect.a.ssl.fastly.net/api/places/F2BCBBF2-ACC9-11E8-B4BD-CFDD30C1D4D8/services/761/events.en-US.ics
Ottawa, ON, Canada
waste_collection_schedule:
sources:
- name: ics
args:
split_at: '\, (?:and )?|(?: and )'
url: https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics
Georgetown, TX, USA
waste_collection_schedule:
sources:
- name: ics
args:
split_at: '\, (?:and )?|(?: and )'
url: https://recollect.a.ssl.fastly.net/api/places/9EA385D4-4AF9-11EB-B308-E6A235C11932/services/611/events.en-US.ics
Sherwood Park, AB, Canada
waste_collection_schedule:
sources:
- name: ics
args:
url: webcal://recollect.a.ssl.fastly.net/api/places/F5A5C1D2-3D25-11EE-A377-8D1C706BDDF3/services/238/events.en.ics?client_id=7CCAFDAE-3D25-11EE-8AF8-9D1C706BDDF3
Morris, MB, Canada
waste_collection_schedule:
sources:
- name: ics
args:
split_at: '\, (?:and )?|(?: and )'
url: webcal://recollect.a.ssl.fastly.net/api/places/2DC90F42-E8AA-11EB-A726-598C8684B99B/services/397/events.en.ics