Skip to content

SmartGateways.nl

How to Connect a Smart Meter WiFi Gateway to EVCC

Use your smart meter data in EVCC

EVCC is an open-source Energy Management System (EMS) designed to optimize energy use in your home. While EVCC is best known for smart EV charging, it can also work with solar panels, home batteries, dynamic electricity tariffs and other energy consumers.

To make smart energy decisions, EVCC needs accurate information about the current power flow of your home. In particular, it needs to know whether you are currently importing electricity from the grid or exporting electricity to the grid.

This is where your smart meter comes in.

The Smart Meter WiFi Gateway reads the P1 port of your smart meter and makes the DSMR data available over your local network. EVCC can use this data as its grid meter.

This allows EVCC to directly monitor the energy flow of your home without requiring a cloud connection.

What is EVCC?

EVCC is an open-source energy management platform that can combine information from different parts of your energy system.

It is commonly used for:

  • Smart charging of electric vehicles
  • Charging an EV using solar surplus
  • Charging based on dynamic electricity prices
  • Monitoring grid consumption and grid feed-in
  • Managing charging power
  • Load management
  • Integrating solar production
  • Working with home batteries
  • Combining different energy meters
  • Integrating with Home Assistant

The central idea is simple: EVCC uses information about your energy system to decide when and how much energy should be used for charging or other supported applications.

For many of these functions, EVCC needs a reliable grid meter.

Why does EVCC need a grid meter?

Your electricity consumption constantly changes.

For example, your solar panels may currently produce 4,000 W while your house consumes 1,000 W. This means around 3,000 W is available as surplus energy.

If you start using an oven, heat pump or washing machine, your household consumption may increase significantly.

EVCC therefore needs current information about the actual energy flow at the grid connection.

The grid meter tells EVCC:

  • How much power your home is consuming
  • How much electricity is being imported
  • How much electricity is being exported
  • Whether there is currently a surplus available

This information is particularly important for solar surplus charging.

Why use the Smart Meter WiFi Gateway?

The Smart Meter WiFi Gateway provides a simple way to make the data from your smart meter available to EVCC.

The gateway reads the P1 port and provides the raw P1/DSMR data over your local network.

The connection is:

Smart meter → P1 port → Smart Meter WiFi Gateway → Local network → EVCC

Local communication

EVCC connects directly to the IP address of the gateway.

There is no need for the data to pass through a SmartGateways cloud service.

No additional energy meter required

If your smart meter already provides the required grid information through its P1 port, the Smart Meter WiFi Gateway can act as the interface between the meter and EVCC.

Realtime data

The gateway provides the raw DSMR data from the smart meter, allowing EVCC to access current import and export information.

More than just EVCC

The gateway is not dedicated to EVCC. The P1 data can also be used by other systems, such as Home Assistant, depending on their supported connection methods.

This makes the gateway useful as a general network interface for your smart meter.

How to connect the Smart Meter WiFi Gateway to EVCC

The configuration in EVCC is straightforward.

Step 1 – Connect the Smart Meter WiFi Gateway

Connect the gateway to the P1 port of your compatible smart meter.

Make sure the gateway is connected to your WiFi network.

You will need the IP address of the gateway.

For example: 192.168.100.16

You can find this using the gateway configuration or by checking the list of connected devices in your router.

Tip: use a fixed IP address

We recommend creating a DHCP reservation in your router for the gateway.

This ensures that the gateway keeps the same IP address.

If the IP address changes, EVCC will no longer be able to connect to the gateway until the configuration is updated.

Step 2 – Open EVCC

Open the EVCC web interface.

Go to the configuration section and configure your Grid meter.

EVCC uses the grid meter to determine the current power flow at your electricity connection.

Step 3 – Configure netmeter

  • Fabrikant:: DSMR
  • IP address or hostname: 192.168.100.16 (this should be the ip address configured earlier)
  • Port: 23
  • Save

Step 4 – Validate the configuration

Click Validate in EVCC.

If the configuration is correct, EVCC should establish a connection with the gateway and display the current values from your smart meter.

You can then see the current power flow and use the information as the grid meter for your EVCC installation.

Using EVCC with solar panels

One of the most useful applications is solar surplus charging.

Suppose your solar panels produce:

4,000 W

Your house is currently using:

1,000 W

Approximately:

3,000 W

is therefore available before considering other system limitations.

EVCC can use the grid measurement to determine whether electricity is being exported and adjust the charging of your EV accordingly.

When household consumption increases, the available surplus changes.

For example:

Solar production: 4,000 W
Household consumption: 2,500 W
Available surplus: approximately 1,500 W

