Class GridSwitchHandler

java.lang.Object
io.openems.edge.common.statemachine.StateHandler<StateMachine.OffGridState,Context>
io.openems.edge.ess.generic.offgrid.statemachine.GridSwitchHandler

public class GridSwitchHandler extends StateHandler<StateMachine.OffGridState,Context>
Reads the State of the Grid-Switch relays.
  • If system is currently connected to grid: START_BATTERY_IN_ON_GRID
  • If system is currently disconnected from grid: START_BATTERY_IN_OFF_GRID