Skip to content

Releases

v0.1.20

Choose a tag to compare

@FireSon FireSon released this 04 Dec 12:57
7397e0c

What's new

  • New logo. The integration icon and the panel header show the new logo; the header has the icon with ZEN over MASTER and takes no more room than before. (#89)
  • Documentation in a wiki. The README is now a short introduction with the slogan Energy mastered. Zen at home.; the details, including how the planner, the models and the recorder reads work, are in the wiki. (#89, #90)

Fixes

  • Solar power in the panel with its unit. The solar tile, its hint per group and the solar table read a kW sensor as W, so 2.4 kW was shown as 2 W. (#88, #91)
  • SolarFlow 3000 Mix AC+. Its internal pack is now read as the 8 kWh pack instead of an AB1000S of 0.96 kWh. (#87, #91)
  • Calibration of the electric boiler and the pool heat pump. The weekly fit stopped with an error and never completed; it runs again. (#89)

v0.1.19

Choose a tag to compare

@FireSon FireSon released this 03 Dec 23:51
94d9595

What's new

  • Calibration to 100 %. A battery that has not been full for 24 days is steered to a full charge. While it counts (1 on day 24, up to 7 from day 30 on), a kWh still in its pack at the end of the plan is worth 2 cent more per counted day, so the planning picks a cheap moment; a kWh that is discharged again earns nothing. Zendure only for now: the device's own limit goes to 100 % while it counts and your maximum SoC is put back afterwards. On the last day, above 80 %, the device leaves the fleet and charges on until it is full. This has not yet run on a device. (#68, #84, #85)
  • The plan uses the full rated power of every pack. It counted on 95 % of the rated charge and discharge power per quarter. (#79)
  • Overview. A Zendure device shows its short family name (SF2400AC) instead of the long product model, the devices are sorted by that name with numbers compared as numbers, the status text wraps on two lines, and the flyout of a consumer shows its control buttons. (#78, #80, #81, #82)

Home Assistant

  • Home Assistant 2026.9.0 or newer is required. The P1 tracking iterates the device registry instead of using it as a mapping, which Home Assistant deprecated. (#83)

Deye

  • The inverter reads its own shutdown SoC, shows it as the minimum SoC and plans again when it changes. (#83)

v0.1.18

Choose a tag to compare

@FireSon FireSon released this 02 Dec 19:07
bff9e5e

What's new

  • Minimum power per battery. A battery runs at least 7.5 % of its rated power while discharging and 8 % while charging, never under 50 W. A standing battery starts at that minimum, and only when the part of the demand the running batteries cannot carry reaches it. (#66, #67)
  • A battery stops when its share gets too small, now also while charging. With several batteries running, the first one in line stops once its share has stayed under twice its own minimum for a while; a battery running alone stops under once its minimum. A started battery runs at least 150 s before it can be stopped. (#66)
  • A new manual power or mode takes effect at once, instead of with the next P1 report. (#69)
  • More P1 meter names are understood. Entities with returned, delivered or verbruik in their entity id get the right direction, for example an ESPHome DSMR reader. (#62, #65)
  • Power sensors in kW are read in watts from the start. A sensor that had no value yet when ZenMaster started, for example because its own integration loads later, was read as watts until the next reload, so a solar panel in kW showed 0 to 1 W. The unit of every new value now decides. (#74, #76)
  • Roadmap. ROADMAP.md lists the planned features: calibration on a sunny day (#68) and no export when it costs money. (#71, #72)

Zendure

  • Meters with two serials. A meter is found on its own serial and on the serial of the reader that announces it on mDNS; both point to the same device, also in Home Assistant. A meter follows a new IP address straight from its mDNS name. A meter without a serial in its local report, like the 3CT, takes the serial from its mDNS name as its own. harrymayr found this and opened the pull request. (#60)
  • New devices: Smart Meter 1CT-S, SolarFlow 3600 Max, SolarFlow 3680 Mix Pro and SolarFlow 3680 Mix AC+, the three SolarFlows at up to 3600 W charging and discharging. The Smart Meter 3CT and the SolarFlow 1600 AC+ are also recognised under a second product key. (#75)

Tests

  • tests/optimum holds the search behind the minimum and stop settings (OPTIMUM.md) and the script to repeat it. The simulation, the replay benchmarks with their recorded series and the devcontainer config are now in the repository. (#66)

v0.1.17

Choose a tag to compare

@FireSon FireSon released this 01 Dec 02:30
37b7d2e

What's new

  • Play mode. A switch on the Controls tile of the Planning tab runs a scenario beside the plan: every lane shows the real plan above the scenario and the chart draws the scenario. Three knobs change it: the batteries on or off, the round trip and a shift of every price. A play plan is never applied to a device. (#58)
  • Forms. A new consumer or solar group is named in the form's own name field. Text and password fields are aligned to the left; only number and time inputs stay right aligned. (#58)
  • Price provider code. A code entered together with a newly selected price provider is now exchanged by that provider, not by the previous one. harrymayr found this and opened the pull request. (#55)

Zendure

  • Shared core with Zendure-HA. The Zendure files are now the same files Zendure-HA v2 uses. The unique_id follows the device identity; the entity ids stay as they are. (#56)
  • The broker admits a new device with control off, smartMode is written once per change, and a device can be paired with the broker over the Bluetooth of Home Assistant. The Wi-Fi password and the token are kept out of the Bluetooth log. (#56)
  • A property without a definition becomes a diagnostic sensor, battery heating does not count as charged energy, and an empty reply is no sign of life. (#56)
  • packType 70 marks the internal 8 kWh pack only under a SolarFlow 4000, so an AB1000S under a SolarFlow 800 is no longer shown as that pack. (#57)
  • Meter. The product table holds the product keys in their real spelling. A meter reader found on mDNS with only an MQTT address is subscribed per meter product key. A known device is subscribed with its own product key instead of a wildcard. A product name that is not in the table falls back on the product key of the topic. (#58)

Solver

  • The devices are written in entry_apply, after the run. (#56)
  • Heating: a quarter under the minimum is saved up, and the plan is smoothed over three quarters. (#56)

Maintenance

  • Dependency updates: ruff 0.17.6, rollup 4.68.8.

v0.1.16

Choose a tag to compare

@FireSon FireSon released this 28 Nov 13:18
9b19987

What's new

  • Battery wear per pack. Each pack's wear cost is centred on the fleet average, and the next best quarter skips packs that are full or empty.
  • Octopus Energy (DE) as a price provider.
  • Run duration sensor. sensor.zenmaster_run_duration shows how long the last solver run took.
  • Battery bar. The state of charge shows as a percentage inside a taller bar.
  • Arming an appliance that already runs. Arming from the button now cuts a plug appliance and pauses a pause/resume appliance, so it waits for its window.

Zendure

  • An http-only zenSDK 3 device moves to the own broker once.
  • The log upload is switched off again after a register, which re-enables it.
  • The broker refuses a connection whose client id is not an admitted device.

Maintenance

  • HACS validation runs only on main and on the daily schedule.
  • Dependency updates: pip, aiosqlite, ruff, pvlib, colorlog, rollup and its plugins, echarts 6.1. TypeScript stays at 5.9 until the rollup plugin supports 7.

v0.1.15

Choose a tag to compare

@FireSon FireSon released this 21 Nov 16:29

What's new

  • Hub 1200 / 2000 charge through an attached ACE 1500. The ACE announces its Hub in bindSn, is kept out of the fleet, and the Hub routes charging to the ACE while discharging itself. Shared battery packs are counted once.
  • Net metering (saldering): the sell price now stays equal to the buy price right after a price refresh, closing a short window where they could briefly diverge.

Maintenance

  • Declare the network dependency in the manifest (hassfest).
  • Install pytest-asyncio in CI so the async tests run.

ZenMaster 0.1.14

Choose a tag to compare

@FireSon FireSon released this 17 Nov 21:22
c7e1828

ZenMaster 0.1.14 talks to Zendure devices only on your own network.

Changes

  • No more Zendure cloud MQTT: ZenMaster no longer connects to the Zendure cloud broker, neither with its own client nor as a bridge for a local device. The broker's certificate could not be verified properly, so this route is gone. ZenMaster reaches the devices over your local MQTT broker, zenSDK and Bluetooth. A device that only reported through the cloud has to be moved to the local broker (Bluetooth onboarding) or reached over zenSDK.
  • Device list from the cloud API stays: with an app token, the Zendure cloud API still lists your devices over HTTPS, so they are found automatically.
  • Startup: the solar forecast no longer reads time zone data from disk on the event loop.

Install or update through HACS, or copy custom_components/zenmaster into your configuration.

ZenMaster 0.1.13

Choose a tag to compare

@FireSon FireSon released this 15 Nov 23:07
2113d58

ZenMaster 0.1.13 keeps the P1 meter across restarts and refuses a device added without serial.

Fixes

  • P1 meter forgotten after a restart: the settings of the Distribution card (P1 meter, mode, limits) were never written to storage, so the P1 meter had to be chosen again after every restart. They are kept now. After this update, choose the P1 meter one more time. Reported in #21.
  • Device added by hand without serial: a device added with an empty serial number got entity ids without a serial (such as meter3_ct_total_power) and never received values. Adding it now asks for the serial number. A device added this way before has to be removed and added again with its serial number, and preferably its device id.

Install or update through HACS, or copy custom_components/zenmaster into your configuration.

ZenMaster 0.1.12

Choose a tag to compare

@FireSon FireSon released this 15 Nov 15:05
e4ae786

ZenMaster 0.1.12 reads the phases of a Shelly Pro 3EM as P1 meter.

P1 meter

  • Shelly Pro 3EM phases: the Shelly integration puts each phase of a Pro 3EM on its own sub-device (Phase A, B, C), with only the total on the meter itself. ZenMaster now also reads the sub-devices of the chosen P1 device, so L1, L2 and L3 no longer stay at 0. Reported in #21.

Install or update through HACS, or copy custom_components/zenmaster into your configuration.

ZenMaster 0.1.11

Choose a tag to compare

@FireSon FireSon released this 15 Nov 13:28
f234699

ZenMaster 0.1.11 adds NOMOS as a dynamic price provider.

Dynamic price

  • NOMOS (DE): select "NOMOS (DE)" on the price card and enter the client_id and client_secret issued by NOMOS. The all-in price of the active subscription is the buy price; feed-in follows the German export tariff. Not yet tested against the live NOMOS API, feedback welcome in #21.

Appliances

  • Arm and plan at once when the status entity changes.
  • Remote start resumes a paused program when start is unavailable.

Repository

  • Workflows run with a read-only GITHUB_TOKEN.
  • Dependency updates.

Install or update through HACS, or copy custom_components/zenmaster into your configuration.