today I setup a small project. I need a counter for my gas meter in the basement and I used a IR Sensor to detect this little silver plate on the last number of my meter.
Works like a charme and ESPEasy was setup quickly with a pulse counter.
But then things got strange ... The gas meter stops at the last number 6. That´s where the silver plate is placed for counting.
So the IR sensor stays high in the Output. And then ESPEasy starts counting every second (that´s the debouncing time I set).

I have no explanation for this because the interrupt routine is setup for using FALLING edges.
So has anyone an idea whay it counts as long as the pin is high? To be honest ... I´m a little bit confused ...

My setup is R141 and the IR sensor is on GPIO 13 which is D7. The sensor I am using is this one:
https://www.walmart.com/ip/Indicator-Li ... /148488118
Any ideas ?
Note:
The Problem here is not related to the Pulsecounter nor ESPEasy. It´s more an electronic problem.
The most of the answer is electronic / sensor related ...