Skip to main content

Find the MAC address of an inverter or charger on the customer network

Find the MAC and IP address of an inverter, battery or EV charger from a Windows or Mac laptop on the customer network, without access to the controller.

J
Written by Jeroen De Smedt

Use this guide to find the MAC address and IP address of an inverter, battery or EV charger on the customer's network. You only need your own laptop, Windows or Mac. You don't have to install anything.

💡 Mainly needed for the ESI - T1 family. These inverters have their own network port and don't work through a logger. To configure them, you need their MAC address.

The MAC address of an ESI - T1 usually starts with 02:20.

What you need

  • A laptop with Windows 10 or 11, or a Mac

  • Access to the customer's network (cable or Wi-Fi)

  • The device must be switched on. Without sun, an inverter often switches off its communication at night, so do this during the day.

Step 1 — Connect to the same network as the Helios controller

Your laptop must be on the same network as the controller and the inverter. Otherwise you won't find anything.

  • Preferably plug a network cable into the router or switch the controller is connected to.

  • Wi-Fi also works, but do not use the customer's guest network. Guest networks keep devices from seeing each other.

  • Turn off any VPN on your laptop.

Step 2 — Open PowerShell or Terminal

Keep this window open until you're done: the next steps use each other's results.

Windows

Click Start, type PowerShell and open Windows PowerShell. To paste a block, right-click in the window. Then press Enter.

Mac

Press Cmd + Space, type Terminal and press Enter. To paste a block, press Cmd + V. Then press Enter.

Does your Mac ask whether Terminal may access devices on your local network? Click Allow and run the step again.

Step 3 — Find all devices on the network

This block finds your laptop's network range and sends a ping to every address from .1 to .254. This way your laptop gets to know every device on the network. Then it shows the list of devices. It takes a few seconds.

Windows

$net = ((Get-NetIPConfiguration | Where-Object { $_.IPv4DefaultGateway } | Select-Object -First 1).IPv4Address.IPAddress) -replace '\.\d+$', ''
Write-Host "Network range: $net"
$t = 1..254 | ForEach-Object { (New-Object System.Net.NetworkInformation.Ping).SendPingAsync("$net.$_", 1000) }
[System.Threading.Tasks.Task]::WaitAll($t)
arp -a | Select-String "$net\." | Select-String "dyn"

Example:

Network range: 192.168.129
  192.168.129.1         a4-91-b1-0c-22-10     dynamic
  192.168.129.113       3c-61-05-7a-9e-02     dynamic
  192.168.129.160       02-20-1a-3b-4c-5d     dynamic
  192.168.129.201       98-d8-63-5a-11-f0     dynamic

The first column is the IP address, the second the MAC address. Windows writes 02:20 as 02-20. In this example, 192.168.129.160 is the ESI - T1: its MAC address starts with 02-20.

Mac

IF=$(route -n get default | awk '/interface:/{print $2}'); NET=$(ipconfig getifaddr $IF); NET=${NET%.*}
echo "Network range: $NET"
for i in {1..254}; do ping -c 1 -t 1 $NET.$i >/dev/null 2>&1 & done; wait
arp -an | grep -F "($NET." | grep -v -e incomplete -e permanent -e ff:ff:ff:ff:ff:ff

Example:

Network range: 192.168.129
? (192.168.129.1) at a4:91:b1:c:22:10 on en0 ifscope [ethernet]
? (192.168.129.113) at 3c:61:5:7a:9e:2 on en0 ifscope [ethernet]
? (192.168.129.160) at 2:20:1a:3b:4c:5d on en0 ifscope [ethernet]
? (192.168.129.201) at 98:d8:63:5a:11:f0 on en0 ifscope [ethernet]

The IP address is between brackets, the MAC address comes after at. A Mac leaves out leading zeros, so 02:20 is shown as 2:20. In this example, 192.168.129.160 is the ESI - T1: its MAC address starts with 2:20.

⚠️ Is Network range empty, or does it start with 169.254? Then you don't have a valid connection to the customer's network. Check the cable or the Wi-Fi.

Step 4 — Find out which device is the inverter or charger

Take the last numbers of the IP addresses from step 3 and put them on the first line. In the example above those are 1, 113, 160 and 201. Then paste the block.

Windows

Separate the numbers with commas.

$list = 1,113,160,201
foreach ($n in $list) { $ip = "$net.$n"
  foreach ($p in 502, 8899, 80) { $c = New-Object System.Net.Sockets.TcpClient
    try { if ($c.ConnectAsync($ip, $p).Wait(1000)) { "$ip : port $p OPEN" } } catch {}
    $c.Dispose() } }

Mac

Separate the numbers with spaces.

for n in 1 113 160 201; do
  for p in 502 8899 80; do
    nc -z -G 1 $NET.$n $p 2>/dev/null && echo "$NET.$n : port $p OPEN"
  done
done

Reading the result

You get the open ports per IP address, for example:

192.168.129.1 : port 80 OPEN
192.168.129.160 : port 502 OPEN
192.168.129.160 : port 80 OPEN
192.168.129.201 : port 8899 OPEN

  • Port 502 open: this device speaks Modbus TCP. It is usually the inverter, battery or charger you are looking for.

  • Port 8899 open: this is the Wi-Fi dongle of an inverter.

  • Only port 80 open: this device has a web page, such as the router (often .1), a printer or the inverter itself. On some inverters Modbus TCP is off by default. If you see port 80 but not 502 on an address that could be the inverter, see step 5.

You find the device's MAC address in the list from step 3, next to the same IP address. The MAC address is the fixed address of the device itself. It doesn't change, even if the router gives the device a different IP address.

Check the MAC address

Your laptop sees the MAC address of the device it talks to directly. That is not always the inverter itself:

  • The same MAC address appears next to several IP addresses. Then there is a Wi-Fi extender or mesh system in between, and you see the MAC address of that extender. The correct MAC address is then on the label of the inverter or Wi-Fi dongle, or in the manufacturer's app.

  • Your laptop and the inverter are in a different network range, for example because of a second router. Then the inverter doesn't appear in the list.

If possible, compare the MAC address with the label on the inverter, dongle or charger.

Step 5 — Nothing found?

What you see

Possible cause

What to do

No address with 502 or 8899

Modbus TCP is off on the inverter

Turn on Modbus TCP in the installer app or on the inverter's web page and run step 4 again

Almost nothing in the list, not even the router

You are on the guest network or another network

Connect with a cable to the customer's router (step 1)

The network range is not the customer's

Your laptop has a second connection active, e.g. Wi-Fi and cable, or a VPN

Turn off Wi-Fi and VPN, use only the cable and start again at step 3

The inverter is not in the list

The inverter or dongle is connected to another network, e.g. a second router or the inverter's own Wi-Fi network

Check in the manufacturer's app which network the device is connected to

The inverter sometimes appears, sometimes not

Weak Wi-Fi signal from the dongle

Run step 4 again with a longer wait. Windows: change Wait(1000) to Wait(3000). Mac: change -G 1 to -G 3. Consider a cable connection.

Nothing in the evening or at night

The inverter sleeps without sun

Try again during the day

Error message or nothing at all in step 4

You closed the window in between, or the block wasn't copied completely

Start again at step 3 in the same window and copy the whole block

Step 6 — Enter the MAC address in the configuration

Enter the MAC address you found in the configuration of the inverter and, if needed, of the energy meter.

Did this answer your question?