Perl script for monitoring an older Samil Solar River inverter using the RS232 (serial) connection, and uploading data to https://pvoutput.org.
See this blog post for a full explanation and instructions: Logging Solar Inverter Output with a Raspberry Pi.
This script has been modified from the original script hosted on the now-seemingly-defunct Solar Freaks forum.
Credit to trollkarlen for uploading the original script to GitHub, and to 'belly' for this post on modification tips.