Files
daily-blackout-check/README.md
2026-07-17 03:57:03 +03:30

682 B

daily-blackout-check

Checks planned power outages and sends new notices to an Eitaa chat.

Setup

  1. Create and activate a Python virtual environment, then install dependencies:

    python -m venv .venv
    source .venv/bin/activate
    pip install -r requirements.txt
    
  2. Copy the example configuration and replace its placeholder values:

    cp .env.example .env
    
  3. 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.