I am documenting my setup that stops production from solar PV during (high negative pricing). My searches did not give me a complete solution applicable to my situation so I thought I would document this for others who may need it.
My situation : Home user, based in the Netherlands. 12 solar panels generating around 4.5MWh annually. PV system based on Enphase Envoy Standard (not Envoy Metered). On dynamic energy contract with Tibber. No battery storage.
My solution strategy : For now, stop solar production when energy prices go below approx -12 cents. This number is the based on the netting on energy tax in 2026. In 2027, this number would be around 3 cents because there is no netting of taxes.
The standard way to do this would be to upgrade to Enphase Envoy Metered and use the built in features to measure power and stop production/export. But I did not want to pay for the upgrade and here we are.
How to achieve this:
[I would consider this quite easy to setup if you are already familiar with HA. Otherwise, it may take a bit of effort to understand everything happening here, but overall, quite easy]
- Get Home Assistant (duh!). I have it on a container on my NAS. But any other method should work too.
- Get an installer account for Enphase. Normal owner account will not work. DIY account may work, but you pay 250$ fees to activate stuff. You will need to use a different email address and choose 'I am an installer' (not DIY owner). You can make up fictitious company details. Enphase does not really care. It helps to use your home address and may be even your name because it would make the story easy for Enphase customer support if you need to contact them.
- From your Enphase Owner account, add this installer company as a maintainer. [In my case, I had to contact Enphase support who suggested that I must first complete the free solar installer course from their university. Apparently at least one user from the company needs to have this certificate to allowed to be added as a maintainer. I am not 100% sure if that is a real requirement, but in any case, I could speedrun the course in about 1 hour]
- If you already have Enphase integration for HA, uninstall it (you will still have all historical data afterwards)
- Install HACS https://hacs.xyz/
- Install the HACS Enphase installer integration GitHub - vincentwolsink/home_assistant_enphase_envoy_installer: This is a HACS custom integration for Enphase Envoys with firmware version 7 and up. · GitHub This will expose the 'Production enable/disable' option for Envoy to home assistant
- Setup automations to turn the production off when some negative price is reached and turn it back on when it is back above a certain threshold.
Mine looks like this:
alias: Stop-production-for -12 cents
description: ""
triggers:
- type: value
device_id: [your Tibber device id]
entity_id: [Electricity_Price_Tibber]
domain: sensor
trigger: device
below: -0.12
conditions:
- condition: device
type: is_on
device_id: Envoy_XXXX
entity_id: Envoy_XXXX_Production
domain: switch
actions:
- action: notify.mobile_app_xxxx
metadata: {}
data:
message: Price below -12 cents, stopping production
title: Solar stopping
- type: turn_off
device_id: Envoy_XXXX
entity_id: Envoy_XXXX_Production
domain: switch
mode: single