Skip to content

v0.9.6

Choose a tag to compare

@0xAHA 0xAHA released this 26 Jun 21:25

v0.9.6

Beta release — WIT TOU schedule entities are new and untested on hardware. Please report any write failures or unexpected inverter behaviour on #331.

Feature: WIT VPP Time-of-Use schedule controls (Issue #331)

The WIT profile already had TOU period registers mapped but no Home Assistant entities to control them. Ten periods are now exposed as number entities:

  • TOU Period N Start — start time in minutes since midnight (0–1439; e.g. 480 = 08:00, 1320 = 22:00)
  • TOU Period N End — end time in minutes since midnight (0–1440)
  • TOU Period N Power — signed power level (−100% to +100%; negative = discharge, positive = charge)
  • TOU Active Periods (reg 30411) — already existed; how many periods are active (0 = self-consumption mode)

Setting a period's power to a negative value during peak tariff hours forces the inverter to cover household load from the battery, achieving zero grid import safely within grid regulations.

Registers: 30412–30441 (periods 1–10, 3 registers each). Writes use FC16 (Write Multiple Registers). Periods must not overlap.