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
43 changes: 43 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,49 @@ The driver is read-only, so no command went the wrong way. Not yet checked
on hardware: on a Growatt, `battery.w` should be positive while the SoC
rises.

### goodwe 2.3.0

The driver now reads PV, battery and meter values from the registers in
GoodWe's own map, "Modbus Protocol Hybrid for Energy Storage Inverters"
(2 February 2024). evcc's goodwe-hybrid template and the goodwe library read
the same registers and give the signs (srcfl/device-drivers#264). Not yet
checked on hardware.

- **Battery.** Power is the S32 at 35182-35183, voltage 35180, current
35181, SoC 37007 from the BMS block. GoodWe counts discharge as positive,
so the driver turns power and current round. Earlier releases read power
from 35180 (the battery voltage), voltage and current from 35178/35179
(the BUS and NBUS voltages) and SoC from 35182. SoC is sent only while
the BMS talks to the inverter (37011), like the other BMS figures. When
35184 says there is no battery, no battery stream goes out.
- **PV.** Power is the sum of the four MPPT powers (U32 W at 35105, 35109,
35113, 35117). Earlier releases read PV1 power alone and scaled it by 0.1.
PV2 voltage and current are 35107/35108, not 35109/35110. Grid frequency
is 35123, not 35113 (PV3 power).
- **Meter.** The meter comes from the meter block: total power 36025, power
per phase 36019/36021/36023 (S32), frequency 36014, energy sold and bought
36015/36017 (float32 Wh), and voltage and current per phase 36052-36057.
GoodWe counts export as positive; the driver turns it round. Earlier
releases read the inverter's own phase registers at 35121-35141 and the
energy counters at 35195/35199, which are inverter counters at best and,
for 35199, a daily value. No meter is sent while 36004 says the inverter
does not hear its meter.
- **Never fabricate.** A read that fails is left out, never sent as 0. The
driver is clean in `invented-number-baseline.json` (was 23 fields).
- **Old firmware.** GoodWe's map puts meter power at 36019-36041 only
above ARM firmware version 9 (35019, read once), and at 36005-36008
before that. No source gives the sign of the old registers, so on ARM 9
or older, or while the version is unknown, no meter is sent rather than
a 0 W one.
- **No-value sentinels.** A PV power or PV energy of 0xFFFFFFFF (as evcc
reads them) is left out, and an MPPT without a value adds nothing to PV
power. A SoC above 100 % (0xFFFF) is left out.
- **Tests.** `test_goodwe_map.py` encodes the map. The four Lua files under
`drivers/tests/lua_harness/` for the `community-v1` and `gw8kn-et-hk3000`
profiles are removed: no test ran them, and the driver lost those
profiles in #27. So is the `THIRD_PARTY_NOTICES.md` entry for the
`gw8kn-et-hk3000` profile, since no file derives from it any more.

### goodwe 2.2.0, solis 2.2.0, sofar 2.2.0, solax 1.2.0, saj 1.3.0, growatt 2.2.0, solinteg 1.2.0

These drivers report what the battery can do now, where the device says so
Expand Down
4 changes: 2 additions & 2 deletions SUPPORT_STATUS.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ Catalog source is not proof that a target can install or run a driver.
| goe | 1.1.0 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| goe_http | 1.1.0 | ftw-core | not_assessed | — | not_recorded | not_assessed |
| goe_http | 1.1.0 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| goodwe | 2.2.0 | ftw-core | not_assessed | — | not_recorded | not_assessed |
| goodwe | 2.2.0 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| goodwe | 2.3.0 | ftw-core | not_assessed | — | not_recorded | not_assessed |
| goodwe | 2.3.0 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| growatt | 2.2.2 | ftw-core | not_assessed | — | not_recorded | not_assessed |
| growatt | 2.2.2 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| hardybarth | 1.1.1 | ftw-core | not_assessed | — | not_recorded | not_assessed |
Expand Down
28 changes: 0 additions & 28 deletions THIRD_PARTY_NOTICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,3 @@

Copyright © 1994–2024 Lua.org, PUC-Rio. Lua is distributed under the MIT
license. The full notice is retained at the end of `tools/lua55-src/lua.h`.

## GoodWe GW8KN-ET register profile

The `gw8kn-et-hk3000` register profile in `drivers/lua/goodwe.lua` derives from
`srcfl/hugin-drivers/drivers/goodwe_et.lua` at commit
`3125960a80b5237e3a5ac609963ddb1302367938`. frekes81 contributed the source.

MIT License

Copyright (c) 2026 Sourceful Labs

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading