Skip to main content

Vattenfall Nederland smart home integration, free and open source

Vattenfall Nederland integration for Gladys Assistant

Dynamic electricity prices and contract costs for Vattenfall in the Netherlands

Dynamic electricity prices and contract costs for a Vattenfall dynamic contract in the Netherlands.

Installation​

  1. In Gladys, open Integrations, then the external integrations store.
  2. Search for Vattenfall Nederland and click Install.
  3. Wait for the container to start: the integration shows up in the list.

Configuration​

No account and no key are needed: the hourly Dutch market prices come from the free EnergyZero API (cloud). Fill in your contract terms:

  • Supplier surcharge (EUR/kWh, VAT excluded): added to the market price. Take it from your contract; it may be negative for a discount.
  • VAT (%): 21 in general.
  • Low price and High price (EUR/kWh, VAT included): they split the prices into the levels low, normal and high.
  • Refresh interval: how often prices are refreshed (one minute minimum).

The Test the price service button checks that the prices are reachable.

Usage​

The integration offers the Vattenfall dynamic tariff device: the current price, the price of the next quarter-hour and today's average, in EUR/kWh. Add it from the Discovery tab, then use it in dashboards, charts and scenes.

Dynamic contract. In the energy contracts wizard of Gladys, pick the template Vattenfall dynamic contract. Your own meter in Gladys (P1 reader, smart plug...) measures the consumption; the integration prices every half-hour at the market price of that moment, plus the surcharge and the VAT. The market prices also feed the spot-nl tariff calendar.

Limits. The integration does not log in to your Vattenfall account: the consumption comes from your own meter, and the invoiced amount may differ slightly from the estimate (fixed fees, energy tax, rounding). Prices of the next day appear in the afternoon, once published.

Scenes and dashboards​

  • Trigger Price level changed: fires when the price moves to the low, normal or high level. Filter on the new level; the variables are level, previous_level, price and next_price.
  • Action Refresh the prices: reloads the prices now. Outputs: current_price, level.
  • Action Find the cheapest hours: finds the cheapest run of 0.25 to 12 hours from now. Outputs: found, start_time, end_time, starts_in_minutes, average_price. Handy to start a dishwasher or a car charge.
  • Widget Electricity price: live current price, level, next quarter-hour, cheapest two hours and a refresh button.

Help​

A question or a problem? Ask on the Gladys community forum or open an issue on the GitHub repository.

Configuration settings​

These are the settings Vattenfall Nederland asks for in its configuration screen in Gladys.

SettingTypeRequiredDescription
Getting startedsectionNoHourly Dutch market prices come from the free EnergyZero API: no account, no key. Set the surcharge of your contract below.
Supplier surcharge (EUR/kWh)numberNoAdded to the market price, VAT excluded. Negative for a discount. See your contract.
VAT (%)numberNoDutch VAT applied to the price, 21 % in general.
Low price up to (EUR/kWh)numberNoAt or below this price (VAT included), the level is low.
High price from (EUR/kWh)numberNoAt or above this price (VAT included), the level is high.
Refresh interval (s)numberNoHow often prices are refreshed, in seconds (one minute minimum).

How to install Vattenfall Nederland in Gladys​

  1. In Gladys, open Integrations: Vattenfall Nederland appears in the catalog, next to the native integrations, with a community badge.
  2. Click Install. Gladys pulls the Docker image (ghcr.io/gboulvin/gladys-vattenfall-nederland:1.1.0), starts it in a sandbox isolated from the core, and generates the integration's interface (devices, discovery and configuration).
  3. Open the Configuration screen of the integration, fill in the settings, and save.
  4. You can also install it directly from its repository URL: https://github.com/gboulvin/gladys-vattenfall-nederland.

Vattenfall Nederland requires Gladys >=5.3.0. The catalog inside Gladys refreshes every hour, so a new version becomes available at most one hour after its release.

Not running Gladys yet? It is free and open source: follow the installation guide to get started.

About external integrations​

Vattenfall Nederland is an external integration: a community integration packaged as a Docker container and published on GitHub, that Gladys installs in one click and runs in a sandbox isolated from its core. It is published and maintained by gboulvin, not by the Gladys core team.

Subscribe to the Gladys Assistant newsletter

A few emails per month about new releases and project news. Sent by Pierre-Gilles Leymarie, founder of the project. Unsubscribe anytime 🙂