Skip to content

Releases

v0.1.10

Choose a tag to compare

@github-actions github-actions released this 22 Nov 04:29

Stable release of 0.1.10b1 and b2: two recording fixes, both found on real sites.

  • A bad counter reading no longer doubles the day's energy. An energy counter that dropped by more than 10% was taken as reset at once. A Modbus integration reading 0 for one poll then had its climb back counted as new energy: the day doubled on a daily counter, and a lifetime counter would have added its whole total. A drop now counts as a reset only if the counter stays down for 15 minutes; if it comes back sooner, only the real increase is counted, also when the bad reading falls between two reads of the recorder. Reported on the PVOutput forum (Sigenergy Local Modbus).
  • Slots read right after a backup are complete again. Home Assistant locks the recorder's database while a backup copies it; a 4 GB backup held it for about 25 minutes. The first read after the lock ran while the recorder was still writing the states it had queued, and a built slot is never read again: on one site b1 and b2 went to PVOutput empty at 05:00 and 05:05 after a 04:45 backup. Recording now waits until the recorder has caught up.
  • HACS installs from a release zip (pvoutput_uploader.zip, attached to every release), so the HACS store shows a download count.
  • Shared setups: SolarEdge Modbus Multi, and the extended Sigenergy setup now uses the inverter's lifetime PV counter for v1.

Both fixes need the recorder's data to repair what they already affected: Configure → Import history from Home Assistant for those days, with Replace recorded values and Send to PVOutput on, within the recorder's keep days (10 by default). A plain reupload only resends what is stored.

Tested on Home Assistant 2026.10; the test harness has no 2026.11 release yet.

Details per beta below.

v0.1.10b2

