JensenNick / huawei_solar_pees

Power, Energy and Economy Sensors in Home Assistant
MIT License
35 stars 5 forks source link

Economy Sensors - Too late startup! #29

Closed JensenNick closed 7 months ago

JensenNick commented 7 months ago

Feb 2024: Some economy sensors are dependent of a very specific input and may therefore not start up until all inputs have a value. This may result in a later initial start up of these sensors, resulting in not 100% conformity of all economy sensors.

Solution: It is therefore recommended to manually set energy sensors that do not show an initial value (within 5 minutes or so) to 0 (zero). The energy sensors are easily identified by the suffix _ps. Reset the energy sensors that has the value unknown / unavailable as described for the sensor sensor.energy_yield_2_ts - in the section Solar PV with a Single Inverter Setup in the README. Use the suffix _ps to do a search in "Filter entities". Wait to restart until you have a numeric value in all sensors. These are the three economy sensors to keep an eye on.

JensenNick commented 7 months ago

Issue fixed in v2.0.0. Each input has been created as template sensor with availability. The problematic sensors have been given a float(0j. Test show no "drop out" (sudden fall to 0) of the problematic sensors.