Skip to the content.

On This Page

    Battery to Home Assistant

    Home Assistant speaks “ModBus language” to communicate with your Battery and vise versa. Use the configurations on this page and HomeBatteryControl will work out of the box.

    Review the available connectors on your battery:

    • B) RJ45 Ethernet port
      • Use a regular network cable, no extras needed.
    • A) Four string ModBus wire
      • Use an EspHome or RTU bridge device - communicates via Wifi to HA.
    • C) RJ45 ModBus port
      • Confusingly looks like an Ethernet port, but isn’t. Use Elfin EW11 to communicate via Wifi.

    Decide wether you go WiFi or cable.

    Connector options

    Reading tip this Marstek topic on Tweakers.net (NL/BE) for detailed info curated by SuperDuper1969

    Brands

    Marstek

    Marstek

    Ready to use config for Marstek are found here

    Ethernet cable (Venus V3 and Venus A/D only):

    Esphome based - Modbus 4-string

    Modbus RTU bridge to Modbus tcp/ip:

    Important notice

    Home Battery Control assumes the sensor and entity names used in the Fonske projects above.

    Using alternate naming or different code projects requires you to create HA helper entities to map values from your custom setup to the expected entities in the Home Battery Control (HBC) project.

    Altering the mapping in the Node-RED flows is also possible, but less advised as this makes updating later on very cumbersome.

    Special thanks to Fonske for his work and efforts to the project.

    Anker SOLIX

    Anker SOLIX

    Several HBC-tweakers have started support for the Anker SolarBank 3 Pro in addition to the:

    • Anker SOLIX SolarBank 4 Pro
    • Anker SOLIX SolarBank Max AC
    • Anker SOLIX Smartplug Gen 2

    You can find the progress in the this issue started and maintained by @exuberant_maypole_48572

    • GitHub issue: https://github.com/gitcodebob/marstek-venus-rs485-node-red/issues/126
    • Or join our discord and search for the Anker channel for more info: community

    The official HA integration by Anker SOLIX

    • HA integration: https://github.com/anker-charging/ha-anker-solix-official
    • This will make HA entities available. To let HBC use them, follow the example below.

    Review the documentation in this Anker to Anker to HBC example made by jos

    • https://github.com/Jos1958/marstek-venus-rs485-node-red/blob/main/home%20assistant/packages/anker_to_m1_marstek.yaml

    Anker SolarBank 3 PRO configs

    An overview of available connection schemas

    Marstek

    Table

    Asset Connection Communication HA integrations HA config HBC interface
    P1 Meter Direct USB or LAN USB or local (TCP-IP) HomeWizard Integration / Other P1 Integrations Fonske entity naming schema

    Home Assistant
    • HA Add-Ons (Node-RED)
    • HA HBC Package (YAML) — Home Battery Control + Config
    • HA HBC Dashboard (YAML)

    HBC Strategy Flows (Bob)

    HBC Dashboard (Bob)
    Marstek Venus V3 Direct LAN / Wifi modbus (TCP-IP) Marstek Package (YAML) — MarstekVenusV3-modbus-TCP-IP (Fonske)
    Marstek Venus V1/2/3 via LilyGo, M5stack, Elfin modbus (RS485) Marstek Package (YAML) — MarstekVenus-ESPHome (Fonske)
    Anker SolarBank 3 via Anker Cloud Anker Cloud (TCP-IP) HA-Anker-Solix (thomluther) Cloud Anker to Marstek Package (YAML) — Anker to M1 Marstek (Jos)
    Anker SolarBank 4 & Max AC Direct LAN modbus (TCP-IP) HA-Anker-Solix-Official (anker) [support](https://github.com/anker-charging/ha-anker-solix-official#supported-devices) Local Anker to Marstek Package (YAML) — Anker to M1 Marstek (Future) (*)
    Other Battery Any Any Other Battery Integration Other Battery to Marstek Package (YAML) — Other to M1 Marstek (Future) (*)

    (*) Use the Anker to M1 Marstek as a template for the other Batteries.

    ← Back to Home