v0.1.10b2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 21 Nov 21:24
  • Fix: slots read right after a backup could be incomplete. Home Assistant locks the recorder's database while a backup copies it (the nightly automatic backup; a 4 GB one held it for about 25 minutes). States arriving meanwhile wait in the recorder's queue, and reads of the history wait for the lock. The first read after it went ahead while the recorder was still writing that queue, so the slots it built lacked part of their history, and a built slot is not read again: on one site b1 and b2 went to PVOutput empty at 05:00 and 05:05 after a 04:45 backup, although the battery sensor never stopped reporting. Recording now waits while the recorder has more than 200 events not yet written, and drops a read that finishes with the recorder that far behind; the same period is read once it has caught up. Uploads of what was read before carry on.
  • Repairing earlier backups: Configure → Import history from Home Assistant for the period, with Replace recorded values and Send to PVOutput on (within the recorder's keep days). A plain reupload resends the stored values and would not add the missing ones.
  • Tested on Home Assistant 2026.10, not 2026.11. The test harness (pytest-homeassistant-custom-component) has no release for 2026.11 yet; its newest, for 2026.10.4, fails to load under 2026.11.0 (an httpx import order and a removed private logger function), so CI ran on 2026.10.4. Nothing in this fix depends on what changed in 2026.11: the recorder's backlog count it reads is the same there.

v0.1.10b1

v0.1.10b1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 13 Nov 02:36
  • Fix: a bad counter reading could double the day's energy. A drop of more than 10% in an energy counter was taken as a reset at once, so a counter that read 0 (or another wrong low value) for one poll and then came back had its climb back counted as new energy: the day doubled for a daily counter, and a lifetime counter would have added its whole total. A drop now counts as a reset only if the counter stays down; back near its old value within 15 minutes, it was a bad reading and only the real increase is counted. This also holds when the bad reading falls on a boundary between two reads of the recorder. Reported on the PVOutput forum (Sigenergy Local Modbus).
  • Shared setups: SolarEdge Modbus Multi (from savoy); the extended Sigenergy setup now uses the inverter's lifetime PV counter for v1, as its author changed it.

v0.1.9

Choose a tag to compare

@github-actions github-actions released this 19 Oct 10:24

Stable release of the 0.1.9 betas (b1-b3): an energy fix, and export and import of the configuration.

  • Fix: energy could be lost while recording (#3). The log is filled from the recorder in small reads, and an increment across a read boundary was counted by neither read when the energy counter was unavailable there, or when a state reached the recorder after the previous read. Each counter's last value is now carried from one read to the next, saved together with the read position and kept across restarts. Import history carries it across its day boundaries too.
  • Repairing days already short: Configure → Import history from Home Assistant for those days, with Replace recorded values and Send to PVOutput on, rebuilds them from the recorder (within its keep days) and sends them again.
  • Export and import configuration (#4): Configure → Export configuration shows the site's fields and settings as YAML (also the pvoutput_uploader.export_config action), never with the API key or system ID. Configure → Import configuration adds the missing fields or replaces all, takes settings only when asked, lets you pick your own sensor for any it names that are not here, and checks everything before saving. Donor-only fields on a standard account are imported only after a confirmation.
  • Shared setups: ready-made mappings for inverter and battery integrations in setups/ (by pull request, checked by the tests) and on the wiki's Shared setups page.
  • Connection errors name the error: a timeout now logs e.g. addstatus.jsp: TimeoutError instead of nothing.

Upgrading from 0.1.8: nothing to do. Days that came out short before can be repaired as above.

Details per beta below.

v0.1.9b3

v0.1.9b3 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 19 Oct 10:18

Fixes from the review of 0.1.9b2:

  • Import checks values strictly: daily_output_fallback must be a YAML true or false (a quoted "false" used to count as on), and fixed values must be real numbers (.nan, .inf and true are refused).
  • Merging checks only the fields it adds: an imported field that is already configured here is not used, so its sensor no longer fails the import (e.g. on a unit).
  • Donor-only fields on a standard account can be imported after a confirmation screen saying they are configured but not sent or downloaded until the account is a donor.
  • Recording checkpoint in one transaction: the time read up to and the carried energy counters are saved together, so a crash cannot leave them out of step.

v0.1.9b2

v0.1.9b2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 19 Oct 10:00
  • Export and import configuration (#4): Configure → Export configuration shows the site's fields and settings as YAML to copy (also the pvoutput_uploader.export_config action), never with the API key or system ID. Configure → Import configuration takes it in: add the missing fields or replace all, settings only when asked, and sensors this installation names differently picked on one screen. Everything is checked before it is saved.
  • Shared setups: ready-made mappings for inverter and battery integrations in setups/ (pull requests, checked by the tests) and on the wiki.

v0.1.9b1

v0.1.9b1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 14 Oct 22:50
  • Fix: energy could be lost while recording (#3). The log is filled from the recorder in small reads, usually one 5 minute slot a minute, and each read counted energy from the counter value in force at its start. When the counter was unavailable at a read boundary, or a state reached the recorder after the previous read, the increment across the boundary was counted by neither read, so the log, and PVOutput, fell behind the sensor. Each counter's last value is now carried from one read to the next and kept across restarts, so the increment lands in the next slot. Import history carries it across its day boundaries too.
  • Repairing days already short: Configure → Import history from Home Assistant for those days with Replace recorded values and Send to PVOutput on rebuilds them from the recorder (within its keep days, 10 by default) and sends them again (statuses within 14 days, 90 for donors).
  • Connection errors name the error: a timeout used to log PVOutput upload stopped: addstatus.jsp: with nothing after it; it now says e.g. addstatus.jsp: TimeoutError.

v0.1.8

Choose a tag to compare

@github-actions github-actions released this 11 Oct 13:19

Stable release of the 0.1.8 betas (b2, b3; b1 was not released): PVOutput's history in Home Assistant statistics.

  • Every column PVOutput has (v1-v12, normalised output) is kept as hourly statistics, ... (PVOutput history) (pvoutput_uploader:<system id>_<field>), whatever the fields are set to: energy as hourly totals, the rest as hourly mean, min and max. Shown in statistics graphs and the Energy dashboard.
  • Daily history download switch (Controls, on by default): yesterday is added every day after 02:00, and the two days before it again for statuses that reached PVOutput late; up to 30 missed days are caught up after a stop. Each day fetched is checkpointed, so the hourly limit never causes repeats.
  • Configure → Download history from PVOutput (From, To): checks first how far back PVOutput has statuses and says so when the start has none, then fetches day by day in the background at the pace the hourly limit allows. Progress and result in the History download days left sensor; long downloads rebuild the statistics every 30 days and at the end.
  • Newer data wins: days PVOutput has statuses for replace what was downloaded before; days without keep it.
  • Hours without statuses (a gap, or midnight to the first status) share the energy counted over them evenly; the day's total stays exact. Daylight saving days (23 and 25 hours) are handled and tested.
  • Download fields get their past: a from PVOutput sensor's statistics are filled from the history for the hours before its own begin, never rewriting recorded hours, with energy totals lined up.
  • Downloading switch (while a field is in Download mode) stops the live reads.
  • Removing a site deletes its PVOutput history statistics.
  • Icons: matching Last upload / Last download, and icons for the new switches and sensors.
  • Normalised output from PVOutput is in kW/kW (was labelled kWh/kW); Home Assistant may ask once about the unit change of its statistics.

Upgrading from 0.1.7: nothing to do. The daily history download starts by itself (switch it off under Controls if you do not want it); use Download history from PVOutput once to bring in the past.

Details per beta below.

v0.1.8b3

v0.1.8b3 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 11 Oct 13:08
  • Matching icons: Last upload and Last download are a cloud with an up and a down arrow; the Downloading and Daily history download switches, History download days left and Normalised output have their own icons too.
  • Daily history download checkpoints each day it fetches, so a pass stopped by the hourly limit does not ask for the same days again, and the two previous days are fetched again only once, when a new day arrives.
  • Tests for daylight saving days (Sydney: the 23 hour day in October, the 25 hour day in April): every hour lies in its day, none twice, and energy adds up to PVOutput's day total.

v0.1.8b2

v0.1.8b2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 11 Oct 12:53
  • Late statuses reach the history: each day the daily download also fetches the two days before yesterday again (three requests a day), so statuses that reached PVOutput late (another uploader catching up, a reupload) replace what was downloaded first. Each day fetched is checkpointed, so a pass stopped by the hourly limit does not ask for the same days again.
  • Hours without statuses: energy counted over hours PVOutput has no statuses for (a gap, or midnight to the first status) is shared evenly by those hours and the next hour with a status, instead of all landing in that next hour. The day's total stays exact; the README says which hours are estimates.
  • Long history downloads rebuild the statistics every 30 days with detail and at the end, not after every batch of ten days; a pending rebuild survives restarts.
  • Tests for daylight saving days (23 and 25 hour days, Sydney): every hour lies in its day, none twice, and energy adds up to PVOutput's day total.