Skip to content

v4.15.0 - Anker Solarbank Max AC & SB4

Latest

Choose a tag to compare

@gitcodebob gitcodebob released this 03 Aug 19:59
e443c76

4.15.0

Contributed by @wouterbouvy#158.

  • Feat: Anker SOLIX Solarbank Max AC and Solarbank 4 over local Modbus TCP

    • A new Home Assistant package talks to the battery directly over Modbus TCP (port 502) and publishes the Fonske marstek_m1_* entities, so the HBC flows and dashboard work unchanged.
    • No Anker cloud and no vendor HA integration required — enable Settings → Third-Party Control Setting → Modbus TCP in the Anker app and point host: at the device IP.
    • Supports Solarbank Max AC and Solarbank 4 E5000 Pro (identical third-party register map). The Max AC is hardware-validated; the Solarbank 4 shares the same map.
    • Control path: holding register 10064 selects third-party control (3) or self-consumption (0); holding 10071 carries the signed setpoint (charge negative, discharge positive). Setpoints are clamped to the lower of the HBC max helpers and the device max registers 10036 / 10038.
    • Battery power follows the HBC sign convention (charge positive, discharge negative); the raw Anker polarity stays available on sensor.marstek_m1_battery_power_anker_raw. The dashboard M1 Power tile shows battery activity, house load stays on sensor.marstek_m1_load_power.
    • Install steps, safety notes and a hardware validation checklist are in the Anker Solarbank README.
    • Two gotchas, both documented in that README: run only one Modbus client against the device — a second poller (EVCC, ha-anker-solix-official) fights over the setpoint — and do not set the PID gains to 0, or Self-consumption never leaves stop @ 0 W.
  • Docs: Anker SOLIX section restructured

    • 02-modbus-setup.md now separates the local Modbus route (Max AC / Solarbank 4) from the SolarBank 3 Pro cloud bridge, and the connection-schema overview reflects the native package.
    • 09-for-integrators.md lists the native Modbus package as the preferred route for any battery with a documented local register map.
    • README.md credits the community battery packages by Fonske, Jos1958 and @wouterbouvy.
  • Want to support this project?

    • Buy Me A Battery
  • Files Changed:

    • home assistant/other-batteries/Anker-Solarbank/anker_solarbank_m1_modbus_tcp.yaml
    • home assistant/other-batteries/Anker-Solarbank/README.md
    • home assistant/dashboard.yaml
    • docs/02-modbus-setup.md
    • docs/09-for-integrators.md
    • README.md
    • node-red/01 start-flow.json
    • node-red/02 strategy-*.json
    • node-red/all-flows-in-one-file.json