Setting a static IP address on your inverter
Posted: Sun Mar 19, 2023 5:10 pm
I was finding that the inverter ethernet port was switching off after a while. It seems there is a problem with DHCP so you may need to use a static IP address for the port to work. It took a while to work out exactly how to do this, so here's a step by step guide for anyone else.
First, go to your inverter front panel, About, MAC Address and make a note of the MAC address for the ethernet port on your inverter.
Now, login to your router, find it's DHCP settings and add a static lease for your inverter using the MAC address. If you don't do this, there is a risk the router will assign the inverter's IP address to another device and wierd stuff will happen.
Make a note of the IP address, the router IP address (aka gateway) and the subnet mask. For my LAN, these are 192.168.0.31, 192.168.0.1 and 255.255.255.0 respectively.
Go back to the inverter front panel and go into Settings, Communication, Ethernet. When I first did this, the only selection I could see was DHCP. If this is the case, go into DHCP. You see Enable. Press the DOWN button. Disable appears. Press Enter. The inverter restarts and goes through checking etc for 60 seconds.
Go back into Settings, Communication, Ethernet and you should see the menu that includes IP address, Subnet mask and Gateway.
Go into IP address and enter the IP address you allocated for the inverter (192.168.0.31 for me). When you press enter at the end, the inverter restarts and goes through checking etc for 60 seconds. When it's finished, go back into Settings, Communication, Ethernet.
Go into Subnet Mask and enter your subnet mask (255.255.255.0 for me). For me, this was set by default. If this is the case, press back. If you enter a different subnet mask, press enter at the end. The inverter restarts again. 90 seconds later, go back into Settings, Communication, Ethernet.
Go into Gateway and enter your router IP (192.168.0.1 for me). When you press enter at the end, the inverter restarts again. 90 seconds later...
Check the IP address in About, IP address. You can also ping the inverter IP address and you should get a response time <1ms and 0% loss.
That's it, the inverter ethernet port is working on a static IP address and you can access ModBus data via home assistant. Follow the setup video from William Eccles and enter the IP address in your modbusLAN.yaml.
First, go to your inverter front panel, About, MAC Address and make a note of the MAC address for the ethernet port on your inverter.
Now, login to your router, find it's DHCP settings and add a static lease for your inverter using the MAC address. If you don't do this, there is a risk the router will assign the inverter's IP address to another device and wierd stuff will happen.
Make a note of the IP address, the router IP address (aka gateway) and the subnet mask. For my LAN, these are 192.168.0.31, 192.168.0.1 and 255.255.255.0 respectively.
Go back to the inverter front panel and go into Settings, Communication, Ethernet. When I first did this, the only selection I could see was DHCP. If this is the case, go into DHCP. You see Enable. Press the DOWN button. Disable appears. Press Enter. The inverter restarts and goes through checking etc for 60 seconds.
Go back into Settings, Communication, Ethernet and you should see the menu that includes IP address, Subnet mask and Gateway.
Go into IP address and enter the IP address you allocated for the inverter (192.168.0.31 for me). When you press enter at the end, the inverter restarts and goes through checking etc for 60 seconds. When it's finished, go back into Settings, Communication, Ethernet.
Go into Subnet Mask and enter your subnet mask (255.255.255.0 for me). For me, this was set by default. If this is the case, press back. If you enter a different subnet mask, press enter at the end. The inverter restarts again. 90 seconds later, go back into Settings, Communication, Ethernet.
Go into Gateway and enter your router IP (192.168.0.1 for me). When you press enter at the end, the inverter restarts again. 90 seconds later...
Check the IP address in About, IP address. You can also ping the inverter IP address and you should get a response time <1ms and 0% loss.
That's it, the inverter ethernet port is working on a static IP address and you can access ModBus data via home assistant. Follow the setup video from William Eccles and enter the IP address in your modbusLAN.yaml.