Repository navigation
1.2.0
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_limitandactive_power_controlare no longer reported. The sensor now says whether a limit actually holds the output:ac_limitfor a percentage limit such as the AC limit,feed_in_limitfor a limit in watts such as the export limit. Automations that wait for the old states need the new ones. - Renamed sensors:
TemperatureisInternal temperature,Max charging powerisCharge/discharge reference power,EventsisEvent severity. In German alsoAC-Wirkleistung,Wirkleistung(L1–L3),Eingespeist,BezogenandAC-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 eventandActive eventsshow what the web interface shows a customer. The event entityInverter eventfires 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
floattoint + 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.