Article · Netherlands · Metering

End of net metering in the Netherlands 2027: measure the cost with Home Assistant at the P1 port

On 1 January 2027 the Netherlands ends net metering (salderen). What that costs a household comes down to one number that almost every solar system already measures and hardly anyone looks at: the electricity flowing back into the grid. Home Assistant reads it at the meter's P1 port, works out the loss with your own tariffs and switches loads on exactly when there is a surplus.

Applies to
households in the Netherlands with solar panels
Key date
1 January 2027, end of the salderingsregeling
Metering
the meter's P1 port, via HomeWizard P1 or a DSMR cable
Lever
use it yourself instead of exporting it
Status
November 2026 · primary sources below, with the date checked
Author
Julian Haag, state-certified electrical engineering technician

The essentials in one minute

What changes on 1 January 2027

Until 31 December 2026, Dutch households may offset the electricity their solar panels feed into the grid against the electricity they draw, once a year. The government explains it with an example: a household that exports 2,500 kWh in summer may use 2,500 kWh in winter without paying energy costs, network costs or energy tax for it. Anything exported beyond the household's own consumption is already only paid a compensation today.

From 1 January 2027 this offsetting ends completely, with no phase-out. Power may still flow into the grid, and the supplier pays a compensation for every exported kilowatt-hour. Until 2030 it must be at least 50 % of the kale leveringstarief, the electricity price excluding taxes. Suppliers may also charge feed-in costs (terugleverkosten), but only costs they incur in processing the exported electricity. The Autoriteit Consument en Markt (ACM) supervises this.

And one sentence that decides the technical approach in the house: electricity a household generates and uses directly carries no taxes and no supplier costs.

What an exported kilowatt-hour is worth

Until the end of 2026 an exported kilowatt-hour is worth as much as an imported one, as long as no more flows back over the year than the household uses. From 2027 that splits into three different values:

Value of a solar kilowatt-hour before and after 2027 Three bars. Until 2026, net metered: the exported kilowatt-hour is offset against an imported one and is worth the full electricity price. From 2027, exported: the supplier's compensation, until 2030 at least 50 percent of the supply price excluding taxes, minus feed-in costs. From 2027, used yourself: no taxes, no supplier costs, so the full electricity price is saved. Bar lengths are schematic. Until 2026 · net metered full price incl. tax From 2027 · exported compensation ≥ 50 % of supply price excl. tax, minus costs From 2027 · used yourself full price saved dashed: feed-in costs bar lengths schematic
The same kilowatt-hour from the roof: net metered until 2026, from 2027 either compensated or used in the house. The gap between the middle and the bottom bar is what Home Assistant can win back. Based on Rijksoverheid, as of 01.11.2026.

The gap between "exported" and "used yourself" per kilowatt-hour is:

price per imported kWh (incl. taxes) − feed-in compensation + feed-in costs

How large it is for you is in your contract: import price, compensation and feed-in costs differ from supplier to supplier. That is why this article gives no example amounts but shows how Home Assistant calculates with your own figures.

Connecting the P1 port to Home Assistant

The Dutch smart meter has a standardised data port, the P1 port. It provides import and export as meter readings, split into the tariff periods T1 and T2, plus the current power. Two routes lead into Home Assistant:

How common this is shows in the Home Assistant statistics: the HomeWizard integration runs in 20,383 installations worldwide, DSMR in 5,801. From the Netherlands, 39,315 installations share their statistics.

In the Energy dashboard (Settings → Dashboards → Energy → Electricity grid) you enter the meter reading for import and the one for export. From then on you see, hour by hour, when power leaves the house.

Working out your own loss

Net metering only ever applied up to the household's own consumption. What is affected is therefore the smaller of the two annual amounts, export or import. Three helpers and one sensor are enough to keep track of it:

  1. Two utility meter helpers with a yearly cycle, one on the import counter and one on the export counter. They start at zero on 1 January.
  2. Three number helpers (input_number) for the values from your contract in euros per kWh: import price including taxes, feed-in compensation, feed-in costs.
  3. A template sensor that turns them into the amount you would be missing without net metering:
template:
  - sensor:
      - name: "Loss without net metering"
        unit_of_measurement: "EUR"
        state: >
          {% set imp = states('sensor.import_year') | float(0) %}
          {% set exp = states('sensor.export_year') | float(0) %}
          {% set price = states('input_number.import_price') | float(0) %}
          {% set comp = states('input_number.feed_in_compensation') | float(0) %}
          {% set cost = states('input_number.feed_in_costs') | float(0) %}
          {{ (([imp, exp] | min) * (price - comp + cost)) | round(2) }}

The sensor names depend on your helpers. The sensor shows the amount for the current year and grows with every sunny hour. It is an approximation: standing charges and per-connection network costs do not change, and if your contract has day and night rates, use an average import price.

Keeping the surplus in the house

The calculation shows that every kilowatt-hour that does not leave counts. Home Assistant already has the control for it: it sees at the P1 port within seconds when power flows to the grid and can react. An example with the HomeWizard power sensor, where export appears as negative:

alias: "Surplus: switch on the boiler"
triggers:
  - trigger: numeric_state
    entity_id: sensor.p1_meter_power
    below: -1500
    for: "00:05:00"
actions:
  - action: switch.turn_on
    target:
      entity_id: switch.boiler

If more than 1,500 W flows to the grid for five minutes, the boiler switches on. Your entities will have different names; you find them under Settings → Devices & services. Choose the threshold according to the device's power, otherwise it draws grid power when it starts. A second automation switches off again when import begins. With a DSMR cable there is no signed sensor but two separate sensors for import and export power.

Which loads are suitable differs from house to house. The big ones are hot water, heat pump, car and a home battery; the articles below show how to connect them to Home Assistant. If you have several, you need an order of priority so that they do not all start at once and draw grid power again.

Limits

The calculation above applies to a fixed-price contract. With a dynamic tariff the price for import and export changes every hour, and the question "use it or export it" then also depends on the time of day. On the compensation after 2030, the government only says that the minimum applies until 2030. And: this article does not replace a tariff comparison. Your contract is what counts.

Frequently asked questions

When does net metering end in the Netherlands?

On 1 January 2027. Until 31 December 2026 exported electricity may still be offset against consumption, after that it may not. There is no gradual phase-out.

How much will I get for exported electricity from 2027?

A compensation from your supplier that must be at least 50 percent of the electricity price excluding taxes until 2030. Feed-in costs may be deducted, but only costs the supplier incurs in processing the electricity. The exact values are in your contract.

Can Home Assistant read the P1 port?

Yes, through the HomeWizard Energy integration with the HomeWizard P1 Meter, or through the DSMR Smart Meter integration with a serial P1 cable or network adapter. Both provide import and export per tariff for the Energy dashboard.

Sources

The net metering rules come from the Dutch government, the details on the integrations from the Home Assistant documentation. Check the current status before you decide anything on that basis.

This article is not tax or tariff advice. What counts is your contract and the current legal situation in the Netherlands.