Skip to content

Latest commit

 

History

History
56 lines (42 loc) · 1.93 KB

samiljo_se.md

File metadata and controls

56 lines (42 loc) · 1.93 KB

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.

  1. 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
  1. Missing mappings will be returned together with an address.
  2. Use the Hämtningskalender to extract the corresponding common name to the new wastetype.
  3. Add the new types to the NAME_MAP and optionally to the ICON_MAP in samiljo_se.py and samiljo_se_wastetype_searcher.py.