Skip to content
forked from jacek2511/ha_rce

Rynkowa cena energii elektrycznej (RCE)

License

Notifications You must be signed in to change notification settings

home409ca/ha_rce

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Latest Release License GitHub All Releases

homeassistant-rce

Rynkowa cena energii elektrycznej (RCE)

This is an integration between Home Assistant and PSE RCE

The RCE sensor provides the current price with today's and tomorrow's prices as attributes. Prices for the next day become available around 3:00 p.m.

ApexCharts card is recommended for visualization of the data in Home Assistant.

Example configuration for the cards

type: custom:apexcharts-card
graph_span: 24h
span:
  start: day
header:
  show: true
  title: Rynkowa Cena Energii Elektrycznej [zł/MWh]
  colorize_states: true
now:
  show: true
  label: Teraz
  color: var(--secondary-color)
yaxis:
  - decimals: 0
    apex_config:
      tickAmount: 5
series:
  - entity: sensor.rynkowa_cena_energii_elektrycznej
    type: column
    name: Cena Rynkowa Energii Elektrycznej
    float_precision: 2
    data_generator: |
      return entity.attributes.today.map((start, index) => {
        return [new Date(start["start"]).getTime(), entity.attributes.today[index]['tariff']];
      });

Install

Using HACS (recommended)

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

You can install the plugin via HACS using the following steps

  1. Open HACS
  2. Click Integrations
  3. Clik the three dots on the top right
  4. Click "Custom repositories"
  5. Add https://github.com/jacek2511/ha_rce/ and a category of your choice

About

Rynkowa cena energii elektrycznej (RCE)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%