Code Monkey home page Code Monkey logo

hass-sunpower's People

Contributors

bakerkj avatar canisursa avatar crkochan avatar dolfs avatar heyhewmike avatar kboghdady avatar kepath avatar krbaker avatar n8detar avatar ryphez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hass-sunpower's Issues

Unable to integrate PV Supervisor version 2.2.2, Build 234

Hello, I followed the guide to setup a Raspberry Pi inside of the comm cabinet, however it appears that the PV Supervisor is not compatible with the integration. Below is the setup:

  • Home Assistant OS v2022.3.8 running on Raspberry PI 3 Model B v1.2
  • Another Raspberry PI 3 Model B v1.2 running Raspberry PI OS Lite with haproxy installed (hostname: sunpowerpi, IP: 192.168.1.5)

I am able to access the PV Supervisor Management Console, below is a screenshot:

SunPower Console

When I enter http://sunpowerpi/cgi-bin/dl_cgi?Command=DeviceList into the browser, I'm presented with an HTML response:

SunPower Response

=========EDIT=========

I recently came across a command that pulls all the information given a serial number of the device, however the response is still in an HTML format:

http://sunpowerpi/cgi-bin/dl_cgi?Command=DeviceDetails&SerialNumber=146xxx

image

When I inspect the page and indent the response for readability, this is what I see:

<div class='accordionItem'>
<h2 id='146xxx' type='WATTNODE'><img/>
	<span class='working'>Power Meter 146xxx</span><img/>
	<span class='working'>Working</span>
	<span class='info'>P0:Modbus Slave ID: 11</span>
	<span class='link'></span>
</h2>
<div>
<table>
	<tr><td class='working'><b>Last&nbsp;Data:</b>&nbsp;
		<span class='DateClass'>2022,07,20,17,27,24</span></td>
	<td class='info'><b>CT&nbsp;Scale&nbsp;Factor:</b>&nbsp;
		100&nbsp;&nbsp;</td></tr>
	<tr><td class='info'><b>Last&nbsp;Refresh:</b>&nbsp;
		<span class='DateClass'>2022,07,20,17,27,38</span></td>
	<td class='info'><b>Total&nbsp;Lifetime&nbsp;Energy:</b>&nbsp;
		69006.2343&nbsp;&nbsp;kWh</td></tr>
	<tr><td class='info'><b>Model:</b>&nbsp;
		WNC-3Y-208-MB</td>
	<td class='info'><b>Avg&nbsp;Real&nbsp;Power:</b>&nbsp;
		-0.4899&nbsp;&nbsp;kW</td></tr>
	<tr><td class='info'><b>Serial&nbsp;Number:</b>&nbsp;
		146xxx</td>
	<td class='info'><b>Avg&nbsp;Reactive&nbsp;Power:</b>&nbsp;
		-0.2289&nbsp;&nbsp;kVAR</td></tr>
	<tr><td class='info'><b>Software&nbsp;Version:</b>&nbsp;
		19</td>
	<td class='info'><b>Avg&nbsp;Apparent&nbsp;Power:</b>&nbsp;
		0.5408&nbsp;&nbsp;kVA</td></tr>
	<tr><td/>
	<td class='info'><b>Avg&nbsp;Power&nbsp;Factor:</b>&nbsp;
		-0.9059&nbsp;&nbsp;</td></tr>
	<tr><td/>
	<td class='info'><b>Avg&nbsp;AC&nbsp;Frequency:</b>&nbsp;
		60.0627&nbsp;&nbsp;Hz</td></tr>
	<tr><td class='MadCow' a='100' b='3'        ></td></tr>
</table>
</div></div>

In HomeAssistant, when try to initialize the integration, it doesn't work. I tried providing the hostname and IP address:

HomeAssistant Cannot Connect

  1. Would it be possible to update the plugin to support this type of response from SunPower Supervisor?
  2. Has anyone else come across this version of SunPower Supervisor? It appears it was installed all the way back in 2014.
  3. While browsing the Documentation files, I came across a lot of interesting and potentially useful reference documents:

SunPower Documentation

Here is an example of what the setup looks like on my end, except I don't have the Ethernet adapters:
https://us.sunpower.com/how-troubleshoot-icd-sunpower-monitoring-system-sms-2x-pv-supervisor

API stoped responding

Hey guys -> wasn't sure where else to ask this. Have you had your api stop responding? Mine was working great this morning (tested with curl etc) and now it just times out and I get nothing from the PVS.

(was just installed today)

Sunpower won't show up in "Add Integration"

I just installed the repo to HACS (1.13.2) which seems to install correctly and I have restarted HA. When I go to add integration in the normal Home Assistant integrations page, the sunpower option does not show up. I'm running the latest HA Supervisor/OS (core-2021.6.6 and OS 6.1). Is there a way to modify the code to set the host endpoint?

Official Integration?

Is there any reason why this couldn't be an official integration? The main thing I see is you'd have to pull out the API code into a separate python module as they don't want sensors directly interfacing with API's but otherwise is there anything holding this back? I'd be happy to work on porting it over to an official integration if that's something that is doable?

[Help] Notify if individual panel appears to not be producing

I have everything setup in HA and the graphs and everything are looking good. Right now I have 36 panels (each with their own inverter), and I'm trying to determine how I can monitor and notify me if a panel does not seem to be producing.

The problem I can see is based on the device list and the json output (as well as looking on the website), I have 2 inverters producing 0W and one other producing much lower than the others (i.e. 30W compared to the others that are producing 280W).

Is there an easy way to look at the total solar produced in a day on a per panel basis and notify me if any are not working or much lower than the others?

I've had solar for 8 years and it has been working flawlessly but I don't see an easy way to do what I need without checking the data on a daily basis.

No per inverter information

Hello,
first and foremost, thanks for this great integration.
Everything seems to be working fine except that I am only getting the system state for each inverter. No power information.
The inverter type is "AC_Module_Type_E". I have a PVS6 system.
Has anybody encountered this issue? Thanks

Error when trying to initialize the integration

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

Power Factor should be 61.19% instead of 0.6119%

Thanks a lot for the addon.
I just installed this yesterday and exploring.
I found all "Power Factor" are showing as less than 1% . After some googling, I guess it should be *100 .
Sorry if this is a stupid question.

PVS6M0400c
by SunPower
Firmware: 3000

Use of deprecated constants STATE_CLASS_MEASUREMENT, STATE_CLASS_TOTAL, STATE_CLASS_TOTAL_INCREASING

Sharing from the log file that requested I submit a bug report here:

Logger: homeassistant.components.sensor
Source: helpers/deprecation.py:205
Integration: Sensor (documentation, issues)
First occurred: 12:33:14 PM (6 occurrences)
Last logged: 12:33:14 PM

STATE_CLASS_MEASUREMENT was used from sunpower, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.MEASUREMENT instead, please create a bug report at https://github.com/krbaker/hass-sunpower/issues
STATE_CLASS_TOTAL was used from sunpower, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.TOTAL instead, please create a bug report at https://github.com/krbaker/hass-sunpower/issues
STATE_CLASS_TOTAL_INCREASING was used from sunpower, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.TOTAL_INCREASING instead, please create a bug report at https://github.com/krbaker/hass-sunpower/issues

Power meter from PSV5 returns 0 for power produced

First off, this is an amazing add-on for HASS!

It seems consumption reports correctly, but the production value is always 0. Is there a way to make it return the correct value?

DeviceList output:

