Skip to content

Rerouting Growatt Wifi TCPIP data via your Grott Server

Johan Meijer edited this page Feb 10, 2023 · 2 revisions

Rerouting the network

The Grott growatt monitor is based on rerouting the network connection from the inverter to the growatt server via an other linux server (in my case a raspberry pi) where the grott monitor progam is running.

Network The inverter normally sends it messages to port 5279 on the growatt server on the internet. During the installation of the Shine wifi module or afterwards via the growatt dialogue on the internet the inverter is configured to send it's data to the linux server.

In proxy mode Grott will forward the data to the Growatt server. In sniff mode you have to configure IP port forwarding. Via port forwading the linux server will sent the data to the Growatt server.


Set server IP via dialogue

Via the menu on the Growatt server the target IP address can be set: Growatt server menu

Key is growatt+date e.g.: growatt20200702 (formaly datalog+date)
for more information see: https://www.pvo-int.com/wp-content/uploads/2019/03/Troubleshooting-Guide-for-Growatt-Monitoring-devices.pdf. Be aware dialoques (screens) has been changed!

Set server IP via Wifi Configuration of the growatt shine wifi module.

You can set the growatt server or ip address in the advanced configuration menu at initial setup of after a reset of the wifi module. Advanced Wifi settings menu


For sniffer mode (Linux only!!!!!)

The port forwarding commands on the linux server (Raspberry PI):

  • Enable ipforwarding in the unix: echo 1 > /proc/sys/net/ipv4/ip_forward

  • Make sure that IP forwarding works after reboot : edit /etc/sysctl.conf and change the line that says net.ipv4.ip_forward = 0 to net.ipv4.ip_forward = 1

  • sudo iptables -t nat -A PREROUTING -p tcp --dport 5279 -j DNAT --to-destination 47.91.67.66:5279

  • sudo iptables -t nat -A POSTROUTING -j MASQUERADE

Always check if the Growatt Server ip is still: 47.91.67.66:5279

Display results

  • sudo iptables -t nat -L
  • sudo iptables -nvxL