mampfes / hacs_waste_collection_schedule

Home Assistant integration framework for (garbage collection) schedules
MIT License
1.06k stars 650 forks source link

Add support for Wastewise (Recollect) #1154

Open alarobric opened 1 year ago

alarobric commented 1 year ago

Wastewise appears to be a generic waste app used by a variety of Canadian cities. See Edmonton, Kamloops, Sudbury, etc. https://www.edmonton.ca/programs_services/apps_mobile/wastewise-app

They provide city-branded apps for mobile phones, where you can input your address and get reminders of which bins to put out when for your area. Also includes help for what goes in which bin, etc.

My hope is there's something straightforward and simple that could add support for a range of cities at once. Looks like under the hood it's using a service called Recollect. The widget on the Edmonton page lets you query an address and watching the network traffic I can see a set of API calls that return the needed data: https://api.recollect.net/api

dt215git commented 1 year ago

ReCollect is listed as one of the USA sources, but has a couple of Canadian examples. Can you get it working for Edmonton using the info on that page?

5ila5 commented 1 year ago

Recollect is supported by the ICS source I added some areas to the documentation but could not find an easy way to find all supported regions. You might need to add them individually. I added Waste Wise APPS as supported if you have a better solution on how to get supported regions feel free to share them. You can also add some additional known supported areas in the extra_info section of the recollect.yaml file and run the update_docu_links.py script (will update readme.md info.md and recollect.md)