{
	"devices":	[{
			"DETAIL":	"detail",
			"STATE":	"working",
			"STATEDESCR":	"Working",
			"SERIAL":	"ZT181085000441D0482",
			"MODEL":	"PV Supervisor PVS5",
			"HWVER":	"3.5",
			"SWVER":	"2022.6, Build 5214",
			"DEVICE_TYPE":	"PVS",
			"DATATIME":	"2023,05,05,05,10,00",
			"dl_err_count":	"0",
			"dl_comm_err":	"540",
			"dl_skipped_scans":	"0",
			"dl_scan_time":	"0",
			"dl_untransmitted":	"784298",
			"dl_uptime":	"2162255",
			"dl_cpu_load":	"0.15",
			"dl_mem_used":	"34172",
			"dl_flash_avail":	"12440",
			"panid":	4150025516,
			"CURTIME":	"2023,05,05,05,11,28"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"PVS5M644023p",
			"TYPE":	"PVS5-METER-P",
			"STATE":	"working",
			"STATEDESCR":	"Working",
			"MODEL":	"PVS5M0400p",
			"DESCR":	"Power Meter PVS5M644023p",
			"DEVICE_TYPE":	"Power Meter",
			"SWVER":	"17",
			"PORT":	"",
			"DATATIME":	"2023,05,05,05,11,15",
			"ct_scl_fctr":	"50",
			"net_ltea_3phsum_kwh":	"0",
			"p_3phsum_kw":	"0",
			"q_3phsum_kvar":	"0",
			"s_3phsum_kva":	"0",
			"tot_pf_rto":	"1",
			"freq_hz":	"59.9003",
			"CAL0":	"50",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,05,05,05,11,28"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"PVS5M644023c",
			"TYPE":	"PVS5-METER-C",
			"STATE":	"working",
			"STATEDESCR":	"Working",
			"MODEL":	"PVS5M0400c",
			"DESCR":	"Power Meter PVS5M644023c",
			"DEVICE_TYPE":	"Power Meter",
			"SWVER":	"17",
			"PORT":	"",
			"DATATIME":	"2023,05,05,05,11,15",
			"ct_scl_fctr":	"100",
			"net_ltea_3phsum_kwh":	"68777.85",
			"p_3phsum_kw":	"7.3044",
			"q_3phsum_kvar":	"-0.6192",
			"s_3phsum_kva":	"7.3223",
			"tot_pf_rto":	"0.9935",
			"freq_hz":	"59.9003",
			"CAL0":	"100",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,05,05,05,11,29"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"450051806009854",
			"TYPE":	"SOLARBRIDGE",
			"STATE":	"error",
			"STATEDESCR":	"Error",
			"MODEL":	"AC_Module_Type_D",
			"DESCR":	"Inverter 450051806009854",
			"DEVICE_TYPE":	"Inverter",
			"SWVER":	"1037122932",
			"PORT":	"",
			"MOD_SN":	"O22M20755248",
			"NMPLT_SKU":	"",
			"DATATIME":	"2023,05,05,02,26,15",
			"ltea_3phsum_kwh":	"1591.248",
			"p_3phsum_kw":	"0",
			"vln_3phavg_v":	"241.06",
			"i_3phsum_a":	"0.01",
			"p_mpptsum_kw":	"0.0003",
			"v_mppt1_v":	"55.21",
			"i_mppt1_a":	"0",
			"t_htsnk_degc":	"17.27",
			"freq_hz":	"59.99",
			"stat_ind":	"0",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,05,05,05,11,29"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"450051809011860",
			"TYPE":	"SOLARBRIDGE",
			"STATE":	"error",
			"STATEDESCR":	"Error",
			"MODEL":	"AC_Module_Type_D",
			"DESCR":	"Inverter 450051809011860",
			"DEVICE_TYPE":	"Inverter",
			"SWVER":	"1037122932",
			"PORT":	"",
			"MOD_SN":	"O22M20759168",
			"NMPLT_SKU":	"",
			"DATATIME":	"2023,05,05,02,22,45",
			"ltea_3phsum_kwh":	"1503.1632",
			"p_3phsum_kw":	"0",
			"vln_3phavg_v":	"239.86",
			"i_3phsum_a":	"0",
			"p_mpptsum_kw":	"0.0005",
			"v_mppt1_v":	"57.55",
			"i_mppt1_a":	"0",
			"t_htsnk_degc":	"16.16",
			"freq_hz":	"60.01",
			"stat_ind":	"0",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,05,05,05,11,29"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"450051809015739",
			"TYPE":	"SOLARBRIDGE",
			"STATE":	"error",
			"STATEDESCR":	"Error",
			"MODEL":	"AC_Module_Type_D",
			"DESCR":	"Inverter 450051809015739",
			"DEVICE_TYPE":	"Inverter",
			"SWVER":	"1037122932",
			"PORT":	"",
			"MOD_SN":	"O22M20759102",
			"NMPLT_SKU":	"",
			"DATATIME":	"2023,05,05,02,26,15",
			"ltea_3phsum_kwh":	"1496.4931",
			"p_3phsum_kw":	"0",
			"vln_3phavg_v":	"240.91",
			"i_3phsum_a":	"0",
			"p_mpptsum_kw":	"0.0005",
			"v_mppt1_v":	"55.99",
			"i_mppt1_a":	"0",
			"t_htsnk_degc":	"21.92",
			"freq_hz":	"60",
			"stat_ind":	"0",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,05,05,05,11,29"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"450051809016498",
			"TYPE":	"SOLARBRIDGE",
			"STATE":	"error",
			"STATEDESCR":	"Error",
			"MODEL":	"AC_Module_Type_D",
			"DESCR":	"Inverter 450051809016498",
			"DEVICE_TYPE":	"Inverter",
			"SWVER":	"1037122932",
			"PORT":	"",
			"MOD_SN":	"O22M20755199",
			"NMPLT_SKU":	"",
			"DATATIME":	"2023,05,05,02,26,15",
			"ltea_3phsum_kwh":	"1464.6365",
			"p_3phsum_kw":	"0",
			"vln_3phavg_v":	"240.68",
			"i_3phsum_a":	"0",
			"p_mpptsum_kw":	"0.0004",
			"v_mppt1_v":	"55.91",
			"i_mppt1_a":	"0",
			"t_htsnk_degc":	"19.92",
			"freq_hz":	"60",
			"stat_ind":	"0",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,05,05,05,11,29"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"450051809016561",
			"TYPE":	"SOLARBRIDGE",
			"STATE":	"error",
			"STATEDESCR":	"Error",
			"MODEL":	"AC_Module_Type_D",
			"DESCR":	"Inverter 450051809016561",
			"DEVICE_TYPE":	"Inverter",
			"SWVER":	"1037122932",
			"PORT":	"",
			"MOD_SN":	"O22M20755222",
			"NMPLT_SKU":	"",
			"DATATIME":	"2023,05,05,02,26,15",
			"ltea_3phsum_kwh":	"1579.2474",
			"p_3phsum_kw":	"0",
			"vln_3phavg_v":	"240.93",
			"i_3phsum_a":	"0.01",
			"p_mpptsum_kw":	"0.0013",
			"v_mppt1_v":	"55.25",
			"i_mppt1_a":	"0.02",
			"t_htsnk_degc":	"17.13",
			"freq_hz":	"60",
			"stat_ind":	"0",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,05,05,05,11,29"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"450051809020638",
			"TYPE":	"SOLARBRIDGE",
			"STATE":	"error",
			"STATEDESCR":	"Error",
			"MODEL":	"AC_Module_Type_D",
			"DESCR":	"Inverter 450051809020638",
			"DEVICE_TYPE":	"Inverter",
			"SWVER":	"1037122932",
			"PORT":	"",
			"MOD_SN":	"O22M20755239",
			"NMPLT_SKU":	"",
			"DATATIME":	"2023,05,05,02,23,00",
			"ltea_3phsum_kwh":	"1594.4297",
			"p_3phsum_kw":	"0",
			"vln_3phavg_v":	"241.4",
			"i_3phsum_a":	"0",
			"p_mpptsum_kw":	"0.0008",
			"v_mppt1_v":	"57.4",
			"i_mppt1_a":	"0.01",
			"t_htsnk_degc":	"15.44",
			"freq_hz":	"60.01",
			"stat_ind":	"0",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,05,05,05,11,29"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"450051809020906",
			"TYPE":	"SOLARBRIDGE",
			"STATE":	"error",
			"STATEDESCR":	"Error",
			"MODEL":	"AC_Module_Type_D",
			"DESCR":	"Inverter 450051809020906",
			"DEVICE_TYPE":	"Inverter",
			"SWVER":	"1037122932",
			"PORT":	"",
			"MOD_SN":	"O22M20753749",
			"NMPLT_SKU":	"",
			"DATATIME":	"2023,05,05,02,23,00",
			"ltea_3phsum_kwh":	"1624.4298",
			"p_3phsum_kw":	"0",
			"vln_3phavg_v":	"241.24",
			"i_3phsum_a":	"0",
			"p_mpptsum_kw":	"0.0011",
			"v_mppt1_v":	"57.3",
			"i_mppt1_a":	"0.01",
			"t_htsnk_degc":	"18.7",
			"freq_hz":	"60.02",
			"stat_ind":	"0",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,05,05,05,11,29"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"450051813001040",
			"TYPE":	"SOLARBRIDGE",
			"STATE":	"error",
			"STATEDESCR":	"Error",
			"MODEL":	"AC_Module_Type_D",
			"DESCR":	"Inverter 450051813001040",
			"DEVICE_TYPE":	"Inverter",
			"SWVER":	"1037122932",
			"PORT":	"",
			"MOD_SN":	"O22M20753719",
			"NMPLT_SKU":	"",
			"DATATIME":	"2023,05,05,02,23,45",
			"ltea_3phsum_kwh":	"1153.7503",
			"p_3phsum_kw":	"0",
			"vln_3phavg_v":	"241.75",
			"i_3phsum_a":	"0",
			"p_mpptsum_kw":	"0",
			"v_mppt1_v":	"56.36",
			"i_mppt1_a":	"65.53",
			"t_htsnk_degc":	"20.5",
			"freq_hz":	"60.01",
			"stat_ind":	"0",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,05,05,05,11,29"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"450051813004489",
			"TYPE":	"SOLARBRIDGE",
			"STATE":	"error",
			"STATEDESCR":	"Error",
			"MODEL":	"AC_Module_Type_D",
			"DESCR":	"Inverter 450051813004489",
			"DEVICE_TYPE":	"Inverter",
			"SWVER":	"1037122932",
			"PORT":	"",
			"MOD_SN":	"O22M20753801",
			"NMPLT_SKU":	"",
			"DATATIME":	"2023,05,05,02,23,00",
			"ltea_3phsum_kwh":	"1456.5718",
			"p_3phsum_kw":	"0",
			"vln_3phavg_v":	"240.97",
			"i_3phsum_a":	"0",
			"p_mpptsum_kw":	"0.0006",
			"v_mppt1_v":	"57.38",
			"i_mppt1_a":	"0",
			"t_htsnk_degc":	"16.95",
			"freq_hz":	"60.01",
			"stat_ind":	"0",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,05,05,05,11,29"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"450051813004662",
			"TYPE":	"SOLARBRIDGE",
			"STATE":	"error",
			"STATEDESCR":	"Error",
			"MODEL":	"AC_Module_Type_D",
			"DESCR":	"Inverter 450051813004662",
			"DEVICE_TYPE":	"Inverter",
			"SWVER":	"1037122932",
			"PORT":	"",
			"MOD_SN":	"O22M20753795",
			"NMPLT_SKU":	"",
			"DATATIME":	"2023,05,05,02,19,45",
			"ltea_3phsum_kwh":	"1418.6234",
			"p_3phsum_kw":	"0",
			"vln_3phavg_v":	"241.43",
			"i_3phsum_a":	"0",
			"p_mpptsum_kw":	"0.0006",
			"v_mppt1_v":	"56.63",
			"i_mppt1_a":	"0",
			"t_htsnk_degc":	"14.71",
			"freq_hz":	"60",
			"stat_ind":	"0",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,05,05,05,11,29"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"450051813004685",
			"TYPE":	"SOLARBRIDGE",
			"STATE":	"error",
			"STATEDESCR":	"Error",
			"MODEL":	"AC_Module_Type_D",
			"DESCR":	"Inverter 450051813004685",
			"DEVICE_TYPE":	"Inverter",
			"SWVER":	"1037122932",
			"PORT":	"",
			"MOD_SN":	"O22M20753675",
			"NMPLT_SKU":	"",
			"DATATIME":	"2023,05,05,02,15,00",
			"ltea_3phsum_kwh":	"1272.5402",
			"p_3phsum_kw":	"0",
			"vln_3phavg_v":	"241.29",
			"i_3phsum_a":	"0.01",
			"p_mpptsum_kw":	"0.0012",
			"v_mppt1_v":	"57.82",
			"i_mppt1_a":	"0.01",
			"t_htsnk_degc":	"19.25",
			"freq_hz":	"60.02",
			"stat_ind":	"0",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,05,05,05,11,29"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"450051813004745",
			"TYPE":	"SOLARBRIDGE",
			"STATE":	"error",
			"STATEDESCR":	"Error",
			"MODEL":	"AC_Module_Type_D",
			"DESCR":	"Inverter 450051813004745",
			"DEVICE_TYPE":	"Inverter",
			"SWVER":	"1037122932",
			"PORT":	"",
			"MOD_SN":	"O22M20753656",
			"NMPLT_SKU":	"",
			"DATATIME":	"2023,05,05,02,23,00",
			"ltea_3phsum_kwh":	"1443.1479",
			"p_3phsum_kw":	"0",
			"vln_3phavg_v":	"241.1",
			"i_3phsum_a":	"0.01",
			"p_mpptsum_kw":	"0.0011",
			"v_mppt1_v":	"56.47",
			"i_mppt1_a":	"0.01",
			"t_htsnk_degc":	"17.75",
			"freq_hz":	"60.01",
			"stat_ind":	"0",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,05,05,05,11,29"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"450051813007142",
			"TYPE":	"SOLARBRIDGE",
			"STATE":	"error",
			"STATEDESCR":	"Error",
			"MODEL":	"AC_Module_Type_D",
			"DESCR":	"Inverter 450051813007142",
			"DEVICE_TYPE":	"Inverter",
			"SWVER":	"1037122932",
			"PORT":	"",
			"MOD_SN":	"O22M20753728",
			"NMPLT_SKU":	"",
			"DATATIME":	"2023,05,05,02,15,00",
			"ltea_3phsum_kwh":	"927.522",
			"p_3phsum_kw":	"0",
			"vln_3phavg_v":	"241.62",
			"i_3phsum_a":	"0.02",
			"p_mpptsum_kw":	"0.0012",
			"v_mppt1_v":	"57.18",
			"i_mppt1_a":	"0.02",
			"t_htsnk_degc":	"19.48",
			"freq_hz":	"60.02",
			"stat_ind":	"0",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,05,05,05,11,29"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"450051814002742",
			"TYPE":	"SOLARBRIDGE",
			"STATE":	"error",
			"STATEDESCR":	"Error",
			"MODEL":	"AC_Module_Type_D",
			"DESCR":	"Inverter 450051814002742",
			"DEVICE_TYPE":	"Inverter",
			"SWVER":	"1037122932",
			"PORT":	"",
			"MOD_SN":	"O22M20755205",
			"NMPLT_SKU":	"",
			"DATATIME":	"2023,05,05,02,23,00",
			"ltea_3phsum_kwh":	"1457.1591",
			"p_3phsum_kw":	"0",
			"vln_3phavg_v":	"241.21",
			"i_3phsum_a":	"0.01",
			"p_mpptsum_kw":	"0.0012",
			"v_mppt1_v":	"57.44",
			"i_mppt1_a":	"0.01",
			"t_htsnk_degc":	"17.38",
			"freq_hz":	"60.01",
			"stat_ind":	"0",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,05,05,05,11,29"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"450051815000656",
			"TYPE":	"SOLARBRIDGE",
			"STATE":	"error",
			"STATEDESCR":	"Error",
			"MODEL":	"AC_Module_Type_D",
			"DESCR":	"Inverter 450051815000656",
			"DEVICE_TYPE":	"Inverter",
			"SWVER":	"1037122932",
			"PORT":	"",
			"MOD_SN":	"O22M20759130",
			"NMPLT_SKU":	"",
			"DATATIME":	"2023,05,05,02,23,00",
			"ltea_3phsum_kwh":	"1474.0318",
			"p_3phsum_kw":	"0",
			"vln_3phavg_v":	"241.15",
			"i_3phsum_a":	"0",
			"p_mpptsum_kw":	"0.0003",
			"v_mppt1_v":	"57",
			"i_mppt1_a":	"0",
			"t_htsnk_degc":	"16.05",
			"freq_hz":	"60.01",
			"stat_ind":	"0",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,05,05,05,11,29"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"450051815002131",
			"TYPE":	"SOLARBRIDGE",
			"STATE":	"error",
			"STATEDESCR":	"Error",
			"MODEL":	"AC_Module_Type_D",
			"DESCR":	"Inverter 450051815002131",
			"DEVICE_TYPE":	"Inverter",
			"SWVER":	"1037122932",
			"PORT":	"",
			"MOD_SN":	"O22M20753755",
			"NMPLT_SKU":	"",
			"DATATIME":	"2023,05,05,02,19,45",
			"ltea_3phsum_kwh":	"1633.5213",
			"p_3phsum_kw":	"0",
			"vln_3phavg_v":	"241.64",
			"i_3phsum_a":	"0",
			"p_mpptsum_kw":	"0.0012",
			"v_mppt1_v":	"56.76",
			"i_mppt1_a":	"0.01",
			"t_htsnk_degc":	"18.5",
			"freq_hz":	"60",
			"stat_ind":	"0",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,05,05,05,11,29"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"450051815003259",
			"TYPE":	"SOLARBRIDGE",
			"STATE":	"error",
			"STATEDESCR":	"Error",
			"MODEL":	"AC_Module_Type_D",
			"DESCR":	"Inverter 450051815003259",
			"DEVICE_TYPE":	"Inverter",
			"SWVER":	"1037122932",
			"PORT":	"",
			"MOD_SN":	"O22M20757410",
			"NMPLT_SKU":	"",
			"DATATIME":	"2023,05,05,02,23,00",
			"ltea_3phsum_kwh":	"1459.0618",
			"p_3phsum_kw":	"0",
			"vln_3phavg_v":	"241.46",
			"i_3phsum_a":	"0",
			"p_mpptsum_kw":	"0.0003",
			"v_mppt1_v":	"57.68",
			"i_mppt1_a":	"0",
			"t_htsnk_degc":	"15.78",
			"freq_hz":	"60.02",
			"stat_ind":	"0",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,05,05,05,11,29"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"450051815003261",
			"TYPE":	"SOLARBRIDGE",
			"STATE":	"error",
			"STATEDESCR":	"Error",
			"MODEL":	"AC_Module_Type_D",
			"DESCR":	"Inverter 450051815003261",
			"DEVICE_TYPE":	"Inverter",
			"SWVER":	"1037122932",
			"PORT":	"",
			"MOD_SN":	"O22M20753704",
			"NMPLT_SKU":	"",
			"DATATIME":	"2023,05,05,02,20,00",
			"ltea_3phsum_kwh":	"1119.7661",
			"p_3phsum_kw":	"0",
			"vln_3phavg_v":	"241.52",
			"i_3phsum_a":	"0",
			"p_mpptsum_kw":	"0.0012",
			"v_mppt1_v":	"56.03",
			"i_mppt1_a":	"0.01",
			"t_htsnk_degc":	"19.48",
			"freq_hz":	"60.02",
			"stat_ind":	"0",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,05,05,05,11,29"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"450051815003309",
			"TYPE":	"SOLARBRIDGE",
			"STATE":	"error",
			"STATEDESCR":	"Error",
			"MODEL":	"AC_Module_Type_D",
			"DESCR":	"Inverter 450051815003309",
			"DEVICE_TYPE":	"Inverter",
			"SWVER":	"1037122932",
			"PORT":	"",
			"MOD_SN":	"O22M20753776",
			"NMPLT_SKU":	"",
			"DATATIME":	"2023,05,05,02,23,30",
			"ltea_3phsum_kwh":	"1575.3909",
			"p_3phsum_kw":	"0",
			"vln_3phavg_v":	"241.83",
			"i_3phsum_a":	"0",
			"p_mpptsum_kw":	"0.0005",
			"v_mppt1_v":	"56.58",
			"i_mppt1_a":	"0",
			"t_htsnk_degc":	"18.97",
			"freq_hz":	"60.01",
			"stat_ind":	"0",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,05,05,05,11,29"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"450051815003358",
			"TYPE":	"SOLARBRIDGE",
			"STATE":	"error",
			"STATEDESCR":	"Error",
			"MODEL":	"AC_Module_Type_D",
			"DESCR":	"Inverter 450051815003358",
			"DEVICE_TYPE":	"Inverter",
			"SWVER":	"1037122932",
			"PORT":	"",
			"MOD_SN":	"O22M20753665",
			"NMPLT_SKU":	"",
			"DATATIME":	"2023,05,05,02,15,30",
			"ltea_3phsum_kwh":	"1091.051",
			"p_3phsum_kw":	"0",
			"vln_3phavg_v":	"241.37",
			"i_3phsum_a":	"0",
			"p_mpptsum_kw":	"0.0012",
			"v_mppt1_v":	"58.16",
			"i_mppt1_a":	"0.01",
			"t_htsnk_degc":	"18.72",
			"freq_hz":	"59.99",
			"stat_ind":	"0",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,05,05,05,11,29"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"450051815003508",
			"TYPE":	"SOLARBRIDGE",
			"STATE":	"error",
			"STATEDESCR":	"Error",
			"MODEL":	"AC_Module_Type_D",
			"DESCR":	"Inverter 450051815003508",
			"DEVICE_TYPE":	"Inverter",
			"SWVER":	"1037122932",
			"PORT":	"",
			"MOD_SN":	"O22M20757390",
			"NMPLT_SKU":	"",
			"DATATIME":	"2023,05,05,02,23,30",
			"ltea_3phsum_kwh":	"1500.7124",
			"p_3phsum_kw":	"0",
			"vln_3phavg_v":	"241.96",
			"i_3phsum_a":	"0.01",
			"p_mpptsum_kw":	"0.0003",
			"v_mppt1_v":	"57.29",
			"i_mppt1_a":	"0",
			"t_htsnk_degc":	"16.8",
			"freq_hz":	"60",
			"stat_ind":	"0",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,05,05,05,11,29"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"450051815004289",
			"TYPE":	"SOLARBRIDGE",
			"STATE":	"error",
			"STATEDESCR":	"Error",
			"MODEL":	"AC_Module_Type_D",
			"DESCR":	"Inverter 450051815004289",
			"DEVICE_TYPE":	"Inverter",
			"SWVER":	"1037122932",
			"PORT":	"",
			"MOD_SN":	"O22M20755232",
			"NMPLT_SKU":	"",
			"DATATIME":	"2023,05,05,02,23,30",
			"ltea_3phsum_kwh":	"1584.7226",
			"p_3phsum_kw":	"0",
			"vln_3phavg_v":	"241.76",
			"i_3phsum_a":	"0.01",
			"p_mpptsum_kw":	"0.0003",
			"v_mppt1_v":	"57",
			"i_mppt1_a":	"0",
			"t_htsnk_degc":	"17.07",
			"freq_hz":	"60",
			"stat_ind":	"0",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,05,05,05,11,29"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"450051815004762",
			"TYPE":	"SOLARBRIDGE",
			"STATE":	"error",
			"STATEDESCR":	"Error",
			"MODEL":	"AC_Module_Type_D",
			"DESCR":	"Inverter 450051815004762",
			"DEVICE_TYPE":	"Inverter",
			"SWVER":	"1037122932",
			"PORT":	"",
			"MOD_SN":	"O22M20753712",
			"NMPLT_SKU":	"",
			"DATATIME":	"2023,05,05,02,20,00",
			"ltea_3phsum_kwh":	"1151.9917",
			"p_3phsum_kw":	"0",
			"vln_3phavg_v":	"241.64",
			"i_3phsum_a":	"0",
			"p_mpptsum_kw":	"0.0023",
			"v_mppt1_v":	"56.4",
			"i_mppt1_a":	"0.04",
			"t_htsnk_degc":	"19.71",
			"freq_hz":	"60.01",
			"stat_ind":	"0",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,05,05,05,11,30"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"450051815005066",
			"TYPE":	"SOLARBRIDGE",
			"STATE":	"error",
			"STATEDESCR":	"Error",
			"MODEL":	"AC_Module_Type_D",
			"DESCR":	"Inverter 450051815005066",
			"DEVICE_TYPE":	"Inverter",
			"SWVER":	"1037122932",
			"PORT":	"",
			"MOD_SN":	"O22M20757416",
			"NMPLT_SKU":	"",
			"DATATIME":	"2023,05,05,02,23,30",
			"ltea_3phsum_kwh":	"1467.8255",
			"p_3phsum_kw":	"0",
			"vln_3phavg_v":	"241.75",
			"i_3phsum_a":	"0.01",
			"p_mpptsum_kw":	"0.0008",
			"v_mppt1_v":	"57.05",
			"i_mppt1_a":	"0.01",
			"t_htsnk_degc":	"16.95",
			"freq_hz":	"60.01",
			"stat_ind":	"0",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,05,05,05,11,30"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"450051815005088",
			"TYPE":	"SOLARBRIDGE",
			"STATE":	"error",
			"STATEDESCR":	"Error",
			"MODEL":	"AC_Module_Type_D",
			"DESCR":	"Inverter 450051815005088",
			"DEVICE_TYPE":	"Inverter",
			"SWVER":	"1037122932",
			"PORT":	"",
			"MOD_SN":	"O22M20757402",
			"NMPLT_SKU":	"",
			"DATATIME":	"2023,05,05,02,23,30",
			"ltea_3phsum_kwh":	"1483.2308",
			"p_3phsum_kw":	"0",
			"vln_3phavg_v":	"241.67",
			"i_3phsum_a":	"0",
			"p_mpptsum_kw":	"0.0004",
			"v_mppt1_v":	"57.18",
			"i_mppt1_a":	"0",
			"t_htsnk_degc":	"20.62",
			"freq_hz":	"60",
			"stat_ind":	"0",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,05,05,05,11,30"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"450051815005339",
			"TYPE":	"SOLARBRIDGE",
			"STATE":	"error",
			"STATEDESCR":	"Error",
			"MODEL":	"AC_Module_Type_D",
			"DESCR":	"Inverter 450051815005339",
			"DEVICE_TYPE":	"Inverter",
			"SWVER":	"1037122932",
			"PORT":	"",
			"MOD_SN":	"O22M20753726",
			"NMPLT_SKU":	"",
			"DATATIME":	"2023,05,05,02,23,45",
			"ltea_3phsum_kwh":	"1611.7547",
			"p_3phsum_kw":	"0",
			"vln_3phavg_v":	"241.78",
			"i_3phsum_a":	"0.01",
			"p_mpptsum_kw":	"0.0018",
			"v_mppt1_v":	"57.16",
			"i_mppt1_a":	"0.02",
			"t_htsnk_degc":	"17.15",
			"freq_hz":	"60",
			"stat_ind":	"0",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,05,05,05,11,30"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"450051815006172",
			"TYPE":	"SOLARBRIDGE",
			"STATE":	"error",
			"STATEDESCR":	"Error",
			"MODEL":	"AC_Module_Type_D",
			"DESCR":	"Inverter 450051815006172",
			"DEVICE_TYPE":	"Inverter",
			"SWVER":	"1037122932",
			"PORT":	"",
			"MOD_SN":	"O22M20753788",
			"NMPLT_SKU":	"",
			"DATATIME":	"2023,05,05,02,23,45",
			"ltea_3phsum_kwh":	"1450.477",
			"p_3phsum_kw":	"0",
			"vln_3phavg_v":	"241.8",
			"i_3phsum_a":	"0",
			"p_mpptsum_kw":	"0.0006",
			"v_mppt1_v":	"56.85",
			"i_mppt1_a":	"0",
			"t_htsnk_degc":	"17.49",
			"freq_hz":	"60",
			"stat_ind":	"0",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,05,05,05,11,31"
		}],
	"result":	"succeed"
}

