Skip to content

Releases

1.4.0b1

1.4.0b1 Pre-release
Pre-release

Choose a tag to compare

@Varitras Varitras released this 31 Oct 11:38

A beta on 1.3.0: an optional fast read of the grid meter's power for battery controls that follow feed-in and draw, the export soft limit on inverter firmware 1.42, and safer handling of unusual meter and MPPT answers. No new entry migration; unique ids and entity ids do not change.

Worth knowing before you update

  • Grid meter power interval (Configure, off by default): set 1 to 60 seconds, shorter than the update interval, and the primary meter's Power sensor is read on its own at that pace. Everything else stays on the update interval.
  • Export soft limit on firmware 1.42 reads and sets again; it still needs the technician role.
  • A rejected web setting now names the fields the inverter refused, after "Writing to the inverter failed:".

Added

  • An optional interval for the grid meter's power, from 1 to 60 seconds and shorter than the update interval: the primary meter's Power sensor is then read on its own, so a battery control that follows feed-in and draw sees a change within that time. Everything else stays on the update interval. Off by default; set it under Configure.

Fixed

  • An invalid reported meter address could stop entry setup. Only Modbus units 1-247 are now kept; leaving out a unit makes the meter list unconfirmed, so no entity is removed because of it.
  • A smart meter the inverter's web interface listed without a usable address was left out as if it were gone, so a reload could remove the entities of a meter that still exists. Such an answer now leaves the meter list unconfirmed.
  • An MPPT model whose module count disagrees with its length, or reports none, read the following model as a module or dropped all modules, which could move the battery's charge and discharge paths. The module layout now follows the model length; a disagreeing count marks the MPPT read as failed until it fits again.
  • On inverter firmware 1.42, Export soft limit read unknown and setting it failed with 400 Bad Request (upstream callifo#154): that firmware keeps the limit's watts in another place of its export limit settings. Both are now read and written where the firmware keeps them; older firmware is unchanged.
  • A setting the inverter's web interface rejected with an error status, such as Export soft limit answered with 400 Bad Request (upstream callifo#154), failed with the status alone. The error now names the fields the inverter reports as refused.

1.3.0

Choose a tag to compare

@Varitras Varitras released this 22 Oct 19:23

First stable release of 1.3. It contains everything from 1.3.0b1; see CHANGELOG.md for the full history. No new entry migration; unique ids and entity ids do not change. The documentation now lives in the wiki.

Before you upgrade from 1.2.x

  • Storage controls refuse more, with a reason. A rate is checked against the inverter's live registers before it is written. A 0 W limit that would block both directions, a limit or grid power after a schedule or another controller changed the storage mode, and a grid power beyond a combined limit another controller left in place are refused with a message instead of a bare Modbus error. Select the storage mode again when asked to.
  • Charge from Grid without a web login is an error while the entry waits for a new login; the storage mode is still set.
  • Control mode: the inverter's active controls sensor (StActCtl) is no longer named Core storage control mode; its entity id stays.
  • Modbus IP restriction: the choice that allows this Home Assistant adds its address to the hosts already allowed while the inverter's restriction is on. While it is off, Home Assistant becomes the only allowed host; add any other device that controls the inverter over Modbus in the inverter's web interface. The option text now says so.

New

  • The wiki documents every entity with its English and German name, source and range, the battery and inverter controls, the inverter's events, how data updates, examples, troubleshooting and migration. The README keeps the overview, installation, setup and removal.
  • A firmware update is picked up on its own: once the inverter answers again after an outage, the integration reads the version of the inverter and its meters again and reloads the entry if it changed. The device page shows the new firmware, and the Solar API repair follows it, without a restart.
  • A removed meter or battery can be deleted on its device page. The integration still deletes none on its own.

Fixed

  • Enabling Modbus TCP on an inverter whose Modbus server served RTU alone switched it to TCP alone and cut off the device reading it over RS485. RTU now stays served alongside TCP.
  • A second storage mode change before the next poll could pass through a rate window the inverter refuses, for example Charge from Grid followed quickly by Block Charging; the inverter stayed in the old mode (upstream callifo#126).
  • Updating from callifo 0.3.0 or older lost one of two entities that shared a unique id. Updating from callifo also keeps dark MPPT strings' sensors, a title you gave the entry and, from callifo 0.3.2, the role you chose.
  • A new password entered in Configure with every other setting unchanged did not reach the running entry.
  • A burst of values for one web number reached the inverter as every single value instead of the first and the last.
  • On an inverter whose SunSpec map ends in a refused read, a link that stopped answering was never recognised as down.

The complete list is in CHANGELOG.md under 1.3.0 and 1.3.0b1.

1.3.0b1

1.3.0b1 Pre-release
Pre-release

Choose a tag to compare

@Varitras Varitras released this 11 Oct 22:57

A beta on 1.2.0 with the fixes of a full audit and its re-audits. Storage writes now judge the inverter's live registers and refuse, with a reason, what the firmware would refuse; updates from callifo keep entities, names, titles and the chosen role; enabling Modbus TCP keeps an RS485 client served; the README lists every entity. No new entry migration; unique ids and entity ids do not change.

Worth knowing before you update

  • Storage controls refuse more, with a reason. A rate is checked against the inverter's live registers before it is written. A 0 W limit that would block both directions, a limit or grid power after a schedule or another controller changed the storage mode, and a grid power beyond a combined limit another controller left in place are refused with a message instead of a bare Modbus error. Select the storage mode again when asked to.
  • Charge from Grid without a web login is now an error while the entry waits for a new login; the storage mode is still set.
  • A removed meter or battery can be deleted on its device page.
  • Control mode: the inverter's active controls sensor (StActCtl) is no longer named Core storage control mode; its entity id stays.
  • Enabling Modbus TCP on an inverter whose Modbus served RTU alone now sets TCP & RTU instead of TCP alone.
  • Updating from callifo keeps both entities of a shared unique id, dark MPPT strings' sensors, a title you gave the entry and, from callifo 0.3.2, the role you chose.
  • The README lists every entity per device, and says what the setup writes to the inverter (also Allow Control, port, addresses) and what to undo before removing the integration.

Added

  • A device the inverter no longer reports, such as a removed meter or battery, can be deleted on its device page. The integration still deletes none on its own: one short answer must not take a device with its history.

Changed

  • The inverter's active controls sensor (StActCtl: power reduction, constant reactive power, constant power factor) is Control mode ("Steuermodus"), not Core storage control mode, the name of the storage sensor beside it. Its entity id does not change.

Fixed

  • Enabling Modbus TCP on an inverter whose Modbus server served RTU alone switched it to TCP alone and cut off the device reading it over RS485. It now becomes TCP & RTU.
  • A second storage mode change before the next poll could pass through a rate window the inverter refuses (both rates at or below zero), for example Charge from Grid followed quickly by Block Charging; the inverter stayed in the old mode. The rates are now ordered by the target, not by the last poll (upstream callifo#126).
  • A burst of values for one web number (such as Backup reserve stepped from 10 to 50, or an automation setting several values) reached the inverter as every single value, each stalling its Modbus side, instead of the first and the last as 1.2.0 promised: Home Assistant ran the numbers one at a time and the burst never piled up.
  • A new password entered in Configure with every other setting unchanged was stored, but the running entry kept the old token: nothing reloaded it, and the next refused poll could delete the new token and ask again. A host fixed in Configure on an entry that had not loaded did not take effect either. Configure now reloads the entry whenever no update listener does.
  • Updating from callifo 0.3.0 or older migrated only one of two entities that shared a unique id there (the sensor and the control of Conn, ac_limit_enable, ac_limit_rate, soc_minimum, export_soft_limit). The other was deleted and came back under a new entity id, so automations using it stopped working. Both now keep their entity ids.
  • On an inverter whose SunSpec map ends in a refused read (upstream callifo#105), a link that stopped answering was never recognised as down: every poll waited out a timeout per sub-system, the stale connection was never replaced, the bridge after a web write did not hold, and the outage was logged as an error instead of once at info.
  • The export soft limit stopped at 15 kW and Target feed in at ±20 kW, whatever the inverter: a Verto or a Tauro could not set a realistic export limit. Both now span the inverter's rated power (WMax), as AC limit rate already did.
  • A restart while an MPPT string was dark (at night it reports no current, voltage or power) deleted that string's sensors, with the names and entity ids the owner had given them, until a later reload created them anew. A sensor once registered now stays and reads unknown.
  • tools/inverter_dump.bat learned harmless words from a field description (_psk_meta: "String", "Password") and from a sensitive object's settings (an address mode "manual"), then cut them out of every answer, keys included: channel names broke apart and option lists lost entries. It now learns only the values right under a sensitive key; everything beneath one is still replaced.
  • tools/inverter_dump.bat left a Datamanager's serial number (UniqueIdentifier in GetLoggerInfo) in the file; it is redacted now.
  • Configure, Reconfigure and a new login put the generated title back over a title the owner had given the entry. Only a generated title now follows the settings, as it already did when the inverter moved to a new address.
  • A second setup of an inverter whose setup was still open aborted with the raw key already_in_progress; it now has a text.
  • An enum sensor whose device value no option names failed its state write on every poll; it reads unknown now. The inverter's active controls (StActCtl) sent such a value for a control beyond the first three.
  • The inverter's address still reached the log and the diagnostics: through the pollers' names, which were the entry title, through the Modbus library's connection error, and through the error of a control that could not be switched back on. The integration's own log lines and the diagnostics now name no host, as 1.0.0b3 promised. Home Assistant's own setup messages still name the entry by its title, which holds the address unless the owner renamed it.
  • The web login's hash (md5 or sha256), learned once per inverter, outlived a device that changed it, for example a replaced unit at the same address: every login failed until Home Assistant restarted. A refused login now asks the device again.
  • A battery setting written while its entry was reloaded or removed started a web refresh of the unloaded entry ten seconds later.
  • A web login lost in the middle of a poll threw away what that poll had already read without a login: the component sensors and the active events were unknown until the next poll.
  • A language file of the event texts that failed to load once kept the events in English, or as bare short names, until the entry was reloaded. A file that failed is now read again at the next poll.
  • Selecting Charge from Grid or Discharge to Grid again before the next poll set the grid power back to what that poll had read, so an automation that re-asserts its mode undid the power it had just set; entering one of them could also bring back the power of an earlier visit. Entering a grid mode now starts at 0 W, as documented, and selecting it again keeps the power set in it, as long as the inverter still holds the mode; otherwise the power starts at 0 W again.
  • Updating from callifo 0.2.8 to 0.3.0, or from 0.1.9, while an MPPT string was dark deleted that string's sensors with the names the owner had given them. They are now migrated like the others.
  • Updating from callifo 0.3.0 or older replaced a title the owner had given the entry with the generated one.
  • A limit of 0 W while the other direction was already at 0 W blocks both directions, which the inverter refuses; the owner got a bare Modbus error. This is a charge limit of 0 W in Block Discharging, a discharge limit of 0 W in Block Charging, or the second of two 0 W limits in PV Charge and Discharge Limit; a value just above 0 W that the register stores as 0 counts the same. Such a value is now refused with a reason.
  • A limit or grid power set after a schedule or another controller had changed the storage mode, before the next poll, went into the image of that other mode; for a grid power the inverter refuses it. It is now refused with a reason: select the mode again. The same holds for a grid power beyond a combined charge and discharge limit another controller left in place.
  • Updating from callifo 0.3.2 or 0.3.3 turned an entry whose owner had chosen the customer role into technician when a technician token was still stored for the host, and deleted the customer token. The chosen role now stays.
  • Selecting Charge from Grid while the entry waited for a new web login set the mode but left grid charging as the inverter had it, without a word. It is now reported as an error, as a refused permission already was.
  • An entry set up while the MPPT strings were dark, for example at night, got their current, voltage and power sensors only at the next restart. It now reloads once a string sends a value.

1.2.0

Choose a tag to compare

@Varitras Varitras released this 01 Oct 17:16

First stable release of 1.2. It contains everything from the six 1.2.0 pre-releases; see CHANGELOG.md for the full history. Entries from 1.1.x migrate on their own; unique ids and entity ids do not change.

Before you upgrade from 1.1.x

  • Throttle reason: the states export_limit and active_power_control are no longer reported. The sensor now says whether a limit actually holds the output: ac_limit for a percentage limit such as the AC limit, feed_in_limit for a limit in watts such as the export limit. Automations that wait for the old states need the new ones.
  • Renamed sensors: Temperature is Internal temperature, Max charging power is Charge/discharge reference power, Events is Event severity. In German also AC-Wirkleistung, Wirkleistung (L1–L3), Eingespeist, Bezogen and AC-Leistungsbegrenzung aktivieren. Only the displayed names change; entity ids, history and automations stay, and a name you gave an entity yourself stays too.
  • Web API login: a missing or rejected login is asked for through Home Assistant's own reauthentication instead of a Repairs item.
  • Modbus IP restriction: the checkbox is now a choice between keeping the inverter's setting (the default), restricting Modbus to Home Assistant and lifting the restriction. Entries migrate from checked to "restrict to Home Assistant" and from unchecked to "keep", never to "lift".

New

  • Inverter events from the inverter's own web interface, without a login. Active event and Active events show what the web interface shows a customer. The event entity Inverter event fires once for every new customer entry of the event log. Technician and service level events have their own entities, which are disabled by default.
  • The web API is optional: an entry can run on Modbus alone.
  • Discovery over mDNS: an entry set up with an IPv4 address follows the inverter to a new address once a Modbus read confirms its serial number there.
  • More sensors from the inverter's component endpoints: module temperatures, fans, per-phase AC power, the battery converter's limits, the battery's state of health. A larger inverter's extra modules and fans show too.
  • tools/inverter_dump.bat (Windows) saves what the inverter's web interface and its SunSpec registers read out into one JSON file. Serial numbers, addresses and names are redacted by default. It helps to debug a setup or add a device.

Security

  • Setup and reconfigure no longer lift a Modbus IP restriction set on the inverter.
  • The stored web token is readable by Home Assistant only. It is deleted once no entry uses it.
  • A host another entry already owns is refused before the inverter is contacted.

Changed and fixed

  • A control set to the value the inverter already holds writes nothing. A web write sends only the field asked for.
  • Enabling Modbus TCP keeps the inverter's other Modbus settings, RS485 included.
  • The setup asks before it switches the inverter's SunSpec model type from float to int + SF, while the inverter's Modbus is on; an external device reading the float models may no longer work after the switch.
  • Errors from a refused or failed write are shown in the user's language.
  • Many smaller fixes; see CHANGELOG.md.

1.2.0b6

1.2.0b6 Pre-release
Pre-release

Choose a tag to compare

@Varitras Varitras released this 29 Sep 13:38

A beta on 1.2.0b5 that brings the inverter's own events into Home Assistant, reads the extra modules, fans and temperatures a larger inverter reports, names the module sensors as the inverter's web interface does, and asks before the setup switches the inverter's SunSpec model type. No migration; unique ids and entity ids do not change.

Inverter events

The inverter's web interface lists every event with its code, its time and a text; Modbus reports events only as severity bits. The integration now reads that list without a login:

Entity Type What it shows
Active event / Aktives Ereignis sensor, diagnostic The text of the leading active event in Home Assistant's language (an error before a warning before an info, the newest among equals), OK while none is active. Code, severity, level, time and the other active events as attributes.
Active events / Aktive Ereignisse sensor, diagnostic How many events are active.
Inverter event / Wechselrichter-Ereignis event Fires once for every new entry of the inverter's event log, with the severity as its event type (error, warning, info, or unclassified). It catches entries that last no time at all, such as a short battery fault.

The README has a notification example with the event.received trigger.

Renamed sensors

Sensor 1.2.0b5 (EN) 1.2.0b6 (EN) 1.2.0b5 (DE) 1.2.0b6 (DE)
Inverter temperature Temperature Internal temperature Temperatur Innentemperatur
Module temperature 1 Power module 1 temperature AC module 1 temperature Temperatur Leistungsmodul 1 Temperatur AC-Modul 1
Module temperature 2 Power module 2 temperature AC module 2 temperature Temperatur Leistungsmodul 2 Temperatur AC-Modul 2
Module temperature 3 Power module 3 temperature DC module temperature (3) Temperatur Leistungsmodul 3 Temperatur DC-Modul (3)
Module temperature 4 Power module 4 temperature DC or battery module temperature Temperatur Leistungsmodul 4 Temperatur DC- oder Batteriemodul
Battery power limit Current power limit Current charge limit Aktuelle Leistungsgrenze Aktuelle Ladegrenze

The module names are the ones the inverter's own web interface uses. The battery's power limit fell to 0 W near a full battery while the discharge limit stayed, so it is the charge counterpart of Current discharge limit. Only the displayed names change; entity ids, history and automations stay. A name you gave an entity yourself stays too.

New sensors

Sensor (EN) Sensor (DE) Note
AC module 3–6 temperature Temperatur AC-Modul 3–6 only where the inverter reports them (a Verto)
DC module temperature (9), (10) Temperatur DC-Modul (9), (10) only where reported
Fan 3, Fan 4, Fan 5 Lüfter 3, Lüfter 4, Lüfter 5 only where reported
Ambient temperature 2 Umgebungstemperatur 2 only where reported
Surplus power available Überschuss verfügbar disabled by default; an undocumented flag, seen set while an export limit curtailed PV

Added

  • tools/inverter_dump.bat (Windows): saves everything the inverter's web interface and its SunSpec registers read out into one JSON file, with serial numbers, addresses and names redacted by default. Attached to an issue, it helps to support a device that is not verified yet.

Fixed

  • The setup switched the inverter's SunSpec model type from float to int + SF without asking; an external device reading the float models may no longer work after that. Setup, reconfigure, reauthentication and options now ask first while the inverter's Modbus is on; declining leaves the inverter as it is.
  • Two entries set up at the same time on a fresh installation kept only one Web API token; the other asked for its password again after a reload.
  • While the MPPT block did not answer, a negative household load during battery charging showed as 0 W; it is unknown now.

Documentation

  • The outdated screenshots and the upstream project's starting points are gone from the README.

1.2.0b5

1.2.0b5 Pre-release
Pre-release

Choose a tag to compare

@Varitras Varitras released this 27 Sep 11:35

A beta on 1.2.0b4 that makes the throttle reason report a limit that actually holds the output, renames several sensors after what they measure, and makes discovery confirm a moved inverter before following it. No migration; unique ids and entity ids do not change. Automations that wait for the throttle states export_limit or active_power_control need the new states (see below).

Throttle reason

The sensor used the Modbus signals, which only say a limit is switched on: an AC limit left at 100 % read as throttling, and an export limit holding the output read as "not throttled" (#26). It now follows the inverter's component endpoint, which reports whether a limit holds the output, and it follows the web poll too.

Raw state 1.2.0b4 (EN) 1.2.0b4 (DE) 1.2.0b5 (EN) 1.2.0b5 (DE) Reported when …
none Not throttled Keine Drosselung Not throttled Keine Drosselung no limit holds the output
inverter_state Inverter reports throttling Wechselrichter meldet Drosselung Inverter reports throttling Wechselrichter meldet Drosselung the inverter reports throttled itself (a GEN24 did not)
ac_limit – – AC limit AC-Leistungsbegrenzung a percentage limit is reached, e.g. the AC limit
feed_in_limit – – Export limit Einspeisebegrenzung a limit in watts is reached, measured with the export limit
several Several reasons Mehrere Gründe Several reasons Mehrere Gründe more than one reason at once
export_limit Export limit Einspeisebegrenzung AC limit AC-Leistungsbegrenzung never – kept for older history only
active_power_control Active power control Wirkleistungsvorgabe Active power control Wirkleistungsvorgabe never – kept for older history only
unknown – – – – no reason found while a source is missing

In 1.2.0b4, export_limit was labelled "Export limit" / "Einspeisebegrenzung" although it meant the AC limit. Older history entries with export_limit now carry the correct label "AC limit".

Renamed sensors

Sensor 1.2.0b4 (EN) 1.2.0b5 (EN) 1.2.0b4 (DE) 1.2.0b5 (DE)
Production limit Production limit Output power limit Aktuelle Produktionsgrenze Zulässige Ausgangsleistung
Production limit reached Production limit reached Output limited Leistungsgrenze erreicht Ausgangsleistung begrenzt
Max charging power Max charging power Charge/discharge reference power Lade-Referenzwert Lade-/Entlade-Referenzleistung
AC power AC power – AC-Leistung AC-Wirkleistung
Power / L1–L3 (smart meter) Power – Leistung Wirkleistung
Exported / Imported, total and L1–L3 (smart meter) Exported / Imported – Exportiert / Importiert Eingespeist / Bezogen
State of health State of health – Gesundheit (SoH) Gesundheitszustand (SoH)
Battery max charge / discharge power (DC-DC) unchanged – Batterie max. Lade-/Entladeleistung Speicher max. Lade-/Entladeleistung
Feed-in point frequency / voltage unchanged – Einspeisepunkt Frequenz / Spannung Frequenz / Spannung Einspeisepunkt
AC limit enable (select) AC limit enable – AC-Begrenzung aktivieren AC-Leistungsbegrenzung aktivieren

Only the displayed names change; entity ids, history and automations stay. A name you gave an entity yourself stays too.

Security

  • Discovery follows an announced new address only when a Modbus read finds the inverter's serial number there and no longer at the entry's address; an announced address that does not answer yet is read again for a few minutes. The serial number an announcement carries is no secret, so anyone able to send mDNS could turn an entry, and its Web API login, to another host.

Changed

  • Throttle control is disabled by default for new entries: it reads the same flag as AC limit enabled. Entries that have it keep it.
  • A counter reading the total guard ignores and a Modbus outage the integration bridges after a web write are logged at debug level, not as warnings. A counter jump the guard adopts is still a warning.
  • The price automation example in the README compares the price on every change, at start, and after a reload of the automations or the integration.

Fixed

  • The sensors from the inverter's component endpoints show as many digits as their unit is worth (fans and power without decimals, temperatures and voltages with one, frequency with two) instead of the raw float32 value (#27). Only the display changes; the stored state keeps its value.

1.2.0b4

1.2.0b4 Pre-release
Pre-release

Choose a tag to compare

@Varitras Varitras released this 26 Sep 15:23

A small update on 1.2.0b3: it removes a deprecation warning Home Assistant logged for the discovery, adds the smart meter's per-phase energy for meters that count it, and counts the Tauro among the known models. No migration; existing entities, unique ids and entity ids do not change.

Added

  • The Tauro and Tauro ECO count as known models: Fronius publishes the GEN24's SunSpec register maps for them. Setting one up no longer logs an untested model.
  • The README describes use cases, gives automation examples, and says what an entry without the web API and an older Datamanager inverter need.
  • Per-phase import and export energy of the smart meter, for a meter that counts them per phase (some report 0, SunSpec's "not implemented"). The six sensors come disabled.

Fixed

  • Discovery no longer uses device_registry.async_get_device, which Home Assistant 2026.9 deprecated and logged a warning for; it would stop working in 2027.8. A test now fails on any deprecated call Home Assistant reports for the integration.

1.2.0b3

1.2.0b3 Pre-release
Pre-release

Choose a tag to compare

@Varitras Varitras released this 25 Sep 23:01

Three additions on 1.2.0b2: the web API becomes optional, the inverter is discovered over
mDNS and follows a new address, and a missing login is asked for through Home Assistant's
own reauthentication. A pre-release because entries migrate to minor version 14 and the
login handling changes; existing entities, unique ids and entity ids do not change.

Running an entry without the web API needs Modbus TCP switched on in the inverter first.
If discovery or the new login behaves unexpectedly on your setup, please open an issue.

Added

  • Discovery over mDNS: Home Assistant offers the inverter under Discovered and fills in its host. An inverter already set up is recognized by its serial number, and an entry set up with an IPv4 address follows the inverter to a new address, its Web API token included.
  • The web API is optional: choose Without the web API as the access role to set an entry up on Modbus alone, without a password or a stored token. The Modbus sensors and controls, the component sensors and the list of smart meters stay, since those endpoints answer without a login; the settings that live only in the inverter's web configuration are not there. Switching an existing entry to it deletes its token and removes the web entities. The new login Home Assistant asks for offers the same choice.

Changed

  • A missing or rejected Web API login is asked for through Home Assistant's own reauthentication on the integration, not a Repairs item. It asks for the role and its password, or offers to go on without the web API; an open Repairs item from an earlier version goes at the next start, or, on an entry that is disabled, when it is confirmed.
  • Production limit, Production limit reached, Battery max charge power (DC-DC) and Battery max discharge power (DC-DC) are created only once the inverter reports them, like the power modules. Older firmware lacks these fields and showed four sensors that stayed unknown. Existing entries keep the ones they have; entries migrate to minor version 14.
  • The component sensors are read without a login. They keep reading after the web login is lost while Home Assistant runs; the settings it guards go unavailable as before. A login the inverter refused is not sent again.

Fixed

  • The export soft limit shows only for a switch the inverter reports as on. A value like "off" read as an active limit.
  • An export limit block or a battery value of an unexpected shape, such as an infinite number, leaves that value unknown instead of failing the whole web poll. An export limit that is no number shows as unknown; the power sensor could not take it.
  • A new login whose entry is removed while it runs keeps no token; the repair it replaces reported success and left the new token behind.

1.2.0b2

1.2.0b2 Pre-release
Pre-release

Choose a tag to compare

@Varitras Varitras released this 25 Sep 00:07

An audit round on 1.2.0b1, a write policy, and new sensors. The integration writes only what
differs from what the inverter holds and keeps the inverter settings it does not own, and it
shows what the inverter's component endpoints add beyond Modbus. A pre-release because the
Modbus restriction checkbox becomes a choice and entries migrate to a new minor version;
existing entities, unique ids and entity ids do not change.

Battery settings over the web API are now sent one field at a time, checked on a GEN24. If
changing a SoC limit, the target feed-in or a charge source is refused on your inverter,
please open an issue.

Added

  • Sensors from the inverter's component endpoints, which the web API poll already reads: power module temperatures, fans, per-phase AC power, the production limit and whether it is reached, the battery converter's charge and discharge limits, grid validity, and the power stage firmware on the inverter; the battery's state of health. Feed-in point voltages and frequency, the DC link voltage, the operating time, the time in backup mode, cell and BMS temperatures, the battery's current limits and its nameplate values come disabled. The battery's firmware and hardware version appear on its device page. No sensor takes their serial numbers or device ids; the battery's serial number stays on its device page, as before.

Security

  • Setup and reconfigure no longer lift a Modbus IP restriction set on the inverter. With the restriction checkbox unchecked, which is the default, the integration wrote the restriction off and opened a restricted Modbus server to every host on the network. The checkbox is now a choice between keeping the inverter's setting (the default), restricting Modbus to Home Assistant, and lifting the restriction. Existing entries migrate from checked to "restrict to Home Assistant" and from unchecked to "keep", never to "lift".
  • The stored web token is written readable by Home Assistant only. The Digest token alone authenticates to the inverter, and Home Assistant's default storage wrote it world-readable; an existing token file is rewritten on the next start.
  • A stored web token is deleted once no entry uses its host and role: on removing the entry, on moving an entry to another host or role, and when the migration to a single role keeps the other one. It had outlived all three. A token minted during setup is kept only once the inverter answered and the entry was created; a failed or aborted setup left it behind.
  • A setup, reconfigure, options change or repair for a host another entry already owns is refused before the inverter is contacted. It wrote the Modbus settings, including the IP restriction, and only then reported the host as taken.
  • An aborted setup leaves the stored token of the entry that already serves the host alone, and a settings change that fails late keeps the token its entry now logs in with. A stale token came back in both cases.

Fixed

  • Enabling Modbus TCP keeps the rest of the inverter's Modbus settings. The integration wrote a fixed block that moved both RS485 ports to master and switched the TCP & RTU mode to TCP alone, cutting off a device that reads the inverter over RS485; it now writes back what it read and changes only its own fields. Restricting Modbus to Home Assistant adds its address to the hosts already allowed instead of replacing them.
  • Switching the Solar API on keeps the inverter's own switch that enables it for discovered devices; it was cleared on every change. Switching the Solar API off still clears it, or a discovered device would switch the API back on.
  • A web login lost at setup no longer deletes the web entities, and with them the entity ids an owner chose. A rejected token read as an entry without the web API, and the stale-entity cleanup retired everything the web API provides; after a restart without the token it took the second meter's entities too. A missing login now blocks the cleanup like a failed poll.
  • A rejected technician token is the one deleted when the meter topology read fails; the customer token was deleted in its place, and the rejected one was offered again on every start.
  • An HTTP error from the export-limit endpoint fails the web refresh instead of reading as "no export limit". Only a 404, from firmware without the endpoint, still means the limit is not there.
  • The inverter and battery component reads (inverter temperature, cell temperature, battery manufacturer, model and serial) no longer hide a failing endpoint. Their values still turn unknown instead of taking the controls down, but an error other than a 404 is logged once as a warning, and again at info when the endpoint answers. A switched-off inverter is left to the refresh, which already reports it.
  • Selecting Charge from Grid reports an error when the web interface refuses the grid charging flags. The storage mode was set and the control showed success, while the battery could not charge from the grid; the message now says so.
  • An energy total accepts a new counter range only from samples that agree with each other. A spike between two low readings (10, 100000, 10) counted as three confirmations and put a false reset into the long-term statistics.
  • A meter whose register map moved is read at its new address even when the first rediscovery was aborted. The new address was remembered before the rediscovery finished, so the retry kept the component bound to the old registers.
  • Diagnostics download while the inverter is offline, with the last poll and its report; the raw registers show which error kept them from being read. The download failed as a whole.
  • Reconfigure and Repairs reload the entry once; they reloaded it twice.
  • A web control used while the inverter's web interface does not answer shows a translated error. It surfaced as an unknown error with a traceback in the log since 1.1.1.
  • An AC limit or power factor override that was on stays on when its new value cannot be written; a scale factor the value could not be converted with left the control switched off.
  • The Modbus storage reserve in manual SoC mode checks the SoC window the inverter holds before it writes Modbus, and is refused when that window cannot be read. When the web interface refuses the reserve after Modbus took it, the error says so, since the two minimums then differ.
  • One HTTP 404 from a component endpoint that answered before keeps its registered sensors, as unknown; the next start deleted them.
  • A failed battery component read keeps the battery's manufacturer, model and serial instead of replacing them with a generic name.
  • A Modbus configuration answer of the wrong shape no longer fails the whole web refresh, and its RS485 part is checked before it is written back.

Changed

  • A control set to the value the inverter already holds writes nothing. Every write used to reach the inverter: a Modbus register, and for the AC limit and the power factor a second-long switch-off of the enable flag around it; a battery setting over the web API, and with it the Modbus recovery window and a delayed refresh. The comparison is made against a fresh read, not the last poll, so a value another controller changed in between is still written; when that read fails, the value is written as before, except a SoC limit, which is refused without the window it has to fit.
  • A web write sends only the field asked for, and only when it differs; a field the inverter names as refused in its answer is reported as an error. Changing one SoC limit, one charge source, the target feed-in or the self-consumption mode no longer re-sends the other values from the last poll, which undid a change made in the inverter's web interface or by another controller in between. The SoC window is checked against a fresh read.
  • The inverter temperature and the battery cell temperature are read like the new component sensors. Firmware without the component endpoints (HTTP 404) gets no such entity, instead of one that stays unknown.

1.2.0b1

1.2.0b1 Pre-release
Pre-release

Choose a tag to compare

@Varitras Varitras released this 23 Sep 23:01

A quality-scale round: translated error messages, icons in icons.json, declared parallel
updates, and outage logging per sub-system. A pre-release because the error texts a user sees
change; entities, unique ids and entity ids do not.

Fixed

  • The Solar API repair explains the firmware risk again. Since 1.0.0b1 its steps showed the text of the reconfigure form, and the repair raised after a rejected login told the owner nothing about why it was there.

Changed

  • Entity icons moved from the code into icons.json, the way Home Assistant resolves them now. The icons themselves are unchanged.
  • Errors from a refused or failed write reach the user in their language. The library raises keyed errors, and the entities hand the key to Home Assistant; messages no longer name the control, which the user just touched anyway.
  • Every platform declares how many actions Home Assistant may run at once: one for the controls, none for the sensors.
  • A meter or other sub-system that stops answering is logged once at info, and once more when it answers again, the way the quality scale asks for an unavailable device. A sub-system that answers with a refusal is still a warning.