mirror of
https://github.com/sascha-hemi/hacs_waste_collection_schedule.git
synced 2026-03-20 23:04:13 +01:00
1.9 KiB
1.9 KiB
Samverkan Återvinning Miljö (SÅM)
Support for schedules provided by Samverkan Återvinning Miljö (SÅM), serving the municipality of Gislaved, Gnosjö, Vaggeryd and Värnamo, Sweden.
Helgvecka means that the pickup day might deviate from the scheduled day due to a public holiday during the week.
Configuration via configuration.yaml
waste_collection_schedule:
sources:
- name: samiljo_se
args:
street: STREET_NAME
city: CITY_NAME
Configuration Variables
street (string) (required)
city (string) (required)
Example
waste_collection_schedule:
sources:
- name: samiljo_se
args:
street: Storgatan 1
city: Burseryd
How to get the source argument
The source argument is the street including number and the city to the house with waste collection. The address can be tested here.
How to add new waste types
If your address are missing any waste types that shows in the Hämtningskalender. Then there might be missing mappings in the NAME_MAP.
- Run Samiljo_se_wastetype_searcher.py for the specific address or without arguments to scan all addresses in the database.
Examples of valid command below.
> samiljo_se_wastetype_searcher.py --street "Storgatan 1" --city "Burseryd"
> samiljo_se_wastetype_searcher.py --city "Burseryd"
> samiljo_se_wastetype_searcher.py --street "Storgatan 1"
> samiljo_se_wastetype_searcher.py
- Missing mappings will be returned together with an address.
- Use the Hämtningskalender to extract the corresponding common name to the new wastetype.
- Add the new types to the NAME_MAP and optionally to the ICON_MAP in samiljo_se.py and samiljo_se_wastetype_searcher.py.