Entity Id's are non-descriptive

I have had this running for some time and struggle with external dashboarding (I.e. Grafana via InfluxDB) due to how the Entity Id's for each device are names. Is it possible to name entities with the device name as a prefix to give more descriptive entity names.

Example, my Inverter's Power entity_id is "sensor.power_17" which gets confused between the other inverters as well as Power Monitoring plugs at home

Integration not available in the UK

The integration was not visible in HACS until I had removed the 'US' localisation from hacs.repositories. I believe this would be resolved by removing this from hacs.json

MPPT_amps sensors have the wrong measurement unit, and now causing HA warnings

Entity sensor.mppt_amps_12 (<class 'custom_components.sunpower.sensor.SunPowerInverterBasic'>) is using native unit of measurement 'VA' which is not a valid unit for the device class ('current') it is using; expected one of ['mA', 'A']; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

Cannot import name 'ELECTRICAL_VOLT_AMPERE' from 'homeassistant.const'

Updated to latest HA 2021.8.0 and Sunpower integration didn't start up

`Logger: homeassistant.setup
Source: setup.py:173
First occurred: 9:25:34 AM (1 occurrences)
Last logged: 9:25:34 AM

Setup failed for sunpower: Unable to import component: cannot import name 'ELECTRICAL_VOLT_AMPERE' from 'homeassistant.const' (/usr/src/homeassistant/homeassistant/const.py)`

Where is all of the ESS/inverter/battery/BMS information?

I have a PVS6 and the attached battery box ("ESS").
This software is working great in my HASS setup in every other way that I'm aware.
-- In my HASS Energy display, the upper right area shows, "Solar", "Grid", and "Home".
There is nothing shown about the battery. I would expect to see the battery represented as a fourth entity with Solar, Grid, and Home. And then also I'd expect to see represented the flows of power into and out of the battery and to see those values tracked and summed in the log and analysis along with the rest.

So why doesn't this battery subsystem have any presence in the Sunpower display in HASS?
Is it simply a question of configuration? If so, I must be missing it. TIA

My Device list: from http://10.10.10.123//cgi-bin/dl_cgi?Command=DeviceList

{
"devices": [{
"DETAIL": "detail",
"STATE": "working",
"STATEDESCR": "Working",
"SERIAL": "ZT204685000549A0474",
"MODEL": "PV Supervisor PVS6",
"HWVER": "6.02",
"SWVER": "2022.11, Build 61204",
"DEVICE_TYPE": "PVS",
"DATATIME": "2022,12,10,21,55,00",
"dl_err_count": "0",
"dl_comm_err": "420",
"dl_skipped_scans": "0",
"dl_scan_time": "128",
"dl_untransmitted": "63045",
"dl_uptime": "356223",
"dl_cpu_load": "1.62",
"dl_mem_used": "121344",
"dl_flash_avail": "98463",
"panid": 2591217827,
"CURTIME": "2022,12,10,21,59,45"
}, {
"ISDETAIL": true,
"SERIAL": "SY2108850-005505.00448",
"TYPE": "HUB+",
"STATE": "error",
"STATEDESCR": "Error",
"MODEL": "SunPower MIDC",
"DESCR": "HUB+ SY2108850-005505.00448",
"DEVICE_TYPE": "HUB+",
"hw_version": "1.5.0",
"interface": "ttymxc5",
"slave": 220,
"SWVER": "0.7.18",
"PORT": "P0, Modbus, Slave 220",
"origin": "data_logger",
"OPERATION": "noop",
"CURTIME": "2022,12,10,21,59,46"
}, {
"ISDETAIL": true,
"SERIAL": "SY2121534552D1805",
"TYPE": "EQUINOX-MIO",
"STATE": "working",
"STATEDESCR": "Working",
"MODEL": "SunPower MIO",
"DESCR": "ESS Hub SY2121534552D1805",
"DEVICE_TYPE": "ESS Hub",
"hw_version": "0.4.0",
"interface": "ttymxc5",
"parent": 11,
"slave": 221,
"SWVER": "0.7.9",
"PORT": "P0, Modbus, Slave 221",
"DATATIME": "2022,12,10,21,59,41",
"t_degc": "27",
"humidity": "26",
"v_dcdc_spply_v": "11.397",
"v_spply_v": "11.331",
"v_gateway_v": "11.32",
"fan_actv_fl": "0",
"fw_error": "0",
"event_history": "2112",
"origin": "data_logger",
"OPERATION": "noop",
"PARENT": "00001C39A01C_M0012205101B5B_M0012205101B63",
"CURTIME": "2022,12,10,21,59,46"
}, {
"ISDETAIL": true,
"SERIAL": "SY2111536749A0867",
"TYPE": "PV-DISCONNECT",
"STATE": "working",
"STATEDESCR": "Working",
"MODEL": "SunPower PV Disconnect Relay",
"DESCR": "PV Disconnect SY2111536749A0867",
"DEVICE_TYPE": "PV Disconnect",
"hw_version": "0.2.0",
"interface": "ttymxc5",
"slave": 230,
"SWVER": "0.2.10",
"PORT": "P0, Modbus, Slave 230",
"DATATIME": "2022,12,10,21,59,44",
"event_history": "32",
"fw_error": "0",
"relay_mode": "0",
"relay1_state": "1",
"relay2_state": "1",
"relay1_error": "0",
"relay2_error": "0",
"v1n_grid_v": "121",
"v2n_grid_v": "121.3",
"v1n_pv_v": "121.3",
"v2n_pv_v": "121.3",
"origin": "data_logger",
"OPERATION": "noop",
"CURTIME": "2022,12,10,21,59,46"
}, {
"ISDETAIL": true,
"SERIAL": "BC2103004370",
"TYPE": "GATEWAY",
"STATE": "error",
"STATEDESCR": "Error",
"MODEL": "SchneiderElectric-ConextGateway",
"DESCR": "Gateway BC2103004370",
"DEVICE_TYPE": "Gateway",
"interface": "sunspec",
"mac_address": "40:2e:71:db:82:c",
"slave": 1,
"SWVER": "V1",
"PORT": "P0, SunSpec, Slave 1",
"origin": "data_logger",
"OPERATION": "noop",
"CURTIME": "2022,12,10,21,59,47"
}, {
"ISDETAIL": true,
"SERIAL": "00001C39A01C",
"TYPE": "SCHNEIDER-XWPRO",
"STATE": "error",
"STATEDESCR": "Error",
"MODEL": "SchneiderElectric-XW6848-21",
"DESCR": "Storage Inverter 00001C39A01C",
"DEVICE_TYPE": "Storage Inverter",
"interface": "sunspec",
"mac_address": "40:2e:71:db:82:c",
"parent": 11,
"slave": 10,
"SWVER": "V1",
"PORT": "P0, SunSpec, Slave 10",
"origin": "data_logger",
"OPERATION": "noop",
"PARENT": "00001C39A01C_M0012205101B5B_M0012205101B63",
"CURTIME": "2022,12,10,21,59,47"
}, {
"ISDETAIL": true,
"SERIAL": "BC210300437033751040",
"TYPE": "EQUINOX-BMS",
"STATE": "error",
"STATEDESCR": "Error",
"MODEL": "SchneiderElectric-SP1",
"DESCR": "ESS BMS BC210300437033751040",
"DEVICE_TYPE": "ESS BMS",
"interface": "sunspec",
"mac_address": "40:2e:71:db:82:c",
"parent": 11,
"slave": 230,
"PORT": "P0, SunSpec, Slave 230",
"origin": "data_logger",
"OPERATION": "noop",
"PARENT": "00001C39A01C_M0012205101B5B_M0012205101B63",
"CURTIME": "2022,12,10,21,59,47"
}, {
"ISDETAIL": true,
"SERIAL": "PVS6M20460474p",
"TYPE": "PVS5-METER-P",
"STATE": "working",
"STATEDESCR": "Working",
"MODEL": "PVS6M0400p",
"DESCR": "Power Meter PVS6M20460474p",
"DEVICE_TYPE": "Power Meter",
"interface": "mime",
"production_subtype_enum": "GROSS_PRODUCTION_SITE",
"subtype": "GROSS_PRODUCTION_SITE",
"SWVER": "3000",
"PORT": "",
"DATATIME": "2022,12,10,21,59,47",
"ct_scl_fctr": "50",
"net_ltea_3phsum_kwh": "17707.3499",
"p_3phsum_kw": "0.2765",
"q_3phsum_kvar": "0.3223",
"s_3phsum_kva": "0.444",
"tot_pf_rto": "0.6412",
"freq_hz": "60",
"i_a": "1.8338",
"v12_v": "242.1286",
"CAL0": "50",
"origin": "data_logger",
"OPERATION": "noop",
"CURTIME": "2022,12,10,21,59,47"
}, {
"ISDETAIL": true,
"SERIAL": "PVS6M20460474c",
"TYPE": "PVS5-METER-C",
"STATE": "working",
"STATEDESCR": "Working",
"MODEL": "PVS6M0400c",
"DESCR": "Power Meter PVS6M20460474c",
"DEVICE_TYPE": "Power Meter",
"interface": "mime",
"consumption_subtype_enum": "NET_CONSUMPTION_LOADSIDE",
"subtype": "NET_CONSUMPTION_LOADSIDE",
"SWVER": "3000",
"PORT": "",
"DATATIME": "2022,12,10,21,59,47",
"ct_scl_fctr": "100",
"net_ltea_3phsum_kwh": "-3401.58",
"p_3phsum_kw": "9.9008",
"q_3phsum_kvar": "-0.5945",
"s_3phsum_kva": "10.0246",
"tot_pf_rto": "0.9831",
"freq_hz": "60",
"i1_a": "42.5075",
"i2_a": "40.2974",
"v1n_v": "121.0395",
"v2n_v": "121.0892",
"v12_v": "242.1286",
"p1_kw": "5.0997",
"p2_kw": "4.8011",
"neg_ltea_3phsum_kwh": "11443.84",
"pos_ltea_3phsum_kwh": "8042.3",
"CAL0": "100",
"origin": "data_logger",
"OPERATION": "noop",
"CURTIME": "2022,12,10,21,59,48"
}, {
"ISDETAIL": true,
"SERIAL": "M0012205101B5B",
"TYPE": "BATTERY",
"STATE": "error",
"STATEDESCR": "Error",
"MODEL": "POWERAMP-Komodo 1.2",
"DESCR": "Battery M0012205101B5B",
"DEVICE_TYPE": "Battery",
"hw_version": "4.33",
"interface": "none",
"parent": 11,
"SWVER": "2.8",
"PORT": "P0, None, Slave -1",
"origin": "data_logger",
"OPERATION": "noop",
"PARENT": "00001C39A01C_M0012205101B5B_M0012205101B63",
"CURTIME": "2022,12,10,21,59,48"
}, {
"ISDETAIL": true,
"SERIAL": "M0012205101B63",
"TYPE": "BATTERY",
"STATE": "error",
"STATEDESCR": "Error",
"MODEL": "POWERAMP-Komodo 1.2",
"DESCR": "Battery M0012205101B63",
"DEVICE_TYPE": "Battery",
"hw_version": "4.33",
"interface": "none",
"parent": 11,
"SWVER": "2.8",
"PORT": "P0, None, Slave -1",
"origin": "data_logger",
"OPERATION": "noop",
"PARENT": "00001C39A01C_M0012205101B5B_M0012205101B63",
"CURTIME": "2022,12,10,21,59,48"
}, {
"ISDETAIL": true,
"SERIAL": "00001C39A01C_M0012205101B5B_M0012205101B63",
"TYPE": "EQUINOX-ESS",
"STATE": "error",
"STATEDESCR": "Error",
"MODEL": "SPWR-Equinox-model",
"DESCR": "Energy Storage System 00001C39A01C_M0012205101B5B_M0012205101B6",
"DEVICE_TYPE": "Energy Storage System",
"hw_version": "0",
"interface": "none",
"SWVER": "0",
"PORT": "P0, Parent, Slave -1",
"origin": "data_logger",
"OPERATION": "noop",
"CURTIME": "2022,12,10,21,59,49"
}, {
"ISDETAIL": true,
"SERIAL": "E00121937061927",
"TYPE": "SOLARBRIDGE",
"STATE": "working",
"STATEDESCR": "Working",
"MODEL": "AC_Module_Type_G",
"DESCR": "Inverter E00121937061927",
"DEVICE_TYPE": "Inverter",
"hw_version": "4400",
"interface": "mime",
"PANEL": "SPR-A420-G-AC",
"slave": 0,
"SWVER": "4.28.7",
"PORT": "",
"MOD_SN": "",
"NMPLT_SKU": "",
"DATATIME": "2022,12,10,21,59,41",
"ltea_3phsum_kwh": "827.0713",
"p_3phsum_kw": "0.0153",
"vln_3phavg_v": "242.93",
"i_3phsum_a": "0.06",
"p_mppt1_kw": "0.0161",
"v_mppt1_v": "37.88",
"i_mppt1_a": "0.42",
"t_htsnk_degc": "16",
"freq_hz": "60",
"stat_ind": "0",
"origin": "data_logger",
"OPERATION": "noop",
"CURTIME": "2022,12,10,21,59,49"
}, {
"ISDETAIL": true,
"SERIAL": "E00121937056022",
"TYPE": "SOLARBRIDGE",
"STATE": "working",
"STATEDESCR": "Working",
"MODEL": "AC_Module_Type_G",
"DESCR": "Inverter E00121937056022",
"DEVICE_TYPE": "Inverter",
"hw_version": "4400",
"interface": "mime",
"PANEL": "SPR-A420-G-AC",
"slave": 0,
"SWVER": "4.28.7",
"PORT": "",
"MOD_SN": "",
"NMPLT_SKU": "",
"DATATIME": "2022,12,10,21,59,41",
"ltea_3phsum_kwh": "777.8371",
"p_3phsum_kw": "0.0119",
"vln_3phavg_v": "243.45",
"i_3phsum_a": "0.04",
"p_mppt1_kw": "0.0125",
"v_mppt1_v": "30.36",
"i_mppt1_a": "0.41",
"t_htsnk_degc": "16",
"freq_hz": "60.01",
"stat_ind": "0",
"origin": "data_logger",
"OPERATION": "noop",
"CURTIME": "2022,12,10,21,59,49"
}, {
"ISDETAIL": true,
"SERIAL": "E00121920109392",
"TYPE": "SOLARBRIDGE",
"STATE": "working",
"STATEDESCR": "Working",
"MODEL": "AC_Module_Type_G",
"DESCR": "Inverter E00121920109392",
"DEVICE_TYPE": "Inverter",
"hw_version": "4400",
"interface": "mime",
"PANEL": "SPR-A420-G-AC",
"slave": 0,
"SWVER": "4.28.7",
"PORT": "",
"MOD_SN": "",
"NMPLT_SKU": "",
"DATATIME": "2022,12,10,21,59,41",
"ltea_3phsum_kwh": "783.3916",
"p_3phsum_kw": "0.0122",
"vln_3phavg_v": "242.68",
"i_3phsum_a": "0.05",
"p_mppt1_kw": "0.0157",
"v_mppt1_v": "36.04",
"i_mppt1_a": "0.43",
"t_htsnk_degc": "16",
"freq_hz": "60.01",
"stat_ind": "0",
"origin": "data_logger",
"OPERATION": "noop",
"CURTIME": "2022,12,10,21,59,49"
}, {
"ISDETAIL": true,
"SERIAL": "E00121937058632",
"TYPE": "SOLARBRIDGE",
"STATE": "working",
"STATEDESCR": "Working",
"MODEL": "AC_Module_Type_G",
"DESCR": "Inverter E00121937058632",
"DEVICE_TYPE": "Inverter",
"hw_version": "4400",
"interface": "mime",
"PANEL": "SPR-A420-G-AC",
"slave": 0,
"SWVER": "4.28.7",
"PORT": "",
"MOD_SN": "",
"NMPLT_SKU": "",
"DATATIME": "2022,12,10,21,59,41",
"ltea_3phsum_kwh": "752.1986",
"p_3phsum_kw": "0.0122",
"vln_3phavg_v": "243",
"i_3phsum_a": "0.05",
"p_mppt1_kw": "0.0157",
"v_mppt1_v": "36.34",
"i_mppt1_a": "0.43",
"t_htsnk_degc": "16",
"freq_hz": "60.01",
"stat_ind": "0",
"origin": "data_logger",
"OPERATION": "noop",
"CURTIME": "2022,12,10,21,59,49"
}, {
"ISDETAIL": true,
"SERIAL": "E00121942063605",
"TYPE": "SOLARBRIDGE",
"STATE": "working",
"STATEDESCR": "Working",
"MODEL": "AC_Module_Type_G",
"DESCR": "Inverter E00121942063605",
"DEVICE_TYPE": "Inverter",
"hw_version": "4400",
"interface": "mime",
"PANEL": "SPR-A420-G-AC",
"slave": 0,
"SWVER": "4.28.7",
"PORT": "",
"MOD_SN": "",
"NMPLT_SKU": "",
"DATATIME": "2022,12,10,21,59,41",
"ltea_3phsum_kwh": "768.5711",
"p_3phsum_kw": "0.0139",
"vln_3phavg_v": "242.72",
"i_3phsum_a": "0.05",
"p_mppt1_kw": "0.0156",
"v_mppt1_v": "36.26",
"i_mppt1_a": "0.43",
"t_htsnk_degc": "17",
"freq_hz": "60.01",
"stat_ind": "0",
"origin": "data_logger",
"OPERATION": "noop",
"CURTIME": "2022,12,10,21,59,50"
}, {
"ISDETAIL": true,
"SERIAL": "E00121937057724",
"TYPE": "SOLARBRIDGE",
"STATE": "working",
"STATEDESCR": "Working",
"MODEL": "AC_Module_Type_G",
"DESCR": "Inverter E00121937057724",
"DEVICE_TYPE": "Inverter",
"hw_version": "4400",
"interface": "mime",
"PANEL": "SPR-A420-G-AC",
"slave": 0,
"SWVER": "4.28.7",
"PORT": "",
"MOD_SN": "",
"NMPLT_SKU": "",
"DATATIME": "2022,12,10,21,59,41",
"ltea_3phsum_kwh": "787.0479",
"p_3phsum_kw": "0.0129",
"vln_3phavg_v": "243.51",
"i_3phsum_a": "0.05",
"p_mppt1_kw": "0.0152",
"v_mppt1_v": "36.46",
"i_mppt1_a": "0.41",
"t_htsnk_degc": "16",
"freq_hz": "60.01",
"stat_ind": "0",
"origin": "data_logger",
"OPERATION": "noop",
"CURTIME": "2022,12,10,21,59,50"
}, {
"ISDETAIL": true,
"SERIAL": "E00121937061965",
"TYPE": "SOLARBRIDGE",
"STATE": "working",
"STATEDESCR": "Working",
"MODEL": "AC_Module_Type_G",
"DESCR": "Inverter E00121937061965",
"DEVICE_TYPE": "Inverter",
"hw_version": "4400",
"interface": "mime",
"PANEL": "SPR-A420-G-AC",
"slave": 0,
"SWVER": "4.28.7",
"PORT": "",
"MOD_SN": "",
"NMPLT_SKU": "",
"DATATIME": "2022,12,10,21,57,26",
"ltea_3phsum_kwh": "789.4494",
"p_3phsum_kw": "0.0198",
"vln_3phavg_v": "242.98",
"i_3phsum_a": "0.08",
"p_mppt1_kw": "0.0188",
"v_mppt1_v": "37.45",
"i_mppt1_a": "0.5",
"t_htsnk_degc": "16",
"freq_hz": "59.98",
"stat_ind": "0",
"origin": "data_logger",
"OPERATION": "noop",
"CURTIME": "2022,12,10,21,59,50"
}, {
"ISDETAIL": true,
"SERIAL": "E00121942035973",
"TYPE": "SOLARBRIDGE",
"STATE": "working",
"STATEDESCR": "Working",
"MODEL": "AC_Module_Type_G",
"DESCR": "Inverter E00121942035973",
"DEVICE_TYPE": "Inverter",
"hw_version": "4400",
"interface": "mime",
"PANEL": "SPR-A420-G-AC",
"slave": 0,
"SWVER": "4.28.7",
"PORT": "",
"MOD_SN": "",
"NMPLT_SKU": "",
"DATATIME": "2022,12,10,21,57,26",
"ltea_3phsum_kwh": "756.6602",
"p_3phsum_kw": "0.0148",
"vln_3phavg_v": "242.12",
"i_3phsum_a": "0.06",
"p_mppt1_kw": "0.0178",
"v_mppt1_v": "36.18",
"i_mppt1_a": "0.49",
"t_htsnk_degc": "16",
"freq_hz": "59.97",
"stat_ind": "0",
"origin": "data_logger",
"OPERATION": "noop",
"CURTIME": "2022,12,10,21,59,50"
}, {
"ISDETAIL": true,
"SERIAL": "E00121942033449",
"TYPE": "SOLARBRIDGE",
"STATE": "working",
"STATEDESCR": "Working",
"MODEL": "AC_Module_Type_G",
"DESCR": "Inverter E00121942033449",
"DEVICE_TYPE": "Inverter",
"hw_version": "4400",
"interface": "mime",
"PANEL": "SPR-A420-G-AC",
"slave": 0,
"SWVER": "4.28.7",
"PORT": "",
"MOD_SN": "",
"NMPLT_SKU": "",
"DATATIME": "2022,12,10,21,57,26",
"ltea_3phsum_kwh": "751.7173",
"p_3phsum_kw": "0.0155",
"vln_3phavg_v": "242.54",
"i_3phsum_a": "0.06",
"p_mppt1_kw": "0.0186",
"v_mppt1_v": "37.58",
"i_mppt1_a": "0.49",
"t_htsnk_degc": "16",
"freq_hz": "59.98",
"stat_ind": "0",
"origin": "data_logger",
"OPERATION": "noop",
"CURTIME": "2022,12,10,21,59,50"
}, {
"ISDETAIL": true,
"SERIAL": "E00121938067613",
"TYPE": "SOLARBRIDGE",
"STATE": "working",
"STATEDESCR": "Working",
"MODEL": "AC_Module_Type_G",
"DESCR": "Inverter E00121938067613",
"DEVICE_TYPE": "Inverter",
"hw_version": "4400",
"interface": "mime",
"PANEL": "SPR-A420-G-AC",
"slave": 0,
"SWVER": "4.28.7",
"PORT": "",
"MOD_SN": "",
"NMPLT_SKU": "",
"DATATIME": "2022,12,10,21,57,26",
"ltea_3phsum_kwh": "757.4646",
"p_3phsum_kw": "0.0132",
"vln_3phavg_v": "242.96",
"i_3phsum_a": "0.05",
"p_mppt1_kw": "0.0188",
"v_mppt1_v": "37.93",
"i_mppt1_a": "0.49",
"t_htsnk_degc": "16",
"freq_hz": "59.98",
"stat_ind": "0",
"origin": "data_logger",
"OPERATION": "noop",
"CURTIME": "2022,12,10,21,59,51"
}, {
"ISDETAIL": true,
"SERIAL": "E00121938076424",
"TYPE": "SOLARBRIDGE",
"STATE": "working",
"STATEDESCR": "Working",
"MODEL": "AC_Module_Type_G",
"DESCR": "Inverter E00121938076424",
"DEVICE_TYPE": "Inverter",
"hw_version": "4400",
"interface": "mime",
"PANEL": "SPR-A420-G-AC",
"slave": 0,
"SWVER": "4.28.7",
"PORT": "",
"MOD_SN": "",
"NMPLT_SKU": "",
"DATATIME": "2022,12,10,21,57,26",
"ltea_3phsum_kwh": "754.3747",
"p_3phsum_kw": "0.0127",
"vln_3phavg_v": "242.42",
"i_3phsum_a": "0.05",
"p_mppt1_kw": "0.0163",
"v_mppt1_v": "32.83",
"i_mppt1_a": "0.49",
"t_htsnk_degc": "17",
"freq_hz": "59.97",
"stat_ind": "0",
"origin": "data_logger",
"OPERATION": "noop",
"CURTIME": "2022,12,10,21,59,51"
}, {
"ISDETAIL": true,
"SERIAL": "E00121937085423",
"TYPE": "SOLARBRIDGE",
"STATE": "working",
"STATEDESCR": "Working",
"MODEL": "AC_Module_Type_G",
"DESCR": "Inverter E00121937085423",
"DEVICE_TYPE": "Inverter",
"hw_version": "4400",
"interface": "mime",
"PANEL": "SPR-A420-G-AC",
"slave": 0,
"SWVER": "4.28.7",
"PORT": "",
"MOD_SN": "",
"NMPLT_SKU": "",
"DATATIME": "2022,12,10,21,57,26",
"ltea_3phsum_kwh": "768.3254",
"p_3phsum_kw": "0.0182",
"vln_3phavg_v": "242.64",
"i_3phsum_a": "0.07",
"p_mppt1_kw": "0.0176",
"v_mppt1_v": "36.84",
"i_mppt1_a": "0.47",
"t_htsnk_degc": "17",
"freq_hz": "59.97",
"stat_ind": "0",
"origin": "data_logger",
"OPERATION": "noop",
"CURTIME": "2022,12,10,21,59,51"
}, {
"ISDETAIL": true,
"SERIAL": "E00121938051452",
"TYPE": "SOLARBRIDGE",
"STATE": "working",
"STATEDESCR": "Working",
"MODEL": "AC_Module_Type_G",
"DESCR": "Inverter E00121938051452",
"DEVICE_TYPE": "Inverter",
"hw_version": "4400",
"interface": "mime",
"PANEL": "SPR-A420-G-AC",
"slave": 0,
"SWVER": "4.28.7",
"PORT": "",
"MOD_SN": "",
"NMPLT_SKU": "",
"DATATIME": "2022,12,10,21,57,26",
"ltea_3phsum_kwh": "757.8691",
"p_3phsum_kw": "0.0135",
"vln_3phavg_v": "242.37",
"i_3phsum_a": "0.05",
"p_mppt1_kw": "0.018",
"v_mppt1_v": "37.62",
"i_mppt1_a": "0.48",
"t_htsnk_degc": "17",
"freq_hz": "59.97",
"stat_ind": "0",
"origin": "data_logger",
"OPERATION": "noop",
"CURTIME": "2022,12,10,21,59,51"
}, {
"ISDETAIL": true,
"SERIAL": "E00121942035409",
"TYPE": "SOLARBRIDGE",
"STATE": "working",
"STATEDESCR": "Working",
"MODEL": "AC_Module_Type_G",
"DESCR": "Inverter E00121942035409",
"DEVICE_TYPE": "Inverter",
"hw_version": "4400",
"interface": "mime",
"PANEL": "SPR-A420-G-AC",
"slave": 0,
"SWVER": "4.28.7",
"PORT": "",
"MOD_SN": "",
"NMPLT_SKU": "",
"DATATIME": "2022,12,10,21,57,41",
"ltea_3phsum_kwh": "767.2592",
"p_3phsum_kw": "0.0121",
"vln_3phavg_v": "242.61",
"i_3phsum_a": "0.04",
"p_mppt1_kw": "0.0171",
"v_mppt1_v": "35.59",
"i_mppt1_a": "0.48",
"t_htsnk_degc": "17",
"freq_hz": "59.97",
"stat_ind": "0",
"origin": "data_logger",
"OPERATION": "noop",
"CURTIME": "2022,12,10,21,59,51"
}, {
"ISDETAIL": true,
"SERIAL": "E00121942038546",
"TYPE": "SOLARBRIDGE",
"STATE": "working",
"STATEDESCR": "Working",
"MODEL": "AC_Module_Type_G",
"DESCR": "Inverter E00121942038546",
"DEVICE_TYPE": "Inverter",
"hw_version": "4400",
"interface": "mime",
"PANEL": "SPR-A420-G-AC",
"slave": 0,
"SWVER": "4.28.7",
"PORT": "",
"MOD_SN": "",
"NMPLT_SKU": "",
"DATATIME": "2022,12,10,21,57,41",
"ltea_3phsum_kwh": "783.6173",
"p_3phsum_kw": "0.0146",
"vln_3phavg_v": "243",
"i_3phsum_a": "0.06",
"p_mppt1_kw": "0.018",
"v_mppt1_v": "36.24",
"i_mppt1_a": "0.49",
"t_htsnk_degc": "17",
"freq_hz": "59.98",
"stat_ind": "0",
"origin": "data_logger",
"OPERATION": "noop",
"CURTIME": "2022,12,10,21,59,52"
}, {
"ISDETAIL": true,
"SERIAL": "E00121938075080",
"TYPE": "SOLARBRIDGE",
"STATE": "working",
"STATEDESCR": "Working",
"MODEL": "AC_Module_Type_G",
"DESCR": "Inverter E00121938075080",
"DEVICE_TYPE": "Inverter",
"hw_version": "4400",
"interface": "mime",
"PANEL": "SPR-A420-G-AC",
"slave": 0,
"SWVER": "4.28.7",
"PORT": "",
"MOD_SN": "",
"NMPLT_SKU": "",
"DATATIME": "2022,12,10,21,57,41",
"ltea_3phsum_kwh": "773.3062",
"p_3phsum_kw": "0.0181",
"vln_3phavg_v": "242.76",
"i_3phsum_a": "0.07",
"p_mppt1_kw": "0.0178",
"v_mppt1_v": "38.19",
"i_mppt1_a": "0.46",
"t_htsnk_degc": "17",
"freq_hz": "59.97",
"stat_ind": "0",
"origin": "data_logger",
"OPERATION": "noop",
"CURTIME": "2022,12,10,21,59,52"
}, {
"ISDETAIL": true,
"SERIAL": "E00121942052353",
"TYPE": "SOLARBRIDGE",
"STATE": "working",
"STATEDESCR": "Working",
"MODEL": "AC_Module_Type_G",
"DESCR": "Inverter E00121942052353",
"DEVICE_TYPE": "Inverter",
"hw_version": "4400",
"interface": "mime",
"PANEL": "SPR-A420-G-AC",
"slave": 0,
"SWVER": "4.28.7",
"PORT": "",
"MOD_SN": "",
"NMPLT_SKU": "",
"DATATIME": "2022,12,10,21,57,41",
"ltea_3phsum_kwh": "779.4812",
"p_3phsum_kw": "0.0134",
"vln_3phavg_v": "242.28",
"i_3phsum_a": "0.05",
"p_mppt1_kw": "0.0184",
"v_mppt1_v": "37.15",
"i_mppt1_a": "0.49",
"t_htsnk_degc": "17",
"freq_hz": "59.97",
"stat_ind": "0",
"origin": "data_logger",
"OPERATION": "noop",
"CURTIME": "2022,12,10,21,59,52"
}, {
"ISDETAIL": true,
"SERIAL": "E00121938075033",
"TYPE": "SOLARBRIDGE",
"STATE": "working",
"STATEDESCR": "Working",
"MODEL": "AC_Module_Type_G",
"DESCR": "Inverter E00121938075033",
"DEVICE_TYPE": "Inverter",
"hw_version": "4400",
"interface": "mime",
"PANEL": "SPR-A420-G-AC",
"slave": 0,
"SWVER": "4.28.7",
"PORT": "",
"MOD_SN": "",
"NMPLT_SKU": "",
"DATATIME": "2022,12,10,21,57,41",
"ltea_3phsum_kwh": "745.9672",
"p_3phsum_kw": "0.0124",
"vln_3phavg_v": "243.53",
"i_3phsum_a": "0.05",
"p_mppt1_kw": "0.0175",
"v_mppt1_v": "36.67",
"i_mppt1_a": "0.47",
"t_htsnk_degc": "16",
"freq_hz": "59.97",
"stat_ind": "0",
"origin": "data_logger",
"OPERATION": "noop",
"CURTIME": "2022,12,10,21,59,52"
}, {
"ISDETAIL": true,
"SERIAL": "E00121938076113",
"TYPE": "SOLARBRIDGE",
"STATE": "working",
"STATEDESCR": "Working",
"MODEL": "AC_Module_Type_G",
"DESCR": "Inverter E00121938076113",
"DEVICE_TYPE": "Inverter",
"hw_version": "4400",
"interface": "mime",
"PANEL": "SPR-A420-G-AC",
"slave": 0,
"SWVER": "4.28.7",
"PORT": "",
"MOD_SN": "",
"NMPLT_SKU": "",
"DATATIME": "2022,12,10,21,57,41",
"ltea_3phsum_kwh": "706.6156",
"p_3phsum_kw": "0.0135",
"vln_3phavg_v": "242.96",
"i_3phsum_a": "0.05",
"p_mppt1_kw": "0.0172",
"v_mppt1_v": "35.77",
"i_mppt1_a": "0.48",
"t_htsnk_degc": "16",
"freq_hz": "59.97",
"stat_ind": "0",
"origin": "data_logger",
"OPERATION": "noop",
"CURTIME": "2022,12,10,21,59,53"
}, {
"ISDETAIL": true,
"SERIAL": "E00121937064782",
"TYPE": "SOLARBRIDGE",
"STATE": "working",
"STATEDESCR": "Working",
"MODEL": "AC_Module_Type_G",
"DESCR": "Inverter E00121937064782",
"DEVICE_TYPE": "Inverter",
"hw_version": "4400",
"interface": "mime",
"PANEL": "SPR-A420-G-AC",
"slave": 0,
"SWVER": "4.28.7",
"PORT": "",
"MOD_SN": "",
"NMPLT_SKU": "",
"DATATIME": "2022,12,10,21,57,41",
"ltea_3phsum_kwh": "770.5236",
"p_3phsum_kw": "0.0163",
"vln_3phavg_v": "243.36",
"i_3phsum_a": "0.06",
"p_mppt1_kw": "0.0183",
"v_mppt1_v": "37.58",
"i_mppt1_a": "0.48",
"t_htsnk_degc": "16",
"freq_hz": "59.97",
"stat_ind": "0",
"origin": "data_logger",
"OPERATION": "noop",
"CURTIME": "2022,12,10,21,59,53"
}, {
"ISDETAIL": true,
"SERIAL": "E00121942034160",
"TYPE": "SOLARBRIDGE",
"STATE": "working",
"STATEDESCR": "Working",
"MODEL": "AC_Module_Type_G",
"DESCR": "Inverter E00121942034160",
"DEVICE_TYPE": "Inverter",
"hw_version": "4400",
"interface": "mime",
"PANEL": "SPR-A420-G-AC",
"slave": 0,
"SWVER": "4.28.7",
"PORT": "",
"MOD_SN": "",
"NMPLT_SKU": "",
"DATATIME": "2022,12,10,21,57,41",
"ltea_3phsum_kwh": "691.4557",
"p_3phsum_kw": "0.0127",
"vln_3phavg_v": "243.54",
"i_3phsum_a": "0.05",
"p_mppt1_kw": "0.0172",
"v_mppt1_v": "37.76",
"i_mppt1_a": "0.45",
"t_htsnk_degc": "17",
"freq_hz": "59.97",
"stat_ind": "0",
"origin": "data_logger",
"OPERATION": "noop",
"CURTIME": "2022,12,10,21,59,53"
}, {
"ISDETAIL": true,
"SERIAL": "E00121937102286",
"TYPE": "SOLARBRIDGE",
"STATE": "working",
"STATEDESCR": "Working",
"MODEL": "AC_Module_Type_G",
"DESCR": "Inverter E00121937102286",
"DEVICE_TYPE": "Inverter",
"hw_version": "4400",
"interface": "mime",
"PANEL": "SPR-A420-G-AC",
"slave": 0,
"SWVER": "4.28.7",
"PORT": "",
"MOD_SN": "",
"NMPLT_SKU": "",
"DATATIME": "2022,12,10,21,57,41",
"ltea_3phsum_kwh": "762.0617",
"p_3phsum_kw": "0.0139",
"vln_3phavg_v": "242.98",
"i_3phsum_a": "0.05",
"p_mppt1_kw": "0.0187",
"v_mppt1_v": "37.76",
"i_mppt1_a": "0.49",
"t_htsnk_degc": "16",
"freq_hz": "59.97",
"stat_ind": "0",
"origin": "data_logger",
"OPERATION": "noop",
"CURTIME": "2022,12,10,21,59,53"
}, {
"ISDETAIL": true,
"SERIAL": "E00121942033387",
"TYPE": "SOLARBRIDGE",
"STATE": "working",
"STATEDESCR": "Working",
"MODEL": "AC_Module_Type_G",
"DESCR": "Inverter E00121942033387",
"DEVICE_TYPE": "Inverter",
"hw_version": "4400",
"interface": "mime",
"PANEL": "SPR-A420-G-AC",
"slave": 0,
"SWVER": "4.28.7",
"PORT": "",
"MOD_SN": "",
"NMPLT_SKU": "",
"DATATIME": "2022,12,10,21,57,41",
"ltea_3phsum_kwh": "734.556",
"p_3phsum_kw": "0.0133",
"vln_3phavg_v": "243.68",
"i_3phsum_a": "0.05",
"p_mppt1_kw": "0.0183",
"v_mppt1_v": "36.18",
"i_mppt1_a": "0.5",
"t_htsnk_degc": "17",
"freq_hz": "59.97",
"stat_ind": "0",
"origin": "data_logger",
"OPERATION": "noop",
"CURTIME": "2022,12,10,21,59,53"
}],
"result": "succeed"
}

ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved

Recurrring instances of this error in the logs following integration installation.

2021-12-10 08:28:45 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 134, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 265, in _async_refresh
    update_callback()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 325, in _handle_coordinator_update
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 486, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 519, in _async_write_ha_state
    state = self._stringify_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 492, in _stringify_state
    if (state := self.state) is None:
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 273, in state
    value = self.native_value
  File "/config/custom_components/sunpower/sensor.py", line 213, in native_value
    return self.coordinator.data[METER_DEVICE_TYPE][self.base_unique_id][self._field]
KeyError: 'Power Meter'

Power meter not yet providing data:
power

HA 2021.11.5, HAOS 6.6, Supervisor 2021.10.8

KeyError: 'ltea_3phsum_kwh'

I recently updated to the 0.11 release from 0.10 and am receiving this error.
This may be related to not currently generating power.
Running HA core-2021.10.3

Logger: homeassistant
Source: custom_components/sunpower/sensor.py:263
Integration: SunPower (documentation, issues)
First occurred: 3:59:04 AM (111 occurrences)
Last logged: 9:39:05 PM
Error doing job: Task exception was never retrieved

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 134, in _handle_refresh_interval
await self._async_refresh(log_failures=True, scheduled=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 265, in _async_refresh
update_callback()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 325, in _handle_coordinator_update
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 456, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 489, in _async_write_ha_state
state = self._stringify_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 462, in _stringify_state
if (state := self.state) is None:
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 273, in state
value = self.native_value
File "/config/custom_components/sunpower/sensor.py", line 263, in native_value
return self.coordinator.data[INVERTER_DEVICE_TYPE][self.base_unique_id][self._field]
KeyError: 'ltea_3phsum_kwh'

Integration trace back due to missing 'i1_a'

My Sunpower HASS integration just started failing with the following error.

2023-05-10 11:25:35.565 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh
    self.async_update_listeners()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners
    update_callback()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state
    state = self._stringify_state(available)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state
    if (state := self.state) is None:
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 469, in state
    value = self.native_value
  File "/config/custom_components/sunpower/sensor.py", line 213, in native_value
    return self.coordinator.data[METER_DEVICE_TYPE][self.base_unique_id][self._field]
KeyError: 'i1_a'

Unable to add sunvault to 'home battery storage' section

I created the Reimann sum helpers, but I am unable to select them in the energy dashboard. I am not able to find the sensors in the drop down, and if I copy and paste them in here, I am not able to save them.

Can't save:
image

Here is what I have configured:
image

Here is how i configured the riemann sensor:
image

Is there something else I need to do for the battery integration to work on the energy panel?

Thanks

Solar production not working with Energy panel with version 0.11

Hi,

I have a SunPower system with a PVS5. I installed hass-sunpower 0.11 via HACS over core-2021.12.7.

The problem is that "Power Meter PVS5M690930p Lifetime Power" seems to be always zero.

Looking at the SunPower console it looks like they have the correct data for the Total production, From grid, and each inverter

image

The json response from the DeviceList command seems to always show 0 for the device with SERIAL=PVS5M690930p.

           }, {
                    "ISDETAIL":     true,
                    "SERIAL":       "PVS5M690930p",
                    "TYPE": "PVS5-METER-P",
                    "STATE":        "working",
                    "STATEDESCR":   "Working",
                    "MODEL":        "PVS5M0400p",
                    "DESCR":        "Power Meter PVS5M690930p",
                    "DEVICE_TYPE":  "Power Meter",
                    "SWVER":        "17",
                    "PORT": "",
                    "DATATIME":     "2022,01,02,18,51,09",
                    "ct_scl_fctr":  "50",
                    "net_ltea_3phsum_kwh":  "0.08",
                    "p_3phsum_kw":  "0",
                    "q_3phsum_kvar":        "0",
                    "s_3phsum_kva": "0",
                    "tot_pf_rto":   "1",
                    "freq_hz":      "60",
                    "CAL0": "50",
                    "origin":       "data_logger",
                    "OPERATION":    "noop",
                    "CURTIME":      "2022,01,02,18,51,21"
            }, {

Is this a problem with my SunPower installation?

Thanks.

PVS6 System - no total solar across panels value

I'm trying to use HA's energy panel and using this integration (installed yesterday) I don't see a total solar production value which I believe I'm supposed to use:

image

Is this a bug - or be design? I'm going to take a look at making a custom sensor to sum all these sensor.lifetiem_power_x of my panels up perhaps -> or I can look into a PR if this is something to be added...

sensor.kwh_to_home shows zero

Hi,
sensor.kwh_to_home shows 0 for me. Isn't this sensor supposed to report today's energy? On the website, I can see 10.1kWh for today.

Ability to add port number

In my proxy setup, I'm using port 8001 (https) to connect to my PVS6. Any possibility that you could add an option to support an alternate port number?

Thanks!

KWH to Grid not working

It looks like the KWH to Grid is not working right. it constistantly is at 0 and does not update. unless there is something i am doing wrong with it.

Incorrect sensor class for sun power integration

I get the following errors: "Entity sensor.pvs_communication_errors from integration sunpower has state class total_increasing, but its state is not strictly increasing. Triggered by state 426 with last_updated set to 2021-12-29T00:21:17.462449+00:00. Please report it to the custom component author."

I have personally observed that the error count generally goes up, but once in a while (perhaps the PVS6 reboots), it goes down. Hence the class "total_increasing" is inappropriate and should be "total".

Version: HA 2021.12.6, Sunpower 0.0.11

What is the process to make home assistant show daily/hourly enegry stats from this plugin?

Hello,

I installed this plugin and it seems to be working good with my Sunpower PVS6. However, I could not find any documentation on how to configure the Home Assistant Energy dashboard so that it displays me daily/hourly consumption/production data generated by this plugin. Under the Energy dashboard config in Home Assistant, I need to select entities for Grid consumption, Return to grid and Solar production. I only see entities like KWH To Home and KWH To Grid which seems to be showing life-time values. And even then I do not know what to add for Solar production.

I would like to use the "Power" values reported by the two power meters - one ending with p and the other ending with c. Those values are the ones I see on my Sun Power app when I check the live data. Any guidance on how to do this?

New device added for supervisor after losing connection to PVS6

This morning I woke up and the integration wasn't communicating with my PVS6. I rebooted the router the PVS6 connects to and everything showed back up, However now I have a new supervisor device along with the old one. The old one has all the history but shows all entities as unavailable, the new one works fine.

I also notice in device info the new supervisor device does not show the hardware version but the old one does.

I've reloaded the integration multiple times and restarted HA.

The integration is up to date according to HACS

KWH_to_Grid always zero, but Sunpower app reports power flowing to grid

I suspect I've got a configuration issue somewhere in my system, but in any case... when I use the DeviceList API call I see neg_ltea_3phsum_kwh as zero. This is in spite of the fact that my system has generated ~20kWh excess power today, and the Sunpower mobile app reflects that.

Could I create a template sensor in HA which does the math to produce the equivalent of the 'KWH to Grid' sensor? @krbaker in another issue you reported that your system is connected in a way that 'KWH to Grid' is always zero, so how do you handle this?

Integration should not use IP Address as entity id

This is a pretty big no-no from the HA team. The more I've seen people configuring this with various types of gateways/proxies the more it make sense that this should be fixed. Its a breaking change for a lot of people though.

Integration error: Failed to handle empty PVS6 response

I received the below error today. I am interfacing to my PVS6 through a Raspberry Pi3 running a ha-proxy. I think it indicates, an empty response was received. It might be better to handle that rather than having an exception.

Logger: custom_components.sunpower
Source: custom_components/sunpower/sunpower.py:23 
Integration: SunPower (documentation, issues) 
First occurred: 6:57:11 PM (3 occurrences) 
Last logged: 7:01:43 PM

Unexpected error fetching SunPower PVS data: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
    self.data = await self._async_update_data()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 147, in _async_update_data
    return await self.update_method()
  File "/config/custom_components/sunpower/__init__.py", line 76, in async_update_data
    return await hass.async_add_executor_job(sunpower_fetch, sunpower_monitor)
  File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/sunpower/__init__.py", line 34, in sunpower_fetch
    sunpower_data = sunpower_monitor.device_list()
  File "/config/custom_components/sunpower/sunpower.py", line 29, in device_list
    return self.generic_command("DeviceList")
  File "/config/custom_components/sunpower/sunpower.py", line 23, in generic_command
    return requests.get(self.command_url + command, timeout=120).json()
  File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 910, in json
    return complexjson.loads(self.text, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/simplejson/__init__.py", line 525, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python3.9/site-packages/simplejson/decoder.py", line 370, in decode
    obj, end = self.raw_decode(s)
  File "/usr/local/lib/python3.9/site-packages/simplejson/decoder.py", line 400, in raw_decode
    return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Set various entities with 'diagnostic' entity category?

There are quite a few entities which are not measurements that a user wants to monitor normally, they are diagnostic indicators. These include most of the "PVS" entities, but could include others.

I'm happy to send a PR to add entity_category: diagnostic to these entities if that would be welcome. A side effect of this is that these entities would no longer appear in the default dashboard, so users would need to go to Settings -> Devices -> PV Supervisor to see them (or of course they can be explicitly added to a dashboard).

Installed but no UI

I have installed this with HACS. It seems no matter what I try, I cannot get any UI to load. It does not prompt on install nor update How can i get this configured?

Where is the data of home consumption and solar pushing production to home/grid?

Here are my two meters and one inverter:

{
			"ISDETAIL":	true,
			"SERIAL":	"PVS5M702297p",
			"TYPE":	"PVS5-METER-P",
			"STATE":	"working",
			"STATEDESCR":	"Working",
			"MODEL":	"PVS5M0400p",
			"DESCR":	"Power Meter PVS5M702297p",
			"DEVICE_TYPE":	"Power Meter",
			"SWVER":	"17",
			"PORT":	"",
			"DATATIME":	"2023,10,25,19,10,01",
			"ct_scl_fctr":	"50",
			"net_ltea_3phsum_kwh":	"0.03",
			"p_3phsum_kw":	"0",
			"q_3phsum_kvar":	"0.0002",
			"s_3phsum_kva":	"0.0034",
			"tot_pf_rto":	"0",
			"freq_hz":	"60",
			"CAL0":	"50",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,10,25,19,10,06"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"PVS5M702297c",
			"TYPE":	"PVS5-METER-C",
			"STATE":	"working",
			"STATEDESCR":	"Working",
			"MODEL":	"PVS5M0400c",
			"DESCR":	"Power Meter PVS5M702297c",
			"DEVICE_TYPE":	"Power Meter",
			"SWVER":	"17",
			"PORT":	"",
			"DATATIME":	"2023,10,25,19,10,01",
			"ct_scl_fctr":	"100",
			"net_ltea_3phsum_kwh":	"-6766.11",
			"p_3phsum_kw":	"-0.9063",
			"q_3phsum_kvar":	"-0.2761",
			"s_3phsum_kva":	"1.0512",
			"tot_pf_rto":	"-0.8747",
			"freq_hz":	"60",
			"CAL0":	"100",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,10,25,19,10,06"
		}, {
			"ISDETAIL":	true,
			"SERIAL":	"450051912002128",
			"TYPE":	"SOLARBRIDGE",
			"STATE":	"working",
			"STATEDESCR":	"Working",
			"MODEL":	"AC_Module_Type_D",
			"DESCR":	"Inverter 450051912002128",
			"DEVICE_TYPE":	"Inverter",
			"SWVER":	"1078804428",
			"PORT":	"",
			"MOD_SN":	"P23M20781484",
			"NMPLT_SKU":	"",
			"DATATIME":	"2023,10,25,19,08,16",
			"ltea_3phsum_kwh":	"2494.6615",
			"p_3phsum_kw":	"0.0935",
			"vln_3phavg_v":	"246.72",
			"i_3phsum_a":	"0.39",
			"p_mpptsum_kw":	"0.097",
			"v_mppt1_v":	"56.27",
			"i_mppt1_a":	"1.85",
			"t_htsnk_degc":	"36.55",
			"freq_hz":	"60.02",
			"stat_ind":	"0",
			"origin":	"data_logger",
			"OPERATION":	"noop",
			"CURTIME":	"2023,10,25,19,10,06"
		}

My Energy Distribution always shows solar pushing to Grid and Grid to home, which is incorrect.
image

Here are the available sensors for consumption:
image

I'm assuming there is no clamp to monitor production since the meter for production shows zero.

What I did was just add up the lifetime_power for each inverter and added it to a template to provide to the energy dashboard, which works:

template:
  - sensor:
    - name: "solar_production"
      unit_of_measurement: 'kWh'
      state: >
        {{ states("sensor.solar_production_lifetime_power") | float }}     
      device_class: energy
      state_class: total

But I'm not seeing values for "KWH to home" or "HWH to Grid" like the README describes:
image

This is what my energy dashboard config looks like:
image
Consumption = consumption_lifetime_power
solar_production = sum or lifetime_power of all inverters

Some help or guidance would be greatly appreciated. Thank you!

PVS6M Missing?

Integration has been spectacular for me. In the last day I noticed my energy dashboard was missing solar production. Appears that the Sunpower meter has disappeared from the device list?

http://:8080/cgi-bin/dl_cgi?Command=DeviceList
Only seeing my micro inverters and the PVS6.

DETAIL | "detail"
STATE | "working"
STATEDESCR | "Working"
SERIAL | <SERIAL#>
MODEL | "PV Supervisor PVS6"
HWVER | "6.02"
SWVER | "2022.9, Build 60670"
DEVICE_TYPE | "PVS"
DATATIME | "2022,12,03,03,55,00"

Anybody else encounter this behavior? Not sure if Sunpower pushed any software updates?

[Question] Straggling Data Calculation

Didn't really know how to actually title this properly, but I'm wondering if people had issues regarding inaccurate totals that are happening from night time.

I will see about an average of like 7 hours worth of 0.01 kwh of production. Its not as noticable when you take the entire day into account, but as you start the day off its super noticeable.

image

I'll see about 0.07 to 0.09 kwh of solar production from a given night. and doing even generic math it'll throw off the monthly totals by a bit.

The only reason why i started looking into it was the amount reported by my electrical company being received and what sunpower reportedly sends its off by quite a bit. Not sure why for that either. Then i noticed the tiny production in the middle of the night.

Thanks!

-Eddie

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.