mirror of
https://github.com/michivonah/themepark-alerts.git
synced 2025-12-22 20:36:27 +01:00
added ntfy as alternative notfication service, support for other themeparks & more customization
This commit is contained in:
parent
ff4f5e10ae
commit
6cbdb6a61e
5 changed files with 52 additions and 30 deletions
22
README.md
22
README.md
|
|
@ -1,10 +1,10 @@
|
|||
# Europapark Waitingtime Alerts via Discord Webhook
|
||||
A tool which alerts you when the waiting times of subscribed europapark attractions sinks or increase. Powered by the [wartezeiten.app](https://www.wartezeiten.app/page/api.html) API.
|
||||
# Themepark Wait Time Alerts
|
||||
A tool which alerts you when the waiting times of subscribed attractions in your favourite themepark sinks or increase. The notifications are sent to a Discord webhook or to your ntfy-server. Powered by the [wartezeiten.app](https://www.wartezeiten.app/page/api.html) API.
|
||||
|
||||
GitHub: https://github.com/michivonah/europapark-alerts <br>
|
||||
Docker: https://hub.docker.com/r/michivonah/ep-alerts
|
||||
|
||||
Host it on your server:
|
||||
Host it on your own server:
|
||||
1. Install docker on your system
|
||||
|
||||
```apt-get install docker.io docker-compose -y```
|
||||
|
|
@ -15,9 +15,15 @@ Host it on your server:
|
|||
## Enviormental variables
|
||||
These environment variables are supported
|
||||
|
||||
| Variable | Description | Example |
|
||||
| --- | --- | --- |
|
||||
| DISCORD_WEBHOOK | The URL of your discord webhook | ``https://discord.com/api/webhooks/XXXXXXXXXXXXXX/YYYYYYYYYYYYYYYYYYYYYYYYY`` |
|
||||
| SUBS | Your subscribed attractions with ID from wartezeiten.app API | ``383533,323530,353030`` |
|
||||
| Variable | Description | Example | Required |
|
||||
| --- | --- | --- | --- |
|
||||
| NOTIFICATION_TYPE | Define which type of notification you want use. Supported are: discord, ntfy | ``discord`` | yes |
|
||||
| CHECK_INTERVAL | Defines how often the API is requested and the waittimes are checked for updates (in seconds) | ``30`` | no |
|
||||
| DISCORD_WEBHOOK | The URL of your discord webhook | ``https://discord.com/api/webhooks/XXXXXXXXXXXXXX/YYYYYYYYYYYYYYYYYYYYYYYYY`` | no* |
|
||||
| NTFY_URL | The URL to your ntfy topic | ``https://ntfy.example.com/mytopic`` | no* |
|
||||
| NTFY_ACCESS_TOKEN | Optional access token for authenticating against your ntfy server if authentication is enabled. | ``tk_2cdbcfea1702cc3bd2c874beab1`` | no |
|
||||
| SUBS | Your subscribed attractions with ID from wartezeiten.app API | ``383533,323530,353030`` | yes |
|
||||
| THEMEPARK | Select your desired themepark from the wartezeiten.app API. Defaults to ``europapark`` | ``europapark`` | no |
|
||||
|
||||
> Required enviromental variables: DISCORD_WEBHOOK, SUBS
|
||||
|
||||
> *Depending on the selected service for notifications (``NOTIFICATION_TYPE``) ether ``DISCORD_WEBHOOK`` or ``NTFY_URL`` is required.
|
||||
Loading…
Add table
Add a link
Reference in a new issue