Edit the script and put your API key, site id and inverter serial number Edit the listening host and port if needed
Run the script as a service, add the URL to prometheus.