Skip to content

sfortis/rae_price_scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

RAE Price Scraper for Home Assistant

This custom Home Assistant sensor component scrapes electricity prices from the RAE (Regulatory Authority for Energy) website (https://invoices.rae.gr/oikiako/) and provides the price as a sensor in Home Assistant.

Features

  • Fetches the latest electricity price per kWh in EUR from RAE.
  • Configurable provider and plan filters.
  • Configurable scraping URL.

Installation

  1. Clone or Download: Clone this repository into your Home Assistant's custom_components directory or download the zip file and extract the rae_price_scraper folder into the custom_components directory.
  2. Restart Home Assistant
  3. Configuration: Add the sensor configuration to your configuration.yaml file with the necessary parameters.
  4. Restart Home Assistant: Restart your Home Assistant instance to pick up the new sensor.

Configuration

Add the following to your configuration.yaml file:

sensor:
  - platform: rae_price_scraper
    provider_filter: "ΔΕΗ"  # Replace with your provider
    plan_filter: "My Home Online"  # Replace with your plan
    url: "https://invoices.rae.gr/oikiako/"  # RAE URL (default)
    discounted_price: "Y" # Returns the "Έκπτωση με Προϋποθέσεις" price if set to Y
    scan_interval: 86400

Usage

Once configured and Home Assistant has been restarted, the sensor will appear in your Home Assistant instance as sensor.rae_price_per_kwh. It will update once every day by default, but you can modify the scan_interval to change the update frequency.

About

Home Assistant sensor component scrapes electricity prices from the RAE (Regulatory Authority for Energy) website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages