lukaszkurowskilbn/polska-faktura-za-prad — explained in plain English
Analysis updated 2026-05-18
Track a Polish electricity bill inside Home Assistant without manual spreadsheet math.
Update tariff rates in the UI whenever the utility changes them, with no restart needed.
Compare running costs against a chosen zero-point meter reading for the current billing period.
Estimate the share of the bill coming from CO2 emissions allowance costs (ETS).
| lukaszkurowskilbn/polska-faktura-za-prad | andyuneducated/resolve-ai | carriex6/cvpr2026_similarity_as_evidence | |
|---|---|---|---|
| Stars | 18 | 18 | 18 |
| Language | Python | Python | Python |
| Setup difficulty | moderate | hard | hard |
| Complexity | 3/5 | 4/5 | 4/5 |
| Audience | general | developer | researcher |
Figures from each repo's GitHub metadata at analysis time.
Requires a working Home Assistant instance with HACS, plus the ApexCharts card for the optional dashboard view.
This is a Home Assistant custom integration that calculates a Polish electricity bill from scratch inside your smart home dashboard. Polish electricity invoices are unusually complex: they contain around a dozen separate line items covering active energy, distribution charges, quality fees, capacity fees, OZE (renewable) and cogeneration levies, a subscription fee, and excise tax, each with its own rate and VAT percentage. Those rates also change frequently. The integration models every one of these line items as a separate editable entity in the Home Assistant interface, so when a rate changes you update it in the UI and the bill recalculates immediately without restarting anything. The integration exposes sensors for the total amount due (gross), the net total, the VAT amount, and consumption. It also groups the line items into three subtotals: energy sales, distribution, and taxes. Each individual line item gets its own diagnostic sensor showing the quantity, rate, VAT, and gross amount as attributes. A set of number entities labeled with the Polish rate names lets you override any rate. For consumption data, you can point it at an existing Home Assistant sensor such as a utility meter, or enter kilowatt-hours manually. A zero-point feature lets you set the starting meter reading for a billing period, so the running cost always reflects consumption since the last invoice. There are also modes for pulling historical consumption from the Home Assistant recorder for a specific date range, or entering start and end meter readings directly. A separate optional feature estimates the CO2 emissions cost (ETS) embedded in the energy price. This appears as an overlay with its own sensors and chart, showing what share of your bill comes from carbon allowance costs, without affecting the main bill calculation. A ready-made dashboard YAML file is included, which adds a dedicated sidebar panel showing the total due, a breakdown by category, cost per kilowatt-hour, and daily, weekly, and monthly cost charts powered by the ApexCharts Home Assistant card. Installation is through HACS (the Home Assistant Community Store) by adding the repository as a custom integration, or by manually copying the component folder. Tariff profiles for PGE G11, G12, and G12w are included out of the box.
A Home Assistant add-on that recalculates your Polish electricity bill in real time from editable rate entities, matching the roughly dozen line items on a real PGE invoice.
Mainly Python. The stack also includes Python, Home Assistant, HACS.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly general.
This repo across BitVibe Labs
Verify against the repo before relying on details.