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 Fonskemarstek_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
10064selects third-party control (3) or self-consumption (0); holding10071carries the signed setpoint (charge negative, discharge positive). Setpoints are clamped to the lower of the HBC max helpers and the device max registers10036/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 onsensor.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 to0, or Self-consumption never leavesstop @ 0 W.
- A new Home Assistant package talks to the battery directly over Modbus TCP (port
-
Docs: Anker SOLIX section restructured
02-modbus-setup.mdnow 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.mdlists the native Modbus package as the preferred route for any battery with a documented local register map.README.mdcredits the community battery packages by Fonske, Jos1958 and @wouterbouvy.
-
Want to support this project?
-
Files Changed:
home assistant/other-batteries/Anker-Solarbank/anker_solarbank_m1_modbus_tcp.yamlhome assistant/other-batteries/Anker-Solarbank/README.mdhome assistant/dashboard.yamldocs/02-modbus-setup.mddocs/09-for-integrators.mdREADME.mdnode-red/01 start-flow.jsonnode-red/02 strategy-*.jsonnode-red/all-flows-in-one-file.json