Skip to content

Elements

Elements are the building blocks of your HAEO energy network. Each element represents a physical device or logical component in your energy system.

Elements and Devices

When you configure an element, HAEO may create multiple devices in Home Assistant. Elements can create one or more devices depending on their configuration. Each device has its own set of sensors showing optimization results.

This composition allows HAEO to represent complex physical systems with multiple operational modes while keeping configuration simple. See individual element pages for which devices and sensors each element creates.

Elements vs Home Assistant Entities

In HAEO documentation:

  • Element = A component you configure (battery, grid, solar, etc.)
  • Device = A Home Assistant device created by an element (may be one or more per element)
  • Sensor = A Home Assistant sensor entity on a device

See individual element pages for which devices and sensors each element creates.

For the mathematical details of how elements are modeled, see the Modeling Documentation.

How Elements Work Together

Elements work together once you connect them to match your real-world wiring. HAEO balances available energy, expected consumption, and any limits you set so the total system stays within bounds. In a typical home system, solar may feed a common node, the grid can import or export, and a battery shifts energy between time periods.

Example layout:

graph TD
    Solar[Solar] --> Net[Node]
    Grid[Grid] <--> Net
    Net --> Battery[Battery]
    Battery --> Load[Load]

This layout lets HAEO decide when to store solar, rely on the grid, or draw from a battery while keeping every connection within the limits you configured. See the modeling documentation for the underlying mathematics.

Configuration Approach

When configuring elements:

  1. Start simple: Begin with just a grid and one other element
  2. Add gradually: Introduce complexity one element at a time
  3. Verify each step: Check that optimization produces reasonable results
  4. Use realistic values: Base constraints on actual device specifications

Advanced Elements

Some elements are only available when Advanced Mode is enabled on your hub. These elements provide direct access to raw modeling components for advanced users who need fine-grained control.

Advanced elements include:

  • Connection: Explicit power flow paths between elements
  • Node: Virtual power balance points (with advanced source/sink configuration)
  • Battery Section: Direct access to model layer Battery element

Most users should use the standard elements which provide automatic connections and optimized behavior. Advanced elements require manual connection configuration and are intended for users who understand the underlying model layer.

See the Configuration guide for details on enabling Advanced Mode.

Next Steps

Explore detailed configuration for each element type:

  • Battery configuration

    Energy storage with SOC tracking and efficiency modeling.

    Battery guide

  • Grid configuration

    Import/export with dynamic or fixed pricing.

    Grid guide

  • Solar configuration

    Solar generation with curtailment options.

    Solar guide

  • Load configuration

    Power consumption with constant or forecast-based patterns.

    Load guide

  • Node configuration

    Virtual power balance nodes.

    Node guide

  • Battery Section configuration (Advanced)

    Direct access to model layer Battery element.

    Battery Section guide

  • Connection configuration (Advanced)

    Explicit power flow paths between elements.

    Connections guide