The Smart Meter WiFi Gateway provides EVCC with the actual grid flow needed to make these decisions.

This makes the gateway particularly useful for installations where you want to maximize self-consumption of solar energy.

EVCC with dynamic electricity tariffs

EVCC can also be used with dynamic electricity prices.

Instead of charging your vehicle whenever it is connected, EVCC can take electricity prices into account when determining an appropriate charging strategy.

This can be useful for households with a dynamic electricity contract.

The Smart Meter WiFi Gateway provides the actual grid measurement, while EVCC can combine this with tariff information and other available data.

This allows you to optimize charging based on both energy availability and electricity prices.

EVCC with a home battery

EVCC can also work with supported home battery systems.

A typical energy system might contain:

  • Solar panels
  • A home battery
  • An electric vehicle
  • A charging station
  • A smart meter

EVCC can combine information from these different components to optimize the overall energy flow.

The Smart Meter WiFi Gateway provides the grid-side measurement. The battery and solar inverter can provide their own data through their supported integrations.

The gateway therefore does not replace the battery or inverter integration. Instead, it provides EVCC with an important piece of information: what is happening at the grid connection.

EVCC and Home Assistant

If you already use Home Assistant, EVCC can be part of a larger energy management setup.

Home Assistant is particularly useful for:

  • Energy dashboards
  • Automation
  • Monitoring
  • Smart home devices
  • Energy statistics
  • Custom sensors

EVCC is particularly focused on:

  • Smart EV charging
  • Solar surplus charging
  • Charging based on electricity prices
  • Load management
  • Energy-aware charging

A possible setup is:

Smart meter
↓
Smart Meter WiFi Gateway
↓
Local network
↓
├── EVCC – smart charging and energy management
└── Home Assistant – monitoring, dashboards and automation

The same smart meter can therefore become part of both your EVCC and Home Assistant setup.

Troubleshooting

If EVCC cannot read the smart meter data, check the following.

Check the IP address

Make sure you have entered the current IP address of the Smart Meter WiFi Gateway.

Check the port

The correct TCP port is:

23

Check the network

The EVCC system and Smart Meter WiFi Gateway must be able to communicate with each other over the local network.

If your network uses VLANs, guest networks or firewall rules, make sure traffic between the two devices is allowed.

Check the P1 connection

Make sure the gateway is properly connected to the P1 port of the smart meter and that the gateway is receiving data.

Check the EVCC meter type

Make sure the meter type is configured as:

DSMR

Frequently Asked Questions

Is EVCC only for electric vehicles?

No. EVCC was originally developed around electric vehicle charging, but it has evolved into a broader energy management system. It can work with grid meters, solar production, home batteries, charging stations, tariffs and other supported energy devices.

Can I use the Smart Meter WiFi Gateway without EVCC?

Yes. The gateway can also provide P1 data to other compatible systems, including home automation and energy monitoring platforms.

Do I need Home Assistant to use EVCC?

No. EVCC can communicate directly with the Smart Meter WiFi Gateway. Home Assistant is optional.

Do I need a separate electricity meter for EVCC?

Not necessarily. If your smart meter provides the required DSMR data through its P1 port, the Smart Meter WiFi Gateway can provide this data to EVCC as the grid meter.

Does the gateway use the cloud?

No. EVCC can connect directly to the Smart Meter WiFi Gateway over your local network.

Which port does EVCC use?

Use TCP port 23 for the Smart Meter WiFi Gateway.

Which meter type should I select in EVCC?

Select:

DSMR

Then enter the IP address of the Smart Meter WiFi Gateway and use TCP port 23.

Can I use the gateway for solar surplus charging?

Yes. The gateway provides EVCC with the grid import/export information required to determine the current energy flow at the grid connection. EVCC can then use this information for supported solar charging strategies.

Can I use the gateway with a home battery?

Yes, as the grid meter. Your battery will normally need to provide its own data to EVCC through a supported integration or meter.

Conclusion

The Smart Meter WiFi Gateway is an easy way to connect your smart meter to EVCC.

By reading the P1 port and making the DSMR data available over your local network, the gateway provides EVCC with accurate information about the energy flow of your home.

The basic configuration is:

Meter type: DSMR
IP address: IP address of your Smart Meter WiFi Gateway
Port: 23

Once connected, EVCC can use the smart meter data as its grid meter for applications such as smart EV charging, solar surplus charging, dynamic electricity tariffs and broader home energy management.

Combined with systems such as Home Assistant, the Smart Meter WiFi Gateway can also form part of a complete local energy monitoring and automation setup.

One gateway, direct access to your smart meter data, and a simple local connection to EVCC.