Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,46 @@

## [Unreleased]

### fronius 2.3.0

Battery power, voltage and SoC now come from the registers Fronius's GEN24
and Verto storage maps give them (register map bundle 1.2.7-2, float maps).
Not yet checked on hardware (srcfl/device-drivers#260).

- **Where the battery is.** Earlier releases read model 124 at fixed
addresses that assume a model 160 with two inputs. With storage, Fronius's
model 160 has two more, for the battery, so those reads landed inside
model 160's battery blocks. The driver now reads model 160's header,
learns its length, and finds model 124 directly after it.
- **Battery power** is the charge input's DC power minus the discharge
input's (the last two blocks of model 160, "StCha" and "StDisCha"),
positive when charging. Earlier releases took it from OutWRte and InWRte
times WChaMax, which are rate setpoints and a rating, not a measurement.
- **Voltage** is the larger of the two inputs' DC voltage (before firmware
1.31 only the active input carries it), and is left out when both read 0.
**SoC** is model 124's ChaState with its scale factor.
- **No storage, no battery.** Model 124 exists only with storage. Without it
the driver sends no battery, where earlier releases sent 0 W, 0 V and 0 %.
- **Floats.** The float decoder works on the 16-bit halves. It joined the
words into one 32-bit number first, so on 32-bit Lua every float came out
negative (FTW and Blixt L1 use 64-bit integers and were not affected). NaN
and infinity are now left out instead of sent as 0.
- **Failed reads are left out.** PV is sent only when DC power answered, and
each other PV field and metric only when its own read did. The MPPT values
come from one read of model 160, with the scale factors that go with them.
`fronius` leaves `invented-number-baseline.json` (10 to 0).
- **PV power with storage** is the sum of the MPPT blocks before the
battery blocks, as evcc's GEN24 template reads it. Fronius's map does not
say whether model 113's DC power includes the battery input, so a 3 kW
discharge could have shown as 3 kW of sun. Model 113's DC power is used
only where there is no battery input.
- **A battery fitted later is found.** While no storage model is known the
driver looks for it again every five minutes, and at once when model
160's length changes.
- **Not changed.** In the int+SF setting model 160 starts at 40254; the
driver reads only the float maps, so it now sends no DC input or battery
values there rather than wrong ones.

### ferroamp_modbus 2.2.2

A float that answers NaN or infinity is now left out instead of sent as 0
Expand Down
4 changes: 2 additions & 2 deletions SUPPORT_STATUS.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ Catalog source is not proof that a target can install or run a driver.
| ferroamp_modbus | 2.2.2 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| foxess_h3_smart | 0.10.0 | ftw-core | not_assessed | — | not_recorded | not_assessed |
| foxess_h3_smart | 0.10.0 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| fronius | 2.2.0 | ftw-core | not_assessed | — | not_recorded | not_assessed |
| fronius | 2.2.0 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| fronius | 2.3.0 | ftw-core | not_assessed | — | not_recorded | not_assessed |
| fronius | 2.3.0 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| fronius_api | 1.0.2 | ftw-core | not_assessed | — | not_recorded | not_assessed |
| fronius_api | 1.0.2 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| fronius_smart_meter | 2.1.3 | ftw-core | not_assessed | — | not_recorded | not_assessed |
Expand Down
12 changes: 6 additions & 6 deletions devices.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ manufacturers:
protocols:
- protocol: modbus
driver: "fronius"
version: "2.2.0"
version: "2.3.0"
ders: [battery, meter, pv]
control: false
firmware_versions: ""
Expand All @@ -430,7 +430,7 @@ manufacturers:
protocols:
- protocol: modbus
driver: "fronius"
version: "2.2.0"
version: "2.3.0"
ders: [battery, meter, pv]
control: false
firmware_versions: ""
Expand All @@ -441,7 +441,7 @@ manufacturers:
protocols:
- protocol: modbus
driver: "fronius"
version: "2.2.0"
version: "2.3.0"
ders: [battery, meter, pv]
control: false
firmware_versions: ""
Expand All @@ -452,7 +452,7 @@ manufacturers:
protocols:
- protocol: modbus
driver: "fronius"
version: "2.2.0"
version: "2.3.0"
ders: [battery, meter, pv]
control: false
firmware_versions: ""
Expand All @@ -463,7 +463,7 @@ manufacturers:
protocols:
- protocol: modbus
driver: "fronius"
version: "2.2.0"
version: "2.3.0"
ders: [battery, meter, pv]
control: false
firmware_versions: ""
Expand Down Expand Up @@ -496,7 +496,7 @@ manufacturers:
protocols:
- protocol: modbus
driver: "fronius"
version: "2.2.0"
version: "2.3.0"
ders: [battery, meter, pv]
control: false
firmware_versions: ""
Expand Down
Loading