Repository navigation
Zendure
Jan Brandsma edited this page Dec 4, 2026
·
1 revision
| Type | Models |
|---|---|
| Batteries | SolarFlow 800, 1600, 2400 and 4000, Hyper 2000, Hub 1200 and 2000, AIO 2400, Ace 1500 |
| Smart meters | Zendure P1 and CT meters |
flowchart LR
Z[ZenMaster] -->|1. local zenSDK HTTP API| D[Zendure device]
Z -->|2. MQTT, own broker on port 8883| D
Z -->|3. Bluetooth fallback| D
- Steered over the local zenSDK HTTP API where the device has it, otherwise over a local MQTT broker, with Bluetooth as fallback.
- Devices are found automatically over MQTT, mDNS and Bluetooth.
- Pair under the lanes in the panel connects a new battery over Bluetooth.
ZenMaster runs its own MQTT broker for the Zendure devices, on port 8883 with TLS.
- A device the fleet knows may only speak for its own device id from its own address.
- A device that connects from an address ZenMaster does not know yet is admitted as a newcomer: it only reports until you let the fleet steer it.
- While a battery is being paired over Bluetooth, it may connect from a new address for ten minutes.
Warning
If another broker already holds port 8883 (for example the EMQX add-on), ZenMaster cannot start its broker and shows a notification. Stop that broker, or enter it in the Zendure settings. If you keep EMQX 6, see EMQX 6 setup for Zendure devices.
- Every battery is planned on its own: its capacity, its power limits, its own solar input, its round-trip loss and its wear. See Battery model.
- The plan charges when power is cheap or solar is left over and discharges when it is expensive, within the phase limits of the connection.
- The phase of each battery is detected from its power jumps in the recorder history. See Solar, base load and phases.
- A battery that has not been full for a while gets a growing discount in the plan to charge to 100 %, so the plan picks a cheap or sunny moment for it. On day 30 without a full charge, once above 80 % SoC, it leaves the fleet and charges to full. See Battery model.
ZenMaster on GitHub · Releases · Issues · Licensed under GPL-3.0
Getting started
Devices
How it calculates
- The planner
- Battery model
- Real-time control
- House model
- Hot water tank
- Price model
- Solar, base load and phases
- Appliances and EV
- Recorder
More