SAJ Solar inverter

Hi Frederic,

I’ve added the SAJ integration in HA (using docker compose, raspbian buster, RPI2, HA core-2021.3.4, SAJ inverter ethernet connected).

The integration seems to work well (added it during the night) and it polls the SAJ every few minutes. Today during the first day, however, if noticed the parameters saj_current_power, saj_state, saj_today_time, saj_today_yield giving 0 while the inverter is in operation.
Only after a restart of HA, the readings appear to be correct.

Does it mean I should be restarting HA every night in order to get correct readings from the SAJ, only after sunrise when the SAJ is awake, or is there something else we can do to amend this?

for your information, I’m posting you the xml files equipment

<equipment_data>
<Model>Sununo Plus 3K-M</Model>
<Max_DC_POWER>3500</Max_DC_POWER>
<Max_DC_Volt>600</Max_DC_Volt>
<DC_Current_String>&nbsp&nbspMax.DC Current Input/Per String</DC_Current_String>
<DC_Current_Content>11A/11A</DC_Current_Content>
<DC_Conn_Sets>1/1</DC_Conn_Sets>
<Num_MPPT>2</Num_MPPT>
<Rated_AC_Power>3000</Rated_AC_Power>
<Rated_AC_Current>13.6</Rated_AC_Current>
<Power_Factor>>0.99(full load)</Power_Factor>
<Consum_Night><0.2</Consum_Night>
<Max_Eff>97.4%</Max_Eff>
<Euro_Eff>97.0%</Euro_Eff>
<Grid_comp> C10_11 </Grid_comp>
<MFMW>V1.116</MFMW>
<SFMW>V1.116</SFMW>
<DFMW>V1.272</DFMW>
<SN>13020J2020EN09010</SN>
<Product_Code>SU03KMTL2EN6SD0000</Product_Code>
<eth_ver>V1.036</eth_ver>
</equipment_data>

and realtime data

<real_time_data>
<state>Normal</state>
<Vac_l1>241.1</Vac_l1>
<Vac_l2>-</Vac_l2>
<Vac_l3>-</Vac_l3>
<Iac_l1>9.54</Iac_l1>
<Iac_l2>-</Iac_l2>
<Iac_l3>-</Iac_l3>
<Freq1>49.98</Freq1>
<Freq2>-</Freq2>
<Freq3>-</Freq3>
<pac1>2303</pac1>
<pac2>-</pac2>
<pac3>-</pac3>
<p-ac>2303</p-ac>
<temp>46.8</temp>
<e-today>12.55</e-today>
<t-today>6.8</t-today>
<e-total>586.85</e-total>
<CO2>585.09</CO2>
<t-total>1278.7</t-total>
<v-pv1>240.7</v-pv1>
<v-pv2>180.8</v-pv2>
<v-pv3>-</v-pv3>
<v-bus>378.6</v-bus>
<maxPower>2930</maxPower>
<i-pv11>5.34</i-pv11>
<i-pv12>-</i-pv12>
<i-pv13>-</i-pv13>
<i-pv14>-</i-pv14>
<i-pv21>5.37</i-pv21>
<i-pv22>-</i-pv22>
<i-pv23>-</i-pv23>
<i-pv24>-</i-pv24>
<i-pv31>-</i-pv31>
<i-pv32>-</i-pv32>
<i-pv33>-</i-pv33>
<i-pv34>-</i-pv34>
<script/>
</real_time_data>

Alvast bedankt voor de hulp.

W