Skip to content

Installation and Configuration

To install your solar router, you need to define the archtecture of your solution between standalone installation; installation working with proxy or multiple solar router installation.

Step 1: Install and configure ESPHome firmware

Install ESPHome on your ESP as described into Ready-Made Project documentation.
Select "Empty ESPHome device".

Adopt it into Home Assistant.

Wifi reconnection

Remove ap: and captive_portal:.
This could prevent the solar router from connecting to WiFi in case of loss of connection

Step 2: Select packages

A solar router needs 3 packages: a power meter, a regulator and the engine.

A proxy just need 1 power meter package

Step 2.1: Select a Power Meter

  • Fronius
    Get power data from Fronius inverter (Tested on Gen24 Primo)
  • Home Assistant
    Get power data from Home Assistant sensor
  • Proxy client
    Get power data from outside from solar router

Contribute

You are developer and your power meter is missing fron this list, refer to contributing section to see how to contribute to this project.

Step 2.2: Select a Regulator

  • For regulator which can be controlled from 0% to 100%
  • For regulator wich can only be switched ON/OFF

Contribute

You are developer and your regulator is missing from this list, refer to contributing section to see how to contribute to this project.

Step 2.3: Add an Engine

  • Variable Engine
    Read power exchange with the grid, determine and apply the percentage of regulator opening.

  • ON/OFF Engine
    Read power exchange with the grid, and start to divert energy if a threshold is reached and stop if another threshold is reached.

Step 2.4: Add an Energy Counter (Optional)

Step 3: Configure your solar router

Each package requires a configuration which is done in substitution section.
Refer to documentation of packages selected and add configuration to the end of your yaml file.

You can refer to examples to see how to configure your yaml for a standalone installation a proxy based installation.

More examples are available in github

Step 4: Upload firmware

Install Solar Router on your ESP using OTA from Home Assistant.