martijnvwezel / watermeter-esphome

18 stars 7 forks source link

Improve update statement #38

Closed martijnvwezel closed 3 months ago

martijnvwezel commented 3 months ago

What is updated in this version:

Water Sensor Update Protocol

  1. After restart: Upon restart, a zero value is sent to inform the home assistant that the sensor has been reset.
  2. Calibration: The sensor calibrates during the first 2 liters of water usage.
  3. Sending Updates: After calibration, the sensor sends updates to the home assistant system. It waits until it detects 2 liters of water usage and then pauses for 1 minute before sending the update. This prevents interruptions during activities like showering.

speedmodus disabled