mrkriskrisu/aha-calendar-subscription

v1.0 2022-02-11 20:40 UTC

This package is auto-updated.

Last update: 2024-05-12 01:44:54 UTC


README

Codacy Badge Gitmoji

The waste provider of the Region Hannover unfortunately only offers its calendar as a downloadable ics file. If Dates for the waste collection change, you have to download and update the file manually.

You can use this script to subscribe to the calendar offered by aha.

Installation

Download the Script

You can download this script using one of the following methods:

  1. Download the script as a zip file from GitHub (click here)

  2. Clone the repository with git clone https://github.com/MrKrisKrisu/aha-calendar-subscription.git

  3. Download via composer with composer require mrkriskrisu/aha-calendar-subscription

Find out your address data

You need different data to retrieve the calendar for your address. Go to the aha Abfuhrkalendar and search for your city, street and house number.

In the list you will find two buttons:

Download Ical für Apple and Android

Right-click on one of these buttons and click Inspect. The exact name may depend on your browser. You can now see the source code for aha's form. You need the values for hausnr, hausnraddon, ladeort and strasse.

Copy the values and paste them into the index.php of this script.

Then you have to put the script on a web server which is accessible from your calendar.

Usage

Subscribe the URL to the index.php in your calendar.