Hello fellow tech enthusiasts, I wanted to share my recent experience with the YF-B10 pulse flow meter and how I managed to resolve a persistent issue. **It was both challenging and rewarding!**A few weeks ago, I noticed that my pulse flow meter was displaying the last flow value even when there was no flow. This was puzzling because the device seemed to be working correctly otherwise. After some research and experimentation, I realized the issue was with the timeout configuration in my ESPHome setup. I tried tweaking the timeout settings, but nothing seemed to work. **Here’s what I did:**1. I revisited my ESPHome configuration and realized that the timeout wasn’t being handled properly. 2. I decided to create a template sensor to monitor the last change time of the flow rate sensor. 3. If the time since the last update exceeded 2 seconds or the flow rate was zero, I set the corrected flow rate to zero. 4. This approach significantly reduced the ghost readings, although there were still occasional flickers. After some more tweaking, I realized that the issue was partly due to the sensor’s internal filtering. By adjusting the internal filter settings and ensuring the timeout was correctly implemented, I managed to eliminate the ghost readings almost entirely. The final setup now includes:- A refined timeout mechanism in the template sensor.- Enhanced internal filtering in the pulse meter configuration.- Regular updates to ensure the sensor state is accurately reflected.My takeaway: Sometimes, the solution lies in a combination of hardware adjustments and software tweaks. It was a great learning experience, and I’m happy to share my findings with the community. If anyone has similar issues, feel free to reach out—I’d be happy to help!Cheers to all the tinkerers out there, keep exploring and innovating! ![]()