Reset Solaredge comms

I just uploaded the proxy script to GitHub: GitHub - streef/modbus-proxy: Multithreaded Modbus proxy from Modbus TCP to Modbus TCP or RTU · GitHub

To install it on the Cerbo, create a directory /data/etc/se-proxy containing the modbus-proxy.py script from GitHub and the following shell scripts:

::::::::::::::
run
::::::::::::::
#!/bin/sh
export TZ=$(sed -n 's|.*<TimeZone.*>\(.*\)</TimeZone>.*|\1|p' /data/conf/settings.xml)
exec 2>&1
echo Starting SolarEdge proxy
exec ${0%run}modbus-proxy.py -vv -F 40069 -D tcp 10.0.0.80
::::::::::::::
log/run
::::::::::::::
#!/bin/sh
exec 2>&1
exec multilog t s32768 n2 /var/log/se-proxy
::::::::::::::
install
::::::::::::::
#!/bin/sh
ln -s /data/etc/se-proxy /service/

You should replace 10.0.0.80 with the IP address of your SolarEdge inverter and configure VenusOS to use 127.0.0.1 as the IP of the SolarEdge.

To enable the proxy at boot, add the following line to /data/rc.local:

/data/etc/se-proxy/install

1 Like