Integrating your solar panels

Gain insight into your energy production by integrating your solar panels into Home Assistant.

If you also set up the Solar Forecast integration, you will be able to see expected solar production and automate based on planned production.

Graphic showing energy flowing from the solar panels to Home Assistant and back to the grid.

Hardware

Home Assistant will need to know the amount of energy that is being produced. This can be done in various ways.

Using a CT clamp sensor

Current transformer (CT) clamp sensors measure your energy usage by looking at the current passing through an electrical wire. This makes it possible to calculate the energy usage. In Home Assistant we have support for off-the-shelf CT clamp sensors or you can build your own.

Attention! Installing CT clamp sensor devices requires opening your electrical cabinet. This work should be done by someone familiar with electrical wiring and may require a licensed professional in some regions. Your qualified installer will know how to do this.

Disclaimer: Some links in this section are affiliate links.

Connecting to your inverter

Some solar inverters have APIs that can be read by Home Assistant.

Energy integrations