araczkowski / Home-Assistant-custom-components-Tauron-AMIplus

This sensor uses unofficial API to get energy usage and generation data from https://elicznik.tauron-dystrybucja.pl.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tauron AMIplus sensor

hacs_badge buymeacoffee_badge paypalme_badge

This sensor uses unofficial API to get energy usage and generation data from TAURON eLicznik.

WARNING: Currently it only supports G11 and G12 tariffs.

Configuration options

Key Type Required Default Description
name string False Tauron AMIPlus Name of sensor
username string True - Username used to login at eLicznik
password string True - Password used to login at eLicznik
energy_meter_id string True - ID of energy meter
check_generation boolean False false Enables checking energy generation
monitored_variables list True - List of variables to monitor

Possible monitored conditions

Key Description
zone Current zone
consumption_daily Daily energy consumption (for previous day!)
consumption_monthly Monthly energy consumption
consumption_yearly Yearly energy consumption
generation_daily Daily energy generation (for previous day!)
generation_monthly Monthly energy generation
generation_yearly Yearly energy generation

Example usage

sensor:
  - platform: tauron_amiplus
    name: Tauron AMIPlus
    username: !secret tauron_amiplus.username
    password: !secret tauron_amiplus.password
    energy_meter_id: !secret tauron_amiplus.energy_meter_id
    check_generation: true
    monitored_variables:
      - zone
      - consumption_daily
      - consumption_monthly
      - consumption_yearly
      - generation_daily
      - generation_monthly
      - generation_yearly

Installation

Download sensor.py and manifest.json to config/custom_components/tauron_amiplus directory:

mkdir -p custom_components/tauron_amiplus
cd custom_components/tauron_amiplus
wget https://github.com/PiotrMachowski/Home-Assistant-custom-components-Tauron-AMIplus/raw/master/custom_components/tauron_amiplus/sensor.py
wget https://github.com/PiotrMachowski/Home-Assistant-custom-components-Tauron-AMIplus/raw/master/custom_components/tauron_amiplus/manifest.json

FAQ

  • How to get energy meter id?

    To find out value for energy_meter_id log in to eLicznik. Desired value is in upper-left corner of page (Punkt poboru).

Buy Me A Coffee

About

This sensor uses unofficial API to get energy usage and generation data from https://elicznik.tauron-dystrybucja.pl.

License:MIT License


Languages

Language:Python 100.0%