Zaptec Go and solar-based charging in Home Assistant

The purpose of this setup has been to charge an electric vehicle using surplus solar production, controlled via Home Assistant, without unnecessary import from the power grid.

The charging station used is a Zaptec Go. The charger can be configured for either single-phase or three-phase charging, but the phase selection is fixed. Single-phase operation is best suited for solar-based charging, while three-phase operation is required for fast charging. Since Zaptec Go does not support dynamic switching between one and three phases via Home Assistant or other external systems, this represents a practical limitation when combined with private solar installations, where available power is often limited.

The Zaptec charger used in this setup is configured for the European market. Connector types, phase configurations, and certification requirements vary significantly between regions. Readers outside continental Europe should verify compatibility with their local standards before ordering.

Screenshot of Zaptec Go charging in Home Assistant

In this setup, the phase limitation is handled through a deliberate hardware workaround in the form of a single-phase charging cable. This makes it possible to utilize surplus solar power for charging, while still allowing three-phase charging to be used when needed. Zaptec has since launched the Zaptec Go 2, which according to the manufacturer offers better options for handling phase selection, but this case is based on Zaptec Go and the limitations that apply in practice today.

You may also want to read our article about Zaptec Go 2 and Home Assistant.

Control of the Zaptec Go in Home Assistant is handled via Zaptec’s unofficial integration, installed through HACS. The integration is cloud-based and requires login with a Zaptec account. In practice, only a few entities are used: start/stop charging, setting the maximum charging current, and reading the current charging power and status. The central control point is regulation of the maximum charging current; phase selection cannot be changed dynamically via the integration. The integration has proven stable in daily operation, but it depends on Zaptec’s cloud service and should not be considered critical infrastructure.

Solar-based charging is limited by technical minimum thresholds. For Zaptec Go, charging can only start at 6 A, which in single-phase operation corresponds to approximately 1.4 kW. The solar surplus must therefore remain stably above this level before charging makes sense. Adjustment of the charging current is done in whole amperes and should not be performed too frequently, as this may cause unnecessary start/stop cycles.

Control is therefore based on stepwise regulation of the maximum charging current. Instead of continuous adjustment, fixed steps are used, which are only changed when the solar surplus exceeds defined thresholds over time. In practice, the following mapping is used for single-phase charging:

  • approx. 1.0 kW → 6 A
  • approx. 1.5 kW → 8 A
  • approx. 2.0 kW → 10 A
  • approx. 2.4 kW → 12 A
  • approx. 2.9 kW → 14 A
  • approx. 3.3 kW → 16 A

Home Assistant is used exclusively to calculate the current solar surplus, select the appropriate current step, and update the charger’s maximum charging current. The actual charging process is still handled by the Zaptec Go.

Measurement of solar surplus is based on the net power flow to and from the grid, measured at the household connection point. When export to the grid is detected, this is treated as available solar surplus. In this setup, an energy meter from Shelly is used, integrated directly into Home Assistant. What matters is that the meter provides instantaneous power with the correct sign and a sufficient update frequency. These energy meters must be installed in the electrical distribution board by a certified electrician.

In daily operation, charging has proven stable during periods with sufficient solar production. Charging ramps up gradually, follows production sensibly, and is reduced again without unnecessary interruptions. The solution is, however, clearly seasonal. During the winter period there is rarely any real solar surplus, and in that case it is more practical to charge the electric vehicle under conventional conditions, typically at night when electricity prices are often lower. The setup is therefore not a universal year-round solution, but a practical method for utilizing solar surplus when conditions allow.

About coding
This case describes the architecture and control principles, but not specific Home Assistant automations. The code will depend on the individual installation. Automations can be generated using AI, provided the AI is given the necessary technical prerequisites as described above.