hugokernel / esphome-weather-station

ESPHome version of Elektor weather station v2
MIT License
280 stars 19 forks source link

Rain day is less then rain minute #5

Closed Martinvdm closed 2 years ago

Martinvdm commented 2 years ago

Somehow the rain day sensor is lower then the rain minute sensor. D9439FE8-ACBE-4AB7-954B-B42633E01B0C Any idea ?

hugokernel commented 2 years ago

Hi,

Sorry for the late reply.

The rainfall per min is an integration sensor (https://esphome.io/components/sensor/integration.html) where the total daily rain is an total_daily_energy (https://esphome.io/components/sensor/total_daily_energy.html). If it rains a lot in a short period of time, the value from the integration can increase very quickly.

The important thing is to make sure the accumulation is consistent at the end of the day.

++