Skip to content
Simple sensor for avfallsor
Python
Branch: master
Clone or download
Latest commit 7be0679 Jan 8, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
custom_components/avfallsor
lovelace_example
.gitattributes
.gitignore
LICENSE
README.md
hacs.json

README.md

sensor.avfallsor

Simple sensor for avfallsor (garbage pickup)

GitHub Release GitHub Activity License hacs Discord Community Forum

Installation

Install using hacs or manual install

Manual install

  1. Using the tool of choice open the directory (folder) for your HA configuration (where you find configuration.yaml).
  2. If you do not have a custom_components directory (folder) there, you need to create it.
  3. In the custom_components directory (folder) create a new folder called avfallsor.
  4. Download all the files from the custom_components/avfallsor/ directory (folder) in this repository.
  5. Place the files you downloaded in the new directory (folder) you created.
  6. Restart Home Assistant

Configuration options

Key Type Required Default Description
address string False "" Address for garbage pickup
municipality string False "" Name of your
street_id string False "" Go to https://avfallsor.no/tommekalender/ enter the address and the hour number, press "vis tømmekalender" after that you get redirect to url that looks something like this: https://avfallsor.no/tommekalender/?id=12345&kommune=Kristiansand grab the id and the kommune in the url.

The sensor tries to find the your address (to find the pickup dates for your address) in this order:

  1. street_id and municipality
  2. address
  3. Lat and lon that you entered when you setup home assistant.

Yaml

So minimal yaml example could be.

sensor:
- platform: avfallsor

Full example.

sensor:
- platform: avfallsor
  address: "Kongeveien 1, Kristiansand"
  municipality: "Kristiansand"
  street_id: 12345

Integrations

  • In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "avfallsor"

See the lovelace_example folder for config example

You can’t perform that action at this time.