This sensor uses unofficial API to get energy usage and generation data from TAURON eLicznik.
To configure this integration go to: Configuration -> Integrations -> Add integration -> Tauron AMIplus.
You can also use following My Home Assistant link:
Since v2.3.0 this integration requires Home Assistant version 2022.12 or latter |
---|
Since v2.4.8 this integration might cause slow starts of Home Assistant |
---|
Download tauron_amiplus.zip and extract its contents 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/releases/latest/download/tauron_amiplus.zip
unzip tauron_amiplus.zip
rm tauron_amiplus.zip
Then restart Home Assistant before applying configuration file changes.
How to display hourly data in Energy dashboard?
To show hourly data in Energy dashboard you have to use tauron_importer
statistics instead of entities.
Why there are missing days in statistics/Energy dashboard?
Such gaps appear when there are missing values in hourly readings for this day. You can confirm it using eLicznik website.
How to fix missing data in statistics/Energy dashboard?
Once the data appears on eLicznik website can fill such gaps using tauron_amiplus.download_statistics
service.
When does this integration update data?
This integration logs in and downloads data from eLicznik website every 8.5h. This timer is restarted after: HA restart, integration reload, configuration change. Additionally, a new pack of data is freshly downloaded when user retrieves diagnostics data.
How to get energy meter id?
To find out value for energy_meter_id
follow these steps.
How to calculate available energy as a prosument?
To calculate available energy you can use following config:
input_number:
initial_energy_bank:
min: 0
max: 100000000
step: 1
mode: box
template:
- sensor:
- name: Tauron energy bank
state_class: total
device_class: energy
unique_id: tauron_energy_bank
icon: mdi:home-battery-outline
state: "{{ (states('input_number.initial_energy_bank') | float(0) + states('sensor.tauron_amiplus_123_yearly_energy_generation') | float(0) * 0.8 - states('sensor.tauron_amiplus_123_yearly_energy_consumption') | float(0)) | round(3) }}"
unit_of_measurement: "kWh"
availability: "{{ states('sensor.tauron_amiplus_123_yearly_energy_generation') | is_number and states('sensor.tauron_amiplus_123_yearly_energy_consumption') | is_number }}"
If you want to support my work with a donation you can use one of the following platforms:
Platform | Payment methods | Link | Comment |
---|---|---|---|
Ko-fi |
|
|
|
buycoffee.to |
|
||
PayPal |
|
|
|
Revolut |
|
|