ginoledesma / sunpower-pvs-exporter

A Prometheus Exporter for the SunPower PVS monitoring system
MIT License
77 stars 27 forks source link

I get only: "result": "no command" #14

Closed rajid closed 1 year ago

rajid commented 1 year ago

When I connect my computer to the internal/inverter interface, I receive the expected DHCP address and can talk to the http server on port 80 just fine, but when I sent a command of "DeviceList", I got back only: "result": "no command" I then figured maybe I needed to send "Start" first, but that seemed to result in the same response. Maybe my device isn't at the same revision level as what is expected by your code? Do you have any input which may help narrow this down? Any help would be greatly appreciated!

rajid commented 1 year ago

Looking at your code, it looks as though maybe the complete URL would be: http://172.27.153.1//cgi-bin/dl_cgi?Command=DeviceList I'll have to try that tomorrow.

rajid commented 1 year ago

Ok, I have verified that, indeed, the URL I surmized does work, so I'm closing this.