682 B
682 B
daily-blackout-check
Checks planned power outages and sends new notices to an Eitaa chat.
Setup
-
Create and activate a Python virtual environment, then install dependencies:
python -m venv .venv source .venv/bin/activate pip install -r requirements.txt -
Copy the example configuration and replace its placeholder values:
cp .env.example .env -
Run the checker:
python main.py
The .env file is ignored by Git so tokens are not committed. Environment
variables supplied by the shell or GitHub Actions take precedence over .env.
BILL_IDS accepts one or more comma-separated electricity bill IDs.