krbaker / hass-sunpower

Home Assistant SunPower Integration using the local installer ethernet interface.
Apache License 2.0
49 stars 22 forks source link

Error when trying to initialize the integration #74

Closed gtubhi closed 2 weeks ago

gtubhi commented 3 weeks ago

I have a Pi 4 setup as the proxy and can get to the PVS with no issues. I get a device list with all the systen information in the attached file. When I log in the HA logs I see the errors listed in the pvs_error.txt file. There is a "KeyError: 'ess_report'" in the Python script. I've attached my dl_cgi.json file too. Would anyone happen to have any ideas? Any help would be greatly appreciated. dl_cgi.json pvs_error.txt Jim C

krbaker commented 3 weeks ago

it looks like you have 'use ess' enabled which will fail if it doesn't exist... (TBH next version will probably auto-detect)

gtubhi commented 2 weeks ago

It seems like an ID10T error. :-) Yes, I enabled it by mistake. Once I reconfigured it, it displayed all the sensors. But I am still working out which sensors to use in the Energy display in HA. So far, it is not matching what I see in my Sunpower app.

krbaker commented 2 weeks ago

feel free to open an issue if you can't figure the discrepancy out. I know some installs do not have a standalone production meter but instead sum the micro-inverters production numbers. That patch is on main to sum it for you but the configuration has gotten out of hand so I'm working on that first... its also possible you have a line side consumption meter.. I thought that the PVS once configured would output the right numbers but it might not.