Great and thanks for testing it! Arjan noticed the shortness of the 1
sec sleep too, my suggestion would be to increase the sleep period to
~50 seconds and the detection threshold to 60 seconds - that should be
large enough - instead of complicating the tick code even more.
Ingo
-