2020-01-08 09:25 PM
2020-01-08 10:14 PM
That is barely much useful information to work on.
> It was working fine for few months suddenly its reading nothing ...
If you can't find a reason by static code review, try to simulate the "few month" by either tweaking variables or speeding up the regular events.
When you can reproduce it, you can investigate and